aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2010-03-14 18:40:26 -0300
committerdrebs <drebs@riseup.net>2010-03-14 18:40:26 -0300
commit480656566b3cf31462450cdfbc4198609dd008a1 (patch)
treefdcae33b27c561759753715bd1617746b750cba3 /templates
parent356a358f940fb9e4da28a4015a5dbaa73ae760e0 (diff)
downloadpuppet-virtual-480656566b3cf31462450cdfbc4198609dd008a1.tar.gz
puppet-virtual-480656566b3cf31462450cdfbc4198609dd008a1.tar.bz2
Adding vserver memory limit. PAGESIZE is hard coded\!
Diffstat (limited to 'templates')
-rw-r--r--templates/rss.hard.erb1
-rw-r--r--templates/rss.soft.erb1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/rss.hard.erb b/templates/rss.hard.erb
new file mode 100644
index 0000000..f806702
--- /dev/null
+++ b/templates/rss.hard.erb
@@ -0,0 +1 @@
+<%= memory_limit * 1_000_000 / 4096 %>
diff --git a/templates/rss.soft.erb b/templates/rss.soft.erb
new file mode 100644
index 0000000..f806702
--- /dev/null
+++ b/templates/rss.soft.erb
@@ -0,0 +1 @@
+<%= memory_limit * 1_000_000 / 4096 %>