problem with variable in bundle agent

2012-09-20 Thread Bas van der Vlies
Cfengine community: 3.3.2 OS: debian wheezy I have the following bundle: bundle agent sara_template_process(final_destination, owner, mode) { vars: any:: "template_dir" string => "/data/cfengine3/templates"; "filename" string => lastnode("$(final_destination

Re: problem with variable in bundle agent

2012-09-20 Thread Bas van der Vlies
On 09/20/2012 11:31 AM, Bas van der Vlies wrote: > Cfengine community: 3.3.2 > OS: debian wheezy > > I have the following bundle: > > bundle agent sara_template_process(final_destination, owner, mode) > { > vars: > > any:: > "template_dir" string => "/data/cfengine3/tem

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,27200,27446#msg-27446 Are all of these files installed, including /usr/local/lib/hpux32/libqdbm.a? wilma:/home/root/

CFEngine Help: Re: problem with variable in bundle agent

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: problem with variable in bundle agent Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27443,27452#msg-27452 What does this body do? 'sara_hash_no_perms_cp' ___ Help-cfengine mailing list Help-cf

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: cfengine2o12 Link to topic: https://cfengine.com/forum/read.php?3,27200,27454#msg-27454 # swlist -l file qdbm # Initializing... # Contacting target "cfhost"... # # Target: cfh

Re: CFEngine Help: Re: problem with variable in bundle agent

2012-09-20 Thread Bas van der Vlies
On 09/20/2012 03:55 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: problem with variable in bundle agent > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,27443,27452#msg-27452 > > What does this body do? 'sara_hash_no_perms_cp' > I did not incl

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27455#msg-27455 Hi Neil, I think you're right that this is a matter of logic for us. We're hoping you can help. We hold CF

Re: CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread Bas van der Vlies
On 09/20/2012 04:44 PM, no-re...@cfengine.com wrote: > We have now: > > exec_command => > "$(sys.workdir)/bin/cf-agent; $(sys.workdir)/bin/cf-agent -f > /var/cfengine/inputs/failsafe.cf"; > > So I'd propose switching to: > > exec_command => > "$(sys.workdir)/bin/cf-agent -f /var/

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27428,27457#msg-27457 Running failsafe first is the standard method: http://cfengine.com/manuals/cf3-Reference#exec_005fcomman

CFEngine Help: Re: problem with variable in bundle agent

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: problem with variable in bundle agent Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27443,27459#msg-27459 Have you tried this with a newer version? Can you make a self contained example for testing? Does template_copied_resolv_autofs e

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,27200,27461#msg-27461 Packages from the Porting and Archive Centre are 32 bit. Where did you get pcre?

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27463#msg-27463 Neil, So this *is* a feature thing - a functional difference between CFEngine 2 and 3. That's helpful to kn

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,27428,27464#msg-27464 Jessica, The default executor line in CFEngine Community is this: https://github.com/cfengine/core/blob/ma

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,27428,27465#msg-27465 But in community cf-twin evaluates to cf-agent correct? cf-twin is only for enterprise I thought.

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,27428,27466#msg-27466 wilma:/home/root/inputs# cf-agent -KIf ./print_vars.cf . . . R: sys.cf_key = "/var/cfengine/bin/cf-k

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27467#msg-27467 Thanks to everyone for their helpful responses. It would be excellent if future releases of CFEngine 3 allowe

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27428,27468#msg-27468 Be aware that all examples and policies produced by Cfengine include the failsafe usage as we've describ

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27469#msg-27469 Be aware that all examples and policies produced by Cfengine include the failsafe usage as we've described.

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27428,27470#msg-27470 jgreer Wrote: --- > policy from $(sys.workdir) into m

CFEngine Help: Re: avoiding double-runs to converge when using template operations

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: avoiding double-runs to converge when using template operations Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,27428,27471#msg-27471 /var/cfengine/masterfiles on our server is a working copy of a single subversion repository (with externals t

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: cfengine2o12 Link to topic: https://cfengine.com/forum/read.php?3,27200,27472#msg-27472 Here you go.. http://hpux.connect.org.uk/hppd/hpux/Languages/pcre-8.31/ __

CFEngine Help: Re: String in list from module truncated to 256 characters

2012-09-20 Thread no-reply
Forum: CFEngine Help Subject: Re: String in list from module truncated to 256 characters Author: btomasini Link to topic: https://cfengine.com/forum/read.php?3,27413,27473#msg-27473 Bug created: https://cfengine.com/dev/issues/1203 ___ Help-cfengine ma