aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-29 12:49:51 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-29 12:49:51 -0200
commit6bd83286c170bf3882f0dc264e75eed914b5fcdc (patch)
tree4e323904926cc35cb54a0435bc945d77ffd9e9a9
parentfcfb99e607f7c6774f22cc818f6843bfc9399d60 (diff)
downloadpuppet-nodo-6bd83286c170bf3882f0dc264e75eed914b5fcdc.tar.gz
puppet-nodo-6bd83286c170bf3882f0dc264e75eed914b5fcdc.tar.bz2
Adds nodo::resources
-rw-r--r--manifests/init.pp3
-rw-r--r--manifests/resources.pp6
2 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a6d5883..03276ae 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -29,4 +29,7 @@ class nodo(
if $classes != false {
hiera_include('classes')
}
+
+ # Declare resources
+ class { "nodo::resources": }
}
diff --git a/manifests/resources.pp b/manifests/resources.pp
new file mode 100644
index 0000000..3378094
--- /dev/null
+++ b/manifests/resources.pp
@@ -0,0 +1,6 @@
+class nodo::resources {
+ # Website resources
+ if defined("websites::resources") {
+ class { "websites::resources": }
+ }
+}