saltstack/salt — Issue #579: Can't determine running state of iptables service 
Author: mattvryan
Created: 2012-01-26 18:22:51+00:00
State: open

Salt's technique for determining if a service is running doesn't work for the iptables service, at least not on CentOS 5.4.

As I understand it, salt will try to determine the running state of a service by invoking 'ps -efH' and then looking for the service in the resulting list by name. But iptables doesn't show up as a running process even if the service is running, so to speak. As a result, trying to use the iptables service in a state file doesn't work like other services do.