CFEngine Help: Re: help with set_variable_values bundle

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: help with set_variable_values bundle Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25058,25060#msg-25060 Perfect. Thanks Diego. I love it when Mark's previous Perl habit bubbles to the surface. __

CFEngine Help: Re: help with set_variable_values bundle

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: help with set_variable_values bundle Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,25058,25059#msg-25059 Hi Neil, I think the problem is the variable you are passing to set_variable_values(). It should be: edit_li

CFEngine Help: help with set_variable_values bundle

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: help with set_variable_values bundle Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25058,25058#msg-25058 The goal is to set parameters in sysctl.conf for Linux hosts. body common control { bundlesequence => { "main"

CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25049,25057#msg-25057 I think this is the interesting part from the agent: cf3> -> Handling file existence constraints on /var/cfengine/inputs

CFEngine Help: Re: IPv6 and Solaris 11

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: IPv6 and Solaris 11 Author: bahamat Link to topic: https://cfengine.com/forum/read.php?3,25030,25056#msg-25056 Mark and I worked this out, but it didn't get into the forum. The detection of getaddrinfo() doesn't work properly on Solaris 11. The fix is to edit sr

CFEngine Help: Re: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: multihomed cf-serverd and ipv6 Author: a+cfeng...@digitalelf.net Link to topic: https://cfengine.com/forum/read.php?3,25044,25055#msg-25055 I tried to reply via the mailing list, but my response didn't end up in this thread. I also had this same issue. IPv6 work

Re: CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-27 Thread Aleksey Tsalolikhin
On Mon, Feb 27, 2012 at 11:02 AM, wrote: > The server does appear to listen on both ipv4 and ipv6 addresses.  However, > the bootstrap of an ipv6 client still fails.  It gets further by beginning to > copy inputs but quickly fails.  Any files that are copied are zero size and > never get past

CFEngine Help: Re: IPv6 and Solaris 11

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: IPv6 and Solaris 11 Author: obris Link to topic: https://cfengine.com/forum/read.php?3,25030,25053#msg-25053 Hi Brian, This thread may help you: https://cfengine.com/forum/read.php?3,25044,25050#msg-25050 Cheers, Obris ___

CFEngine Help: Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25049,25052#msg-25052 Brian Bennett Wrote: --- > I had the same problem. I had to explicitly

CFEngine Help: Re: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25044,25051#msg-25051 ~/src/cfengine-3.2.3 $ grep HAVE_GETADDRINFO src/conf.h #define HAVE_GETADDRINFO 1 ___ Help

CFEngine Help: Re: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: multihomed cf-serverd and ipv6 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,25044,25050#msg-25050 When you configure CFEngine from source code, in src/conf.h there should be a definition #define HAVE_GETADDRINFO 1 if not, ipv6 will not work

CFEngine Help: Re: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25044,25048#msg-25048 netstat -ln |grep 5308 tcp0 0 0.0.0.0:53080.0.0.0:* LISTEN No tcp6 listening. Can you please

Re: CFEngine Help: multihomed cf-serverd and ipv6

2012-02-27 Thread Brian Bennett
I had the same problem. I had to explicitly set this: bindtointerface => "::" Although I haven't done that on a multihomed host yet but I would assume it will bind to all interfaces. My Cfengine server is listening *only* on v6 now. I haven't tried to bind dual stack. -- Brian On Feb 27, 201

CFEngine Help: Re: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: multihomed cf-serverd and ipv6 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,25044,25047#msg-25047 Make sure the system is compiled with ipv6 support i.e. HAVE_GETADDRINFO 1, and not force_ipv4? You should be able to see if the socket is liste

CFEngine Help: Re: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25044,25046#msg-25046 I know this host's dual stack in functioning normally. I have other services working on it. ___

CFEngine Help: Re: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: multihomed cf-serverd and ipv6 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,25044,25045#msg-25045 Nothing special to do, just make sure that ipv6 is not disabled in your kernel or ifconfig. ___ Hel

CFEngine Help: multihomed cf-serverd and ipv6

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: multihomed cf-serverd and ipv6 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25044,25044#msg-25044 I have mutli-homed server, dual stack ipv4 and ipv6. Server control body has no bindtointerface set. I assume that cf-serverd will bind to

CFEngine Help: Re: methods organization in the 'main' bundle

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: methods organization in the 'main' bundle Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25027,25043#msg-25043 I do multiple sub bundles. I start by grouping promises into functional groups (user management, filesystem permissions, applicatio

CFEngine Help: Re: promise suse repositories

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: promise suse repositories Author: tuibelgium Link to topic: https://cfengine.com/forum/read.php?3,25039,25042#msg-25042 It seems like I overlooked this. It also works on SLES. Dropping repo files is indeed a lot easier. Thanks for your help! ___

CFEngine Help: Re: promise suse repositories

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: promise suse repositories Author: mikesphar Link to topic: https://cfengine.com/forum/read.php?3,25039,25041#msg-25041 tuibelgium Wrote: --- > When making promises about packages, I want to > make sure that the r

CFEngine Help: Expansion overflow constructing string. Increase CF_EXPANDSIZE macro.

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Expansion overflow constructing string. Increase CF_EXPANDSIZE macro. Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25040,25040#msg-25040 Saw this one today. "Expansion overflow constructing string. Increase CF_EXPANDSIZE macro.". What doe

CFEngine Help: promise suse repositories

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: promise suse repositories Author: tuibelgium Link to topic: https://cfengine.com/forum/read.php?3,25039,25039#msg-25039 When making promises about packages, I want to make sure that the repositories where the packages can be downloaded are known by the system. So i w

Re: Running Nagios Plugins from Cfengine 3

2012-02-27 Thread Robert Carleton
Here is a code scrap that copies the module out and sets the nagios_plugin_wrapper_installed class, if the module is in place. It is assumed that $(g.local_cf_modules) and @(g.distribution_servers) have been defined in the configuration, and that you are using the Cfengine Community Open Promis

CFEngine Help: Re: can't find the defined variable

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: Re: can't find the defined variable Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,25022,25037#msg-25037 u_policyhub is scoped locally to the current bundle only. Unless you pass it and fully qualify it the bundles called by the the method

CFEngine Help: odd vars definition

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: odd vars definition Author: roadtest Link to topic: https://cfengine.com/forum/read.php?3,25029,25029#msg-25029 Hi, I defined a method on a client, which can be activated by remote cf-runagent on cfengine server as "cf-runagent -DBinUpdate -H ". Then it will kill a

CFEngine Help: can't find the defined variable

2012-02-27 Thread no-reply
Forum: CFEngine Help Subject: can't find the defined variable Author: roadtest Link to topic: https://cfengine.com/forum/read.php?3,25022,25022#msg-25022 Hello, I am trying to define CFEngine policy so that I can issue cf-runagent from policy server to activate UpdateClass on remote clients. Ins