aboutsummaryrefslogtreecommitdiff
path: root/manifests/web.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-07-12 22:50:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-07-12 22:50:40 -0300
commitd74d9aa2d8c77be131e1c363462cb8211c03caf3 (patch)
tree482ec33eb6e876535aa4b9ea8ea77275347b16b6 /manifests/web.pp
parent4f1a35e7cfc1d3896b35ec31d74f1b56ac92a798 (diff)
downloadpuppet-nodo-d74d9aa2d8c77be131e1c363462cb8211c03caf3.tar.gz
puppet-nodo-d74d9aa2d8c77be131e1c363462cb8211c03caf3.tar.bz2
Setting up stages to avoid missing dependencies
By having some initial staging to setup databases we might avoid catalog errors like 'Could not find a default provider for mysql_database'.
Diffstat (limited to 'manifests/web.pp')
-rw-r--r--manifests/web.pp11
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/web.pp b/manifests/web.pp
index caf031a..8583921 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -1,9 +1,12 @@
class nodo::web inherits nodo::vserver {
# Class for web nodes
- include websites
- include database
- include users::virtual
- include utils::web
+
+ class {
+ 'websites': stage => nodo_ready;
+ 'database': stage => nodo_setup;
+ 'users::virtual': stage => main;
+ 'utils::web': stage => main;
+ }
# Reprepro configuration
$reprepro_basedir = '/var/reprepro'