summaryrefslogtreecommitdiff
path: root/provisioning/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-02-09 15:47:49 +0100
committervarac <varacanero@zeromail.org>2016-02-09 15:47:49 +0100
commit722e3c8439c61beb229affcaf7174fe5cee92088 (patch)
tree6308767f3b253f92cff93b818f1a3b9bcb47d607 /provisioning/manifests
parentecffe8699768b867765d382c41bc96e1067f3013 (diff)
Refactor vagrant provisioning scripts
so we can use the 'debian.pp' manifest to install the requirements for setting up the useragent in a non-vagrant env.
Diffstat (limited to 'provisioning/manifests')
-rw-r--r--provisioning/manifests/debian.pp5
-rw-r--r--provisioning/manifests/source.pp8
2 files changed, 11 insertions, 2 deletions
diff --git a/provisioning/manifests/debian.pp b/provisioning/manifests/debian.pp
new file mode 100644
index 00000000..644714c0
--- /dev/null
+++ b/provisioning/manifests/debian.pp
@@ -0,0 +1,5 @@
+# This class will install the requirements to setup the
+# useragent from source
+class { '::pixelated::apt': } ->
+class { '::pixelated::common': } ->
+class { '::pixelated::source': }
diff --git a/provisioning/manifests/source.pp b/provisioning/manifests/source.pp
index 74859a63..82395ef9 100644
--- a/provisioning/manifests/source.pp
+++ b/provisioning/manifests/source.pp
@@ -1,5 +1,9 @@
+# This class will install the requirements and the useragent
+# from source. It's the default provision script called by
+# 'vagrant up'
+
class { '::pixelated::apt': } ->
class { '::pixelated::common': } ->
-class { '::pixelated::source': }
-#class { '::pixelated::cleanup':}
+class { '::pixelated::source': } ->
+class { '::pixelated::source::install_useragent':}