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': |