aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 17:31:13 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 17:31:13 -0200
commitcb1991560723d22be67fcce227c7c66a441f7c41 (patch)
tree831946975c4c3fb96d63d62ab5a20df046301310 /manifests
parente0d644221e677dbdf3f4c8630d5e49e02775741f (diff)
downloadpuppet-nodo-cb1991560723d22be67fcce227c7c66a441f7c41.tar.gz
puppet-nodo-cb1991560723d22be67fcce227c7c66a441f7c41.tar.bz2
Using explicit variable scoping (2)
Diffstat (limited to 'manifests')
-rw-r--r--manifests/nodo.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 36b04a5..a05409e 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -99,7 +99,7 @@ class nodo {
# instances can live together in the same physical host.
#
class { 'sshd':
- listen_address => hiera('nodo::sshd_listen_address', [ "$ipaddress", '127.0.0.1' ]),
+ listen_address => hiera('nodo::sshd_listen_address', [ "${::ipaddress}", '127.0.0.1' ]),
password_authentication => hiera('nodo::sshd_password_authentication', 'yes'),
shared_ip => hiera('nodo::sshd_shared_ip', 'yes'),
tcp_forwarding => hiera('nodo::sshd_tcp_forwarding', 'yes'),
@@ -114,7 +114,7 @@ class nodo {
group => "root",
mode => 0644,
ensure => present,
- content => "$fqdn\n",
+ content => "${::fqdn}\n",
}
file { "/etc/rc.local":