Morning,
I have a very odd issue with CFEngine 2.1.22.
I have two groups in cf.groups as below
# devservers that need default sudoers
group_default_sudoers = ( dev4_company_local
dev5_company_local
dev6_company_local
dev7_company_local
dev8_company_local )
# devservers that need db modified sudoers
group_dbmod_sudoers = ( dev16_company_local )
And this is the nessessary lines from cf.main
actionsequence = ( copy packages editfiles processes shellcommands tidy )
copy::
group_default_sudoers::
${include_dir}/default_sudoers
dest=/etc/sudoers
owner=root
group=root
mode=440
type=checksum
backup=false
group_dbmod_sudoers::
${include_dir}/dbmod_sudoers
dest=/etc/sudoers
owner=root
group=root
mode=440
type=checksum
backup=false
Now, the problem is, dev4,5,6 and 7 gets the new file instantly when I run cfagent on the clients, but dev8 and dev16 does not.
And I've been able to narrow down the problem to the "Defined Classes" with this command
cfagent -pv|grep Classes
And on all servers but dev8 and dev16 does the groups/classes show up (group_default_sudoers and group_dbmod_sudoers).
Anyone have any thoughts about this? I can't figure out how to get the classes defined and the configuration is identical.
Any hints or tips would be greatly appriciated, thanks.
Regards