Remove chattr

Now that we create the file at boot time, it's not important that it
be immutable.

Change-Id: I06c60f61f51b791b7006983572b868c6d4459c68
This commit is contained in:
Monty Taylor 2014-04-28 07:50:18 -07:00
parent 57282687e7
commit d40b2691a8
1 changed files with 0 additions and 11 deletions

View File

@ -72,17 +72,6 @@ class unbound (
notify => Exec['make-resolv-conf-immutable'],
}
# Rackspace uses file injection to configure networking which
# overwrites all of the files on disk where we could set the env
# variable to disable the resolv.conf update on network-up.
# Instead, make that file immutable so that the update will fail
# (harmlessly). Of course this means Puppet won't be able to
# update it either after this, but we don't plan on changing it.
exec { 'make-resolv-conf-immutable':
command => '/usr/bin/chattr +i /etc/resolv.conf',
refreshonly => true,
}
service { 'unbound':
ensure => running,
name => 'unbound',