Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed Mar 3, 2014
2 parents 90f991b + b224323 commit 40bdca2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions manifests/client.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class ssh::client(
$ensure = present,
$options = {}
) inherits ssh::params {
$merged_options = merge($ssh::params::ssh_default_options, $options)
Expand Down
6 changes: 4 additions & 2 deletions manifests/client/install.pp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
class ssh::client::install inherits ssh::params {
class ssh::client::install (
$ensure = present
) inherits ssh::params {
if $ssh::params::client_package_name {
if !defined(Package[$ssh::params::client_package_name]) {
package { $ssh::params::client_package_name:
ensure => present,
ensure => $ensure,
}
}
}
Expand Down
1 change: 1 addition & 0 deletions manifests/server.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class ssh::server(
$ensure = present,
$options = {}
) inherits ssh::params {
$merged_options = merge($ssh::params::sshd_default_options, $options)
Expand Down
6 changes: 4 additions & 2 deletions manifests/server/install.pp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
class ssh::server::install inherits ssh::params {
class ssh::server::install (
$ensure = present
) inherits ssh::params {
if $ssh::params::server_package_name {
if !defined(Package[$ssh::params::server_package_name]) {
package { $ssh::params::server_package_name:
ensure => present,
ensure => $ensure,
}
}
}
Expand Down

0 comments on commit 40bdca2

Please sign in to comment.