Skip to content

Commit

Permalink
fix $ensure to actually do what I expect.
Browse files Browse the repository at this point in the history
  • Loading branch information
CyBeRoni committed Mar 4, 2014
1 parent b224323 commit bff4ad6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions manifests/client/install.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
class ssh::client::install (
$ensure = present
) {
class ssh::client::install
if !defined(Package[$ssh::params::client_package_name]) {
package { $ssh::params::client_package_name:
ensure => $ensure,
Expand Down
8 changes: 4 additions & 4 deletions manifests/server/install.pp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class ssh::server::install (
$ensure = present
) {
class ssh::server::install
include ssh::params
if !defined(Package[$ssh::params::server_package_name]) {
package { $ssh::params::server_package_name:
ensure => $ensure,
ensure => $ensure,
blahblah => $ensure,

}
}
}

0 comments on commit bff4ad6

Please sign in to comment.