diff options
Diffstat (limited to 'manifests/vserver/cflags.pp')
-rw-r--r-- | manifests/vserver/cflags.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vserver/cflags.pp b/manifests/vserver/cflags.pp index 462c9e4..92c4040 100644 --- a/manifests/vserver/cflags.pp +++ b/manifests/vserver/cflags.pp @@ -5,9 +5,9 @@ define virtual::vserver::cflags($vserver, $flag, $ensure = present) { } } - line {"vs_cflags-${vserver}-${flag}": + file_line {"vs_cflags-${vserver}-${flag}": ensure => $ensure, - file => "/etc/vservers/${vserver}/cflags", + path => "/etc/vservers/${vserver}/cflags", line => "${flag}", require => Exec["vserver_instance_${vserver}"], notify => Exec["vattribute-${vserver}-${flag}"], |