From be2c1c97db09d8db7ebfdc4b6d8e0341f15bce8e Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 11 Dec 2012 16:41:01 -0500 Subject: neglected to add the 'refreshonly' parameter to the exec in previous commit --- puppet/modules/site_config/manifests/hosts.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'puppet/modules/site_config/manifests/hosts.pp') diff --git a/puppet/modules/site_config/manifests/hosts.pp b/puppet/modules/site_config/manifests/hosts.pp index e3408b27..06cd5c01 100644 --- a/puppet/modules/site_config/manifests/hosts.pp +++ b/puppet/modules/site_config/manifests/hosts.pp @@ -9,9 +9,10 @@ class site_config::hosts() { } exec { "/bin/hostname $hostname": - subscribe => [ File['/etc/hostname'], File['/etc/hosts'] ] + subscribe => [ File['/etc/hostname'], File['/etc/hosts'] ], + refreshonly => true; } - + file { '/etc/hosts': content => template('site_config/hosts'), mode => '0644', owner => root, group => root; -- cgit v1.2.3