summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2012-12-11 16:41:01 -0500
committerMicah Anderson <micah@riseup.net>2012-12-11 16:41:01 -0500
commitbe2c1c97db09d8db7ebfdc4b6d8e0341f15bce8e (patch)
tree54462d8a0f74d37208dec34cf5659e786a38ca69 /puppet/modules
parent8d4e198fc0aa750128230659f6eb68d5a74f0f2a (diff)
neglected to add the 'refreshonly' parameter to the exec in previous commit
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_config/manifests/hosts.pp5
1 files changed, 3 insertions, 2 deletions
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;