From cb1991560723d22be67fcce227c7c66a441f7c41 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Jan 2013 17:31:13 -0200 Subject: Using explicit variable scoping (2) --- manifests/nodo.pp | 4 ++-- 1 file 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": -- cgit v1.2.3