aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r--manifests/vserver.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 6297234..33a5557 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -172,10 +172,11 @@ define vs_create($in_domain, $context, $legacy = false, $distro = 'etch',
content => template("virtual/rss.soft.erb"),
require => File["/etc/vservers/${vs_name}/rlimits"],
}
- file { "/etc/vservers/${vs_name}/flags":
- mode => 0644, owner => root, group => root,
- content => template("virtual/flags.erb"),
- require => Exec["vs_create_${vs_name}"],
+
+ vs_cflags { "${vs_name}-virt_mem":
+ vserver => $vs_name,
+ flag => "virt_mem",
+ ensure => $ensure,
}
}
}