Removed FreeBSD sysrc crap
This commit is contained in:
parent
9285751709
commit
17ca7a5299
20
apache.cf
20
apache.cf
|
@ -202,14 +202,15 @@ methods:
|
|||
"any" usebundle => install_apache_php,
|
||||
depends_on => { "apache_pkgs_installed" };
|
||||
commands:
|
||||
freebsd::
|
||||
"/usr/sbin/sysrc"
|
||||
handle => "apache_editrc",
|
||||
args => "apache24_enable=yes",
|
||||
inform=>"false";
|
||||
debian|centos::
|
||||
"/bin/true" handle => "apache_editrc",
|
||||
inform => "false";
|
||||
# freebsd::
|
||||
# "/usr/sbin/sysrc"
|
||||
# handle => "apache_editrc",
|
||||
# args => "apache24_enable=yes",
|
||||
# inform=>"false";
|
||||
# debian|centos::
|
||||
# any::
|
||||
# "/bin/true" handle => "apache_editrc",
|
||||
# inform => "false";
|
||||
|
||||
files:
|
||||
"$(apache.log_dir)/."
|
||||
|
@ -245,8 +246,9 @@ files:
|
|||
classes => if_repaired(apache_changed);
|
||||
|
||||
services:
|
||||
# apache_editrs depends
|
||||
"$(apache.service_name)"
|
||||
depends_on => {"apache_editrc","apache_vhost_dir_created","apache_www_dir_created","apache_main_cfg_crreated"},
|
||||
depends_on => {"apache_vhost_dir_created","apache_www_dir_created","apache_main_cfg_crreated"},
|
||||
service_policy => "start",
|
||||
handle => "apache_running";
|
||||
|
||||
|
|
Loading…
Reference in New Issue