diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 12:49:51 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 12:49:51 -0200 |
commit | 6bd83286c170bf3882f0dc264e75eed914b5fcdc (patch) | |
tree | 4e323904926cc35cb54a0435bc945d77ffd9e9a9 | |
parent | fcfb99e607f7c6774f22cc818f6843bfc9399d60 (diff) | |
download | puppet-nodo-6bd83286c170bf3882f0dc264e75eed914b5fcdc.tar.gz puppet-nodo-6bd83286c170bf3882f0dc264e75eed914b5fcdc.tar.bz2 |
Adds nodo::resources
-rw-r--r-- | manifests/init.pp | 3 | ||||
-rw-r--r-- | manifests/resources.pp | 6 |
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": } + } +} |