diff options
author | mh <mh@immerda.ch> | 2013-03-17 00:37:04 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-03-17 00:37:04 +0100 |
commit | f4c092d2f027ce2a3492f1f4bad1c691b8d3d6e9 (patch) | |
tree | 65c6f4b59c5b0a9fba2ac157b2d1a60c2ae58585 /manifests/centos.pp | |
parent | 9d4f2b45468f48b4be097d74078d16f0bfcbdc1d (diff) |
linting
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r-- | manifests/centos.pp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp index 930bbdd..69f11ab 100644 --- a/manifests/centos.pp +++ b/manifests/centos.pp @@ -6,7 +6,7 @@ class apache::centos inherits apache::package { name => 'httpd', } Service[apache]{ - name => 'httpd', + name => 'httpd', restart => '/etc/init.d/httpd graceful', } File[vhosts_dir]{ @@ -37,9 +37,11 @@ class apache::centos inherits apache::package { '/var/www/vhosts/[^/]*/non_public(/.*)?', '/var/www/vhosts/[^/]*/g2data(/.*)?', '/var/www/vhosts/[^/]*/upload(/.*)?' ]: - setype => 'httpd_sys_script_rw_t'; + require => Package['apache'], + setype => 'httpd_sys_script_rw_t'; '/var/www/vhosts/[^/]*/logs(/.*)?': - setype => 'httpd_log_t'; + require => Package['apache'], + setype => 'httpd_log_t'; } } file{'apache_service_config': |