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

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

Issue 29328168: Issue 3016 - Remove Nginx purging resource (Closed)
Patch Set: Created Sept. 18, 2015, 8:42 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 | « 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
diff --git a/modules/nginx/manifests/init.pp b/modules/nginx/manifests/init.pp
index 5e3c97c7862417217b5d45876bcbc97211f70376..1236a5626a032e24fb056fbbb9b3d1d5cb05d51d 100644
--- a/modules/nginx/manifests/init.pp
+++ b/modules/nginx/manifests/init.pp
@@ -13,18 +13,9 @@ class nginx (
ensure => 'absent',
}
- exec {'purge-nginx':
- command => '/usr/bin/apt-get -y purge nginx',
- logoutput => true,
- path => '/usr/sbin:/usr/bin:/sbin:/bin',
- refreshonly => true,
- returns => [0, 100],
- subscribe => Apt::Ppa['ppa:nginx/stable'],
- }
-
package {'nginx':
ensure => '1.8.0-1+precise1',
- require => Exec['purge-nginx'],
+ require => Apt::Ppa['ppa:nginx/stable'],
}
user {'nginx':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld