From 6bd83286c170bf3882f0dc264e75eed914b5fcdc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 Oct 2015 12:49:51 -0200 Subject: Adds nodo::resources --- manifests/init.pp | 3 +++ manifests/resources.pp | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 manifests/resources.pp (limited to 'manifests') 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": } + } +} -- cgit v1.2.3