Hi, David Lutterkort wrote: > If you have Augeas 0.4.1 on both the puppet client and master (count was > only added in 0.4.1) this should work. Bryan, any ideas what could be > wrong ?
I have upgraded both my test client and master to 0.4.1 and I have worked out the problem. Switching to this onlyif line works: onlyif => "match *[module='pam_cracklib.so'][count(argument)>6] size > 0" However, note that the > appears to imply >=, i.e. if I use count(argument)>5 then it will fire when there are 5 arguments. If I use >6, it will not fire on 5 arguments, but will fire on 6. Hope that makes sense. cYa, Avi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---