CFEngine Help: Re: System error for getservbyname: "Error 0"

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: System error for getservbyname: "Error 0" Author: manikk Link to topic: https://cfengine.com/forum/read.php?3,24398,24420#msg-24420 Thanks Beto! for youe quick help. ___ Help-cfengine mailing list Help-cfengine@cfengine

CFEngine Help: Re: Using Variables in insert lines

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24417,24418#msg-24418 You almost got it: bundle agent conf_system_syslog { vars: ipv4_192_168_235:: "syslog_host" string => "192.167.235.34"; ipv4_192_168_5::

CFEngine Help: Using Variables in insert lines

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Using Variables in insert lines Author: timw077 Link to topic: https://cfengine.com/forum/read.php?3,24417,24417#msg-24417 I want to define a variable, and use it in the middle of edit files. for a brief example: bundle agent conf_system_syslog { vars: ipv4

CFEngine Help: Re: Explanation for 3x iteration in a bundle

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Explanation for 3x iteration in a bundle Author: frans Link to topic: https://cfengine.com/forum/read.php?3,24402,24416#msg-24416 Ah, of course! How careless of me. The var gets set but the report has already been fulfilled so there's no real indication that it

CFEngine Help: Re: CFEngine Help: Thoughts about some cfengine design decisions?

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Thoughts about some cfengine design decisions? Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24294,24415#msg-24415 Jesse Becker Wrote: --- > Would it be possible to publish the

CFEngine Help: Anomoly in files changes => detect content on NFS mounted data

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Anomoly in files changes => detect_content on NFS mounted data Author: GFLehr Link to topic: https://cfengine.com/forum/read.php?3,24414,24414#msg-24414 If I create an agent bundle like the one below where /data1 is the mount point for an NFS volume (from a NetApp fi

CFEngine Help: Re: Explanation for 3x iteration in a bundle

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Explanation for 3x iteration in a bundle Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24402,24412#msg-24412 So, cf-agent runs through the whole bundle three times, in the same order. In your last example, you have vars, commands, and report

Re: CFEngine Help: Re: SVN tricks

2011-12-22 Thread Jesse Becker
On Thu, Dec 22, 2011 at 04:50:30PM -0500, no-re...@cfengine.com wrote: >Forum: CFEngine Help >Subject: Re: SVN tricks >Author: sauer >Link to topic: https://cfengine.com/forum/read.php?3,24395,24411#msg-24411 > >If we're sharing for the benefit of people less familiar with Subversion, then >it's a

CFEngine Help: Re: SVN tricks

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: SVN tricks Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24395,24411#msg-24411 If we're sharing for the benefit of people less familiar with Subversion, then it's also worth noting that: - "Revision" is case-sensitive (as well as the other

CFEngine Help: Re: Explanation for 3x iteration in a bundle

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Explanation for 3x iteration in a bundle Author: frans Link to topic: https://cfengine.com/forum/read.php?3,24402,24410#msg-24410 Beto - I didn't see any "commands:" section in your bundle.. but I think I've figured out what's going on. As verbose output indic

Re: Master to client security, signing?

2011-12-22 Thread Christopher Browne
On Thu, Dec 22, 2011 at 2:20 PM, Mark Burgess wrote: > I like your analogy of the poisoned stream.  :-)  However, taking over a > properly maintained signature is a much smaller vector than gaining access > to the headwaters (especially if you have several people manning the > pumps).  If the sign

CFEngine Help: Re: Explanation for 3x iteration in a bundle

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Explanation for 3x iteration in a bundle Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,24402,24408#msg-24408 My example didn't copy/paste correctly. bundle agent check_user_files { vars: !dotFilesFound:: # Put all users in /etc/p

CFEngine Help: Re: Explanation for 3x iteration in a bundle

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Explanation for 3x iteration in a bundle Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,24402,24407#msg-24407 I really don't understand what you don't understand ;) Here is an example where a module is used and variables are set and files are

CFEngine Help: Re: Explanation for 3x iteration in a bundle

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Explanation for 3x iteration in a bundle Author: frans Link to topic: https://cfengine.com/forum/read.php?3,24402,24406#msg-24406 I'm familiar with normal ordering and figured that cf-agent was sidestepping the vars: promise again as it had already evaluated it.

Re: Master to client security, signing?

2011-12-22 Thread Mark Burgess
On 12/22/2011 07:21 PM, Pete Ashdown wrote: On 12/22/2011 01:01 AM, Mark Burgess wrote: On 12/21/2011 11:41 PM, Pete Ashdown wrote: One reason I've objected to the use of puppet in our organization is the lack of server to client security. That is, if the server is compromised, then in turn,

CFEngine Help: Re: Explanation for 3x iteration in a bundle

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Explanation for 3x iteration in a bundle Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24402,24404#msg-24404 Check the reference guide on normal ordering and locking. Vars is done first so redvar is not defined during first run. Files

Re: Master to client security, signing?

2011-12-22 Thread Pete Ashdown
On 12/22/2011 01:01 AM, Mark Burgess wrote: > On 12/21/2011 11:41 PM, Pete Ashdown wrote: >> One reason I've objected to the use of puppet in our organization is the >> lack of server to client security. That is, if the server is >> compromised, then in turn, all the clients are compromised. Befo

CFEngine Help: Explanation for 3x iteration in a bundle

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Explanation for 3x iteration in a bundle Author: frans Link to topic: https://cfengine.com/forum/read.php?3,24402,24402#msg-24402 Hi- I'm putting together a presentation about cfengine and noted that cf-agent will loop up to three times within a bundle as it converg

Re: Master to client security, signing?

2011-12-22 Thread Nick Anderson
On 12/22/2011 02:01 AM, Mark Burgess wrote: > In Puppet, hosts get their view of the world pushed from the "facter" > which runs on the Puppetmaster, according to my understanding, and so > they must trust the central point to a much higher degree. Thus the > poison is sort of poured down their th

CFEngine Help: Re: System error for getservbyname: "Error 0"

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: System error for getservbyname: "Error 0" Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,24398,24400#msg-24400 Your /etc/services does not have an entry for cfengine: wilma:/var/cfengine_master/inputs.test# grep cfengine /etc/services cfengine

CFEngine Help: Re: System error for getservbyname: "Error 0"

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: System error for getservbyname: "Error 0" Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24398,24399#msg-24399 Without context it's hard to say. Perhaps the host cannot resolve its own name. _

CFEngine Help: System error for getservbyname: "Error 0"

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: System error for getservbyname: "Error 0" Author: manikk Link to topic: https://cfengine.com/forum/read.php?3,24398,24398#msg-24398 Hi All, can anyone please tell me the warning/error cf3 !!! System error for getservbyname: "Error 0" what is this line means? i

Re: Master to client security, signing?

2011-12-22 Thread Mark Burgess
On 12/21/2011 11:41 PM, Pete Ashdown wrote: One reason I've objected to the use of puppet in our organization is the lack of server to client security. That is, if the server is compromised, then in turn, all the clients are compromised. Before I start learning cfengine from scratch, I would