Renaming $sshd_internal_ip to $sshd_shared_ip
This commit is contained in:
parent
1e932ca927
commit
1a26489a12
3 changed files with 5 additions and 5 deletions
|
@ -19,9 +19,9 @@ class sshd::base {
|
||||||
key => $sshrsakey,
|
key => $sshrsakey,
|
||||||
ensure => present,
|
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
|
# we don't define a sshkey resource using an IP address
|
||||||
if $sshd_internal_ip == "no" {
|
if $sshd_shared_ip == "no" {
|
||||||
@@sshkey{"$ipaddress":
|
@@sshkey{"$ipaddress":
|
||||||
tag => "ipaddress",
|
tag => "ipaddress",
|
||||||
type => ssh-rsa,
|
type => ssh-rsa,
|
||||||
|
|
|
@ -5,7 +5,7 @@ class sshd::client::base {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Now collect all server keys
|
# Now collect all server keys
|
||||||
case $sshd_internal_ip {
|
case $sshd_shared_ip {
|
||||||
no: { Sshkey <<||>> }
|
no: { Sshkey <<||>> }
|
||||||
yes: { Sshkey <<| tag == "fqdn" |>> }
|
yes: { Sshkey <<| tag == "fqdn" |>> }
|
||||||
}
|
}
|
||||||
|
|
|
@ -214,8 +214,8 @@ class sshd {
|
||||||
case $sshd_print_motd {
|
case $sshd_print_motd {
|
||||||
'': { $sshd_print_motd = "yes" }
|
'': { $sshd_print_motd = "yes" }
|
||||||
}
|
}
|
||||||
case $sshd_internal_ip {
|
case $sshd_shared_ip {
|
||||||
'': { $sshd_internal_ip = "no" }
|
'': { $sshd_shared_ip = "no" }
|
||||||
}
|
}
|
||||||
|
|
||||||
include sshd::client
|
include sshd::client
|
||||||
|
|
Loading…
Reference in a new issue