aboutsummaryrefslogtreecommitdiff
path: root/manifests/web.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-05-09 13:31:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-05-09 13:31:24 -0300
commit4292ef561feabb22e059dce51fd886bebb04510f (patch)
tree2ff769de563b45cfe6ed20502a51755fd985da5c /manifests/web.pp
parentb656d23e1a76c86211c6ff7b0157bf9f7e213343 (diff)
downloadpuppet-nodo-4292ef561feabb22e059dce51fd886bebb04510f.tar.gz
puppet-nodo-4292ef561feabb22e059dce51fd886bebb04510f.tar.bz2
Adding $git_daemon variable
Diffstat (limited to 'manifests/web.pp')
-rw-r--r--manifests/web.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/web.pp b/manifests/web.pp
index 3f41e79..caf031a 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -1,6 +1,5 @@
class nodo::web inherits nodo::vserver {
# Class for web nodes
- include git-daemon
include websites
include database
include users::virtual
@@ -18,6 +17,10 @@ class nodo::web inherits nodo::vserver {
}
}
+ if $git_daemon != false {
+ include git-daemon
+ }
+
backupninja::svn { "svn":
src => "/var/svn",
}