Forum: CFEngine Help
Subject: Re: Updates to an SVN repository not being detected automatically but 
OK on manual run
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,24701,24703#msg-24703

If 'cf-agent -KI' works the problem might be in ifelapsed parameter. Try to put 
action => immediate on all promises that depend on svn update.

Two other things:
1. Instead of 

"$(visudo) -c -f $(sudoers) | grep --silent 'OK' && echo +sudoers_ok"

you could use return values to check if file is ok or not.
2. Is it necessary to do remote_cp in "svn_sudoers_checkout", because I 
understood that you just copy the file locally?

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to