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

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

Issue 29488603: #2007 - Use ensure_resources() to define $nginx::modules (Closed)
Patch Set: Created July 13, 2017, 11 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/nginx/manifests/init.pp
===================================================================
--- a/modules/nginx/manifests/init.pp
+++ b/modules/nginx/manifests/init.pp
@@ -78,7 +78,9 @@
}
$modules = hiera_hash('nginx::modules', {})
- create_resources('nginx::module', $modules)
+ ensure_resources('nginx::module', $modules, {
+ ensure => 'present',
+ })
file {'/etc/nginx/sites-available':
ensure => directory,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld