puppet restart service failure

Posted by Roman on Server Fault See other posts from Server Fault or by Roman
Published on 2013-11-07T15:40:19Z Indexed on 2013/11/07 15:56 UTC
Read the original article Hit count: 276

Filed under:
|
|

help me please with service restart

# changing iptables`
file { "/etc/sysconfig/iptables":
ensure  => "present",
content => template("all_in_one/iptables.erb"),
owner   => root,
group   => root,
mode    => 600,
}

service { "iptables":
ensure     => running,
enable     => true,
hasstatus => true,
hasrestart => true,
subscribe  => File["/etc/sysconfig/iptables"]
}

output is:

err Failed to call refresh: Could not restart Service[iptables]: Execution of '/sbin/service iptables restart' returned 1

© Server Fault or respective owner

Related posts about iptables

Related posts about puppet