aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp4
-rw-r--r--manifests/web.pp11
2 files changed, 11 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index fc71290..1be18ba 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -2,6 +2,10 @@
# Nodo module.
#
+# Stage definitions
+stage { 'nodo_setup': before => Stage['main'] }
+stage { 'nodo_ready': require => Stage['main'] }
+
# Import required modules
import "common"
import "sshd"
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'