Provide a default value for $sshd_shared_ip in sshd::client
Since it's possible to "include sshd::client" without using "include sshd" (e.g. installing/managing ssh client but not the server) provide a default value for $sshd_shared_ip also in the sshd::client class. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
This commit is contained in:
parent
6615426a49
commit
69c8085470
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
|||
# manifests/client.pp
|
||||
|
||||
class sshd::client {
|
||||
|
||||
case $sshd_shared_ip {
|
||||
'': { $sshd_shared_ip = "no" }
|
||||
}
|
||||
|
||||
case $operatingsystem {
|
||||
debian,ubuntu: { include sshd::client::debian }
|
||||
default: {
|
||||
|
@ -10,7 +15,9 @@ class sshd::client {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if $use_shorewall{
|
||||
include shorewall::rules::out::ssh
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue