diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 18:20:43 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 18:20:43 -0200 |
commit | eb316b961095f138893ee2774f20bf0ff7f46faa (patch) | |
tree | ea9f10514a36e8e854264422a8c339b0949e7f82 | |
parent | 328ffbd2ce6ec5f3d07a3c66153ec9a58e37f9bb (diff) | |
download | puppet-nodo-eb316b961095f138893ee2774f20bf0ff7f46faa.tar.gz puppet-nodo-eb316b961095f138893ee2774f20bf0ff7f46faa.tar.bz2 |
Resources: files and file lines
-rw-r--r-- | manifests/resources.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp index 9a765db..f999d82 100644 --- a/manifests/resources.pp +++ b/manifests/resources.pp @@ -7,4 +7,12 @@ class nodo::resources { # Packages $packages = hiera('packages', {}) create_resources('package', $packages) + + # Files + $files = hiera('files', {}) + create_resources('file', $files) + + # File lines + $file_lines = hiera('file_lines', {}) + create_resources('file_line', $file_lines) } |