CFEngine Help: services + args features in CFE 3.3

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: services + args features in CFE 3.3 Author: pigusek Link to topic: https://cfengine.com/forum/read.php?3,25920,25920#msg-25920 Hi! I've tried to search for topics about new feature in 3.3 with services in unix, but I failed. The only info I've found was in the latest

Re: again, cf-runagent

2012-05-14 Thread Neil Watson
On Sun, May 13, 2012 at 09:18:02PM -0700, Brian Bennett wrote: >For the life of me, I can't get `cf-runagent` to work. I realize that >it's somewhat deprecated, but as long as it's supported I want to grok >it. I'm using community edition 3.3.1. > >"$(sys.cf_agent)" > handle => "g

CFEngine Help: Re: again, cf-runagent

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: Re: again, cf-runagent Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,25915,25922#msg-25922 I wonder whether you're hitting exactly the same head-banging bug that I hit a few weeks ago? (Mine was with 3.1.4, but it wouldn't surprise me if it i

cf-server intermittently denies connections

2012-05-14 Thread Neil Watson
I'm seeing messages like this crop up intermittently. This is with Community 3.2.4. It looks similar to this closed bug: https://cfengine.com/bugtracker/view.php?id=498 Has anyone else seen this recently? cf3> Not allowing connection from non-authorized IP 192.168.9.193 cf3> -> Accepting a con

Re: cf-server intermittently denies connections

2012-05-14 Thread Neil Watson
Interesting discovery on this. Part of my access rules are based on the class am_policy_hub. Watching cf-server verbose output I can see that the server switches access rules indicating that the class am_policy_hub is no longer set. There have been no changes in inputs files so this change is int

CFEngine Help: Re: CFEngine Help: Re: Rsync like replication

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Rsync like replication Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25914,25926#msg-25926 jonesy1234 Wrote: --- > I don't want to join the two as this would mean my > heap

CFEngine Help: Re: bundles with the same name

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: Re: bundles with the same name Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,25854,25927#msg-25927 I thought I got some kind of error when I was using something like an agent and executor bundle, both with the same name (I wanted to use the bundl

CFEngine Help: Re: again, cf-runagent

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: Re: again, cf-runagent Author: bahamat Link to topic: https://cfengine.com/forum/read.php?3,25915,25929#msg-25929 So I checked the previous debug output and see this: cf3> Path: /cfengine/inputs (encrypt=0) cf3>Admit: :::::/64 root= c

Re: CFEngine Help: Re: again, cf-runagent

2012-05-14 Thread Neil Watson
I had some IPV issues with CF. Your's might be related. https://cfengine.com/bugtracker/view.php?id=988 -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/

CFEngine Help: file content to a class

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: file content to a class Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,25931,25931#msg-25931 Hi I have a file with a string. what will be the best method to converts to a class? I saw that I van read to a variable and use ifvarclass. Is that th

CFEngine Help: Re: file content to a class

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: Re: file content to a class Author: bahamat Link to topic: https://cfengine.com/forum/read.php?3,25931,25932#msg-25932 Use the readfile() function. Here's an exampe: bundle agent example { vars: "classfromfile" string => readfile("/etc/file_with_a_class_in_it",

how is am_policy_hub class set?

2012-05-14 Thread Neil Watson
I'm trying to determine how am_policy_hub is determined. Consider this sample: body common control { bundlesequence => { "g", }; } bundle common g { vars: am_policy_hub:: "path" string => "/i/am/policy/hub"; !am_policy

CFEngine Help: hostinnetgroup() function inconsistent results (NIS/YP integration).

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: hostinnetgroup() function inconsistent results (NIS/YP integration). Author: davinken Link to topic: https://cfengine.com/forum/read.php?3,25934,25934#msg-25934 I have two NIS/YP network groups in a CentOS 5.7/Fedora 16 network - CFE 3.3.1 Community. They work quite

CFEngine Help: Re: CFEngine Help: Re: Rsync like replication

2012-05-14 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Rsync like replication Author: jonesy1234 Link to topic: https://cfengine.com/forum/read.php?3,25914,25935#msg-25935 Thanks, works a treat. I would still expect cfengine to honour the purge option if excluded files in the file_select exist on