aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver/cflags.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-12 14:27:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-12 14:27:10 -0300
commit61e2ea8022db09965fd3e13304b3ad6e980278de (patch)
tree46ef92f5d19fb4fabf92db6b6c147fd557c6b8f3 /manifests/vserver/cflags.pp
parent62f4491bd2cc48e308384333d5fb36ca745f1686 (diff)
downloadpuppet-virtual-61e2ea8022db09965fd3e13304b3ad6e980278de.tar.gz
puppet-virtual-61e2ea8022db09965fd3e13304b3ad6e980278de.tar.bz2
Qualify grep and switch to file_line
Diffstat (limited to 'manifests/vserver/cflags.pp')
-rw-r--r--manifests/vserver/cflags.pp4
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}"],