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

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

Issue 29328514: Issue 3103 - Introduce type logrotate::config (Closed)
Patch Set: Created Sept. 23, 2015, 6:47 a.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
Index: modules/logrotate/manifests/init.pp
diff --git a/modules/logrotate/manifests/init.pp b/modules/logrotate/manifests/init.pp
index ceeae8a16819d5a849f52dff9d77d4020496b259..a65fd6e97da346bc92eec00f22b0ddde0366b21e 100644
--- a/modules/logrotate/manifests/init.pp
+++ b/modules/logrotate/manifests/init.pp
@@ -14,4 +14,7 @@ class logrotate {
hour => '0',
minute => '0'
}
+
+ $config = hiera('logrotate::config', {})
+ create_resources('logrotate::config', $config)
}
« modules/logrotate/manifests/config.pp ('K') | « modules/logrotate/manifests/config.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld