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

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

Issue 29327575: Issue 3062 - Explicitly ensure user "nginx" is present (Closed)
Patch Set: Issue 3062 - Now without accidental inclusion of trac.ini.erb Created Sept. 12, 2015, 1:13 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
« no previous file with comments | « modules/filterserver/manifests/init.pp ('k') | modules/notificationserver/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nginx/manifests/init.pp
diff --git a/modules/nginx/manifests/init.pp b/modules/nginx/manifests/init.pp
index ef961c1c82b2f92d905e7370b875958c0d30bb61..45fe3d23b54060aa5d5178a45fee4db316aba2ac 100644
--- a/modules/nginx/manifests/init.pp
+++ b/modules/nginx/manifests/init.pp
@@ -27,6 +27,11 @@ class nginx (
require => Exec['purge-nginx'],
}
+ user {'nginx':
+ ensure => 'present',
+ require => Package['nginx'],
+ }
+
File {
owner => root,
group => root,
« no previous file with comments | « modules/filterserver/manifests/init.pp ('k') | modules/notificationserver/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld