saltstack-formulas / sysstat-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
5 stars 19 forks source link

Issue with disabled crons #5

Closed TaiSHiNet closed 9 years ago

TaiSHiNet commented 9 years ago

If crons are disabled, service sysstat status will return 3. Which will always return as 'modified' when running the state

iamseth commented 9 years ago

do you mean this on RedHat/CentOS?

root@vagrant2 ~ # /etc/init.d/sysstat status
root@vagrant2 ~ # echo $?
3

if so, check out pull #8 which fixes this.

TaiSHiNet commented 9 years ago

It would seem so, thanks for your input!