diff --git a/cloud-init-templates/cloud_config_centos.jinja2 b/cloud-init-templates/cloud_config_centos.jinja2 index f94325b5..43d310b0 100644 --- a/cloud-init-templates/cloud_config_centos.jinja2 +++ b/cloud-init-templates/cloud_config_centos.jinja2 @@ -38,6 +38,8 @@ runcmd: {% if mcollective.enable != 1 %} - service mcollective stop - chkconfig mcollective off +{% else %} + - chkconfig mcollective on {% endif %} - iptables -t filter -F INPUT - iptables -t filter -F FORWARD