Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/sitescripts/manifests/init.pp

Issue 29323727: Issue 2910 - Setup sitescripts::configfragment with Hiera (Closed)
Patch Set: Created Aug. 15, 2015, 6:47 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/sitescripts/manifests/init.pp
diff --git a/modules/sitescripts/manifests/init.pp b/modules/sitescripts/manifests/init.pp
index 2c8acd668f6b4cf78f4c172de30d56eeb0d32a26..3c7aed31737e1dd1fb118ffde45bbcc7c7d6f713 100644
--- a/modules/sitescripts/manifests/init.pp
+++ b/modules/sitescripts/manifests/init.pp
@@ -26,6 +26,9 @@ class sitescripts (
source => $sitescriptsini_source,
}
+ $configfragments = hiera('sitescripts::configfragments', {})
+ create_resources('sitescripts::configfragment', $configfragments)
+
exec { "fetch_sitescripts":
command => "hg clone https://hg.adblockplus.org/sitescripts /opt/sitescripts",
path => ["/usr/bin/", "/bin/"],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld