saltstack/salt — Issue #863: xinetd enabled service always shows verbose result
Author: mrballcb
Created: 2012-03-08 20:22:08+00:00
State: open

This is on a CentOS 6.0 x86_64 machine.

I have several services that I enable in my state files. For a normal service, if it's not set to start at boot, when I run salt, the yaml generates the following correct output:

ntpd:
service:
- running
- enable: true
require:
- pkg: ntp

OUTPUT:
State: - service
Name: ntpd
Function: running
Result: True
Comment: Service ntpd has been enabled, and is in the desired state
Changes: ntpd: True

Subsequent salt runs no longer show verbose results for this service as it's already enabled.

However, for any service that is provided by xinetd, it always shows the verbose results output, whether it's already enabled or not:

rsh:
service:
- running
- enable: true
- sig: xinetd
require:
- pkg: rsh-server

OUTPUT:
State: - service
Name: rsh
Function: running
Result: True
Comment: Service rsh has been enabled, and is in the desired state
Changes: rsh: True

Is this expected behavior?