Renaming $sshd_internal_ip to $sshd_shared_ip

This commit is contained in:
Silvio Rhatto 2010-01-30 21:32:12 -02:00
parent 1e932ca927
commit 1a26489a12
3 changed files with 5 additions and 5 deletions

View file

@ -19,9 +19,9 @@ class sshd::base {
key => $sshrsakey,
ensure => present,
}
# In case the node has an internal network address,
# In case the node has uses a shared network address,
# we don't define a sshkey resource using an IP address
if $sshd_internal_ip == "no" {
if $sshd_shared_ip == "no" {
@@sshkey{"$ipaddress":
tag => "ipaddress",
type => ssh-rsa,

View file

@ -5,7 +5,7 @@ class sshd::client::base {
}
# Now collect all server keys
case $sshd_internal_ip {
case $sshd_shared_ip {
no: { Sshkey <<||>> }
yes: { Sshkey <<| tag == "fqdn" |>> }
}

View file

@ -214,8 +214,8 @@ class sshd {
case $sshd_print_motd {
'': { $sshd_print_motd = "yes" }
}
case $sshd_internal_ip {
'': { $sshd_internal_ip = "no" }
case $sshd_shared_ip {
'': { $sshd_shared_ip = "no" }
}
include sshd::client