diff options
author | drebs <drebs@riseup.net> | 2010-02-17 16:10:18 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2010-02-17 16:10:18 -0200 |
commit | 7c40c6aa71a8f11f0ea3f90689bbdc9f2d058c7f (patch) | |
tree | 289b4bc5f622f59cc348a8ec11da09edbb3601f7 | |
parent | f28e75161e074c2ebddd874618b72309a8d9e656 (diff) | |
download | puppet-nginx-7c40c6aa71a8f11f0ea3f90689bbdc9f2d058c7f.tar.gz puppet-nginx-7c40c6aa71a8f11f0ea3f90689bbdc9f2d058c7f.tar.bz2 |
Referring to service on superclass.
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 582f795..1f08ad0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -94,10 +94,7 @@ class nginx inherits nginx::base { require => File["/etc/ssl/private"], } - service { "nginx": - enable => true, - ensure => running, - hasrestart => true, + Service["nginx"] { require => [ File["/etc/nginx/sites-enabled/$domain"], Package["nginx"], File["/etc/ssl/private/cert.pem"], |