Cfengine Help: Apps for iPad

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Apps for iPad Author: uncle Link to topic: https://cfengine.com/forum/read.php?3,22102,22102#msg-22102 Some market participants believe that the crown of power by the Central interpreted as a state capital budget of Datang Gro access accessories for ipad ories for i

Cfengine Help: Cheap prada shoes coogi jackets D&G sunglasses

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Cheap prada shoes coogi jackets D&G sunglasses Author: linjia Link to topic: https://cfengine.com/forum/read.php?3,22094,22094#msg-22094 www.cheapclothingshop.com Ed Hardy Womens Leather Bracelet factory outlet online store www.cheapclothingshop.com china Ed Hardy In

Cfengine Help: hot sale 2011 women Ed Hardy Prada T Shirt online

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: hot sale 2011 women Ed Hardy Prada T Shirt online Author: linjia Link to topic: https://cfengine.com/forum/read.php?3,22093,22093#msg-22093 www.cheapclothingshop.com Ed Hardy Womens Pants china wholesale www.cheapclothingshop.com buy wholesale price Ed Hardy Mens Jers

Cfengine Help: wholesale women polo t-shirts Lacoste men clothing

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: wholesale women polo t-shirts Lacoste men clothing Author: linjia Link to topic: https://cfengine.com/forum/read.php?3,22092,22092#msg-22092 www.cheapclothingshop.com cheap Sinful www.cheapclothingshop.com discount Sinful Clothing Baby Tees www.cheapclothingshop.com w

Cfengine Help: Re: still trying to set a persistent class. help, please?

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: still trying to set a persistent class. help, please? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22054,22091#msg-22091 This is not the way to use persistent classes. See the example below, which will work just fine. body common control

Re: Cfengine Help: question about editing smb.conf

2011-05-19 Thread Aleksey Tsalolikhin
Could you please post the text you want to edit (the smb.conf file) and the field_edits code you have in mind? What changes do you want to make in smb.conf? Aleksey On Thu, May 19, 2011 at 3:36 PM, wrote: > Forum: Cfengine Help > Subject: question about editing smb.conf > Author: raymondcox

Cfengine Help: question about editing smb.conf

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: question about editing smb.conf Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,22089,22089#msg-22089 Hello, I am trying to edit a Samba configuration file (smb.conf) on a number of RHEL5 machines. I have seen some pretty cool example

Re: Cfengine Help: Re: conditional import of inputs -- i.e. using classes to control inputs

2011-05-19 Thread Daniel Dehennin
Aleksey Tsalolikhin writes: > I moved the classes promise higher, before the vars promise, > (which is how it is evaluated anyway), but I get: > > Can't stat file "./@(g.country)" for parsing I remember something about this, a bug report[1] after a thread on the mailing-list[2]. Regards. Footn

Re: Cfengine Help: Re: conditional import of inputs -- i.e. using classes to control inputs

2011-05-19 Thread Aleksey Tsalolikhin
I moved the classes promise higher, before the vars promise, (which is how it is evaluated anyway), but I get: Can't stat file "./@(g.country)" for parsing ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/he

Re: Cfengine Help: Re: conditional import of inputs -- i.e. using classes to control inputs

2011-05-19 Thread Aleksey Tsalolikhin
Hi, Seva. Did you try this? I tried what you suggested and cf-agent tried to read the file called @(g.countryside). Can you get it to work? Here is what I have now: # import italy.cf and run the italy bundlesequence # only if the hostname matches the pattern mil.* bundle common define_global

Re: Cfengine Help: Re: still trying to set a persistent class. help, please?

2011-05-19 Thread Aleksey Tsalolikhin
Thank you very much Neil and bbomgardner for looking at this. I opened bug https://cfengine.com/bugtracker/view.php?id=634 Aleksey ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Cfengine Help: Re: conditional import of inputs -- i.e. using classes to control inputs

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: conditional import of inputs -- i.e. using classes to control inputs Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,22083,22084#msg-22084 Alexey, the body container parser doesn't allow for classes definition, so you cannot move cl

conditional import of inputs -- i.e. using classes to control inputs

2011-05-19 Thread Aleksey Tsalolikhin
I'm trying to set up Cfengine to import (inputs attribute of the common control promise) a country-specific inputs file, and to call a country-specific bundle of promises, if the current instance of Cfengine belongs to the class of that country. The country class is definited based on the hostname

Re: Cfengine Help: Re: where to put local promises? site.cf?

2011-05-19 Thread Aleksey Tsalolikhin
On Thu, May 19, 2011 at 6:07 AM, Nick Anderson wrote: > On Thu, 2011-05-19 at 14:37 +0200, no-re...@cfengine.com wrote: >> Forum: Cfengine Help >> Subject: Re: where to put local promises? site.cf? >> Author: neilhwatson >> Link to topic: https://cfengine.com/forum/read.php?3,21932,22062#msg-22062

Re: having trouble copying files using cf-serverd 3.1.4

2011-05-19 Thread Aleksey Tsalolikhin
I've tried both an IP address and and a regex (.*) Thank you for letting me know, I'll stick to IP addresses. I do get the same behavior: 1. cf-agent does not pull down the new files 2. cf-serverd says: "cf-serverd access list is empty, no files are visible" "REFUSAL of request from co

Cfengine Help: Re: having trouble copying files using cf-serverd 3.1.4

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: having trouble copying files using cf-serverd 3.1.4 Author: schattenfell Link to topic: https://cfengine.com/forum/read.php?3,22077,22080#msg-22080 Yes, use only IPs at the moment. See my bugreport I did on that topic: https://cfengine.com/bugtracker/view.php?id=

Cfengine Help: Re: insert_lines, whitespace_policy, and regex characters

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: insert_lines, whitespace_policy, and regex characters Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,22046,22079#msg-22079 If no one has any ideas, I'll probably just put in a bug report for this. It seems to me from reading the documen

Cfengine Help: Re: having trouble copying files using cf-serverd 3.1.4

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: having trouble copying files using cf-serverd 3.1.4 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22077,22078#msg-22078 Aleksey Tsalolikhin Wrote: --- > access: > > "/var/cfengine/ma

having trouble copying files using cf-serverd 3.1.4

2011-05-19 Thread Aleksey Tsalolikhin
I'm having trouble setting up copying files. cf-serverd version 3.1.4 shows, in verbose mode: community> cf-serverd access list is empty, no files are visible community> Access control in sync community> From (host=cfengine00,user=root,ip=myIP) community> REFUSAL of request from connecting host:

Cfengine Help: Re: Automatically deleting files on nodes

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Automatically deleting files on nodes Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22066,22076#msg-22076 That is correct. A files promise with a single file as a target promises that that file is there not to remove it if the master i

RE: Automatically deleting files on nodes

2011-05-19 Thread Scott Dobner
Ok, so I tried using the purge option below. I then deleted one of the html files and waited for the deletion to propagate which didn't happen. Is purge an option that only works if you are copying whole directories? I noticed in the cfengine doc it says it can only be used in conjunction wit

Re: Create array from list

2011-05-19 Thread Daniel Dehennin
Daniel Dehennin writes: > Hello, > > I'm trying to create an array with list expansion and wonder why there > is no coordinated iteration. > > Here is my test case: [...] More tests: #v+ body common control { bundlesequence => { "test" }; version => "0.0.6"; } bundle agent test {

Cfengine Help: Re: still trying to set a persistent class. help, please?

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: still trying to set a persistent class. help, please? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,22054,22073#msg-22073 Cfengine obviously never decides to make the class persistent. Assuming that persist_time gets read in OK, then s

Cfengine Help: Re: still trying to set a persistent class. help, please?

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: still trying to set a persistent class. help, please? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22054,22072#msg-22072 state/cf_state.tcdb and tate/cf_state.db are the same file. The latter is the BDB version and the former is Tokyo

Cfengine Help: Re: still trying to set a persistent class. help, please?

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: still trying to set a persistent class. help, please? Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,22054,22071#msg-22071 I can't get this to work either. The ref guide says that persistent classes get put into state/cf_state.tcdb. (I

RE: Automatically deleting files on nodes

2011-05-19 Thread Scott Dobner
Great! Thanks for the help! I figured it had to be something easy like that... -Original Message- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Sjoerd Oostdijck Sent: Thursday, May 19, 2011 9:10 AM To: help-cfengine@cfengine.org Subjec

Re: Automatically deleting files on nodes

2011-05-19 Thread Sjoerd Oostdijck
On 5/19/11 2:58 PM, Scott Dobner wrote: > Hi, > I am trying to manage a webserver using CFEngine, and one of the > problems I have run into is that I cannot seem to find a way to delete a > file automatically when I remove it from the server. Is there some kind > of attribute of a file promise tha

Re: Cfengine Help: Re: where to put local promises? site.cf?

2011-05-19 Thread Nick Anderson
On Thu, 2011-05-19 at 14:37 +0200, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: where to put local promises? site.cf? > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,21932,22062#msg-22062 > > Organize the files anyway you like Aleksey. As long as

Re: Cfengine Help: Re: this.promiser not interpolating in copy_from?

2011-05-19 Thread Sjoerd Oostdijck
On 5/19/11 2:53 PM, Jesse Becker wrote: > On Thu, May 19, 2011 at 08:43:52AM -0400, no-re...@cfengine.com wrote: >> Forum: Cfengine Help >> Subject: Re: this.promiser not interpolating in copy_from? >> Author: neilhwatson >> Link to topic: https://cfengine.com/forum/read.php?3,22059,22064#msg-22064

Automatically deleting files on nodes

2011-05-19 Thread Scott Dobner
Hi, I am trying to manage a webserver using CFEngine, and one of the problems I have run into is that I cannot seem to find a way to delete a file automatically when I remove it from the server. Is there some kind of attribute of a file promise that checks if a file is present on the server and

Re: Cfengine Help: Re: this.promiser not interpolating in copy_from?

2011-05-19 Thread Jesse Becker
On Thu, May 19, 2011 at 08:43:52AM -0400, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: this.promiser not interpolating in copy_from? >Author: neilhwatson >Link to topic: https://cfengine.com/forum/read.php?3,22059,22064#msg-22064 > >Sjoerd Oostdijck Wrote: >> Example: >> >> body

Cfengine Help: Re: this.promiser not interpolating in copy_from?

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: this.promiser not interpolating in copy_from? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22059,22064#msg-22064 Sjoerd Oostdijck Wrote: > Example: > > body common control { > bundlesequence => { "wiggle" }; > inputs => {"polic

Cfengine Help: Re: still trying to set a persistent class. help, please?

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: still trying to set a persistent class. help, please? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22054,22063#msg-22063 I tried your fist example using community 3.1.4 and I could not get the persistent class to work either. I have r

Cfengine Help: Re: where to put local promises? site.cf?

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: where to put local promises? site.cf? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21932,22062#msg-22062 Organize the files anyway you like Aleksey. As long as CF can find everything by reading promises.cf first.

Cfengine Help: Re: Reading/Importing Just one line from csv file

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Reading/Importing Just one line from csv file Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,22039,22061#msg-22061 In your promise, reference the array as a string. The promise will be applied to each item. Here is an example: http:/

Cfengine Help: Re: Reading/Importing Just one line from csv file

2011-05-19 Thread no-reply
Forum: Cfengine Help Subject: Re: Reading/Importing Just one line from csv file Author: joe77 Link to topic: https://cfengine.com/forum/read.php?3,22039,22060#msg-22060 Thanks for your reply. One more question: How can i loop over an array? ___ Help-cfe

this.promiser not interpolating in copy_from?

2011-05-19 Thread Sjoerd Oostdijck
Hi everyone, I'm running into some strange behaviour, I'm hoping someone can shed some light onto this? It seems that this.promiser is not interpolating the way I expect it to. Running the example below, I get the following error (of course /tmp/snarf.txt.template does exist): # cf-agent -IK -f