Disable logging for specific promises

2010-03-28 Thread Robert Markula
Hi, for a few promises that do recurring routine tasks, one may want to disabling logging (so no mail should be sent out when the promise is repaired). The closest thing I could find was 'action_policy', but that doesn't affect logging. Where is the right switch? Cheers, Robert __

Re: Use case question (moving directories and symlinking the old location)

2009-12-24 Thread Robert Markula
Hi Brendan, Brendan Strejcek wrote: > I think you want this: > > http://www.cfengine.org/manuals/cf3-reference.html#move_005fobstructions-in-files thanks for trying to help me, but unfortunately the error message persists. Hmm... another idea? Here's the latest version (not working): classes:

Re: Use case question (moving directories and symlinking the old location)

2009-12-21 Thread Robert Markula
Hi again, Brendan Strejcek wrote: > Set classes based on what kind of file /srv/www is. > > http://www.cfengine.org/manuals/cf3-reference.html#Function-islink > http://www.cfengine.org/manuals/cf3-reference.html#Function-isplain > http://www.cfengine.org/manuals/cf3-reference.html#Function-isdir

Re: Use case question (moving directories and symlinking the old location)

2009-12-21 Thread Robert Markula
Hi Brendan, Brendan Strejcek wrote: > Set classes based on what kind of file /srv/www is. > > http://www.cfengine.org/manuals/cf3-reference.html#Function-islink > http://www.cfengine.org/manuals/cf3-reference.html#Function-isplain > http://www.cfengine.org/manuals/cf3-reference.html#Function-isdi

Re: How to get local ip address

2009-12-16 Thread Robert Markula
Hi unknown sender, help-cfengine-requ...@cfengine.org wrote: > HI, everyone, is there a way to get local ip address in cfengine3? You can get the local IP in form of a cfengine class, if you mean that. Try running cf-promises -v on the client and you can see the local IP-Address in the form 192

Re: Non-interactive apt-get package installation

2009-12-08 Thread Robert Markula
Hi Tim, Tim Cutts wrote: > Isn't in the first one that's wrong, not the second? If the quotes have > made it through to the command line (because it wasn't executed with a > shell) then the value of DPkg::Options will include the quotes, which > isn't correct. I suspect this is a case of whether

Non-interactive apt-get package installation

2009-12-07 Thread Robert Markula
Hi! For installing software packages I'm using this body: http://paste.debian.net/53424/> body package_method apt { package_changes => "bulk"; package_list_command => "/usr/bin/dpkg -l"; package_list_name_regex=> "ii\s+([^\s]+).*"; package_list_version_regex =>