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,
|
"any" usebundle => install_apache_php,
|
||||||
depends_on => { "apache_pkgs_installed" };
|
depends_on => { "apache_pkgs_installed" };
|
||||||
commands:
|
commands:
|
||||||
freebsd::
|
# freebsd::
|
||||||
"/usr/sbin/sysrc"
|
# "/usr/sbin/sysrc"
|
||||||
handle => "apache_editrc",
|
# handle => "apache_editrc",
|
||||||
args => "apache24_enable=yes",
|
# args => "apache24_enable=yes",
|
||||||
inform=>"false";
|
# inform=>"false";
|
||||||
debian|centos::
|
# debian|centos::
|
||||||
"/bin/true" handle => "apache_editrc",
|
# any::
|
||||||
inform => "false";
|
# "/bin/true" handle => "apache_editrc",
|
||||||
|
# inform => "false";
|
||||||
|
|
||||||
files:
|
files:
|
||||||
"$(apache.log_dir)/."
|
"$(apache.log_dir)/."
|
||||||
|
@ -245,8 +246,9 @@ files:
|
||||||
classes => if_repaired(apache_changed);
|
classes => if_repaired(apache_changed);
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
# apache_editrs depends
|
||||||
"$(apache.service_name)"
|
"$(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",
|
service_policy => "start",
|
||||||
handle => "apache_running";
|
handle => "apache_running";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue