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

2011-05-20 Thread Aleksey Tsalolikhin
I am following the "Troubleshooting remote connections" section in the manual. 1. I've set skipverify on the server: body server control { allowconnects => { "127.0.0.1" , "::1", "xxx.xxx.xxx.xxx" }; allowallconnects => { "127.0.0.1" , "::1", "xxx.xxx.xxx.xxx" }; trustkeysfrom

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

2011-05-20 Thread Aleksey Tsalolikhin
More data. I have 4 virtual servers at this ISP. cfengine00 (3.1.4) can pull files from cfengine03 (3.1.0) just fine. cfengine00 (3.1.4) cannot pull files from cfengine02 (3.1.4). I tried copying the site.cf and promises.cf from the 3.1.0 box to the 3.1.4 box, but it does not help, I still can

Cfengine Help: discount Fendi Sandals,cheap gucci jordan Shoes

2011-05-20 Thread no-reply
Forum: Cfengine Help Subject: discount Fendi Sandals,cheap gucci jordan Shoes Author: nikeshopshoes Link to topic: https://cfengine.com/forum/read.php?3,22128,22128#msg-22128 Hello,my friends, Our Company Wholesale and Retail: www.cheapclothingshop.com Cheap canvas shoes for sale www.cheapshoesdes

Cfengine Help: cheap Jeans,discount Juicy Couture Handbags

2011-05-20 Thread no-reply
Forum: Cfengine Help Subject: cheap Jeans,discount Juicy Couture Handbags Author: nikeshopshoes Link to topic: https://cfengine.com/forum/read.php?3,22127,22127#msg-22127 Welcome to www.cheapclothingshop.com Our main products : 1, Fashion sneakers, Air Jordan, Air force one, Air max, Shox , Dunk,

Cfengine Help: wholesale high quality women Armani Burberry Shirt

2011-05-20 Thread no-reply
Forum: Cfengine Help Subject: wholesale high quality women Armani Burberry Shirt Author: nikeshopshoes Link to topic: https://cfengine.com/forum/read.php?3,22126,22126#msg-22126 China Wholesale Air Jordan 6 Rings ( www.cheapshoesdesign.com ) Replica Gucci Boost,LV Women Boots ( www.cheapshoesdesi

Cfengine Help: discount women Chanel polo gucci T Shirt

2011-05-20 Thread no-reply
Forum: Cfengine Help Subject: discount women Chanel polo gucci T Shirt Author: nikeshopshoes Link to topic: https://cfengine.com/forum/read.php?3,22125,22125#msg-22125 ( www.cheapclothingshop.com ) wholesael lv handbags,prada sunglasses, ( www.cheapclothingshop.com ) discount Armani sunglasses,Bos

Cfengine Help: hot sale 2011 new style women Chanel T Shirt

2011-05-20 Thread no-reply
Forum: Cfengine Help Subject: hot sale 2011 new style women Chanel T Shirt Author: nikeshopshoes Link to topic: https://cfengine.com/forum/read.php?3,22124,22124#msg-22124 ( www.cheapshoesdesign.com) cheap Puma shoes affiction clothing ( www.cheapshoesdesign.com ) cheap Coach Shoes ture religion

Re: Need help creating class within an OS context

2011-05-20 Thread dave first
Thanks for the quick feedback - Okay, I can do a LOT with that. It's much more Cfenginy and scalable. What a difference. Many thanks! On Fri, May 20, 2011 at 2:21 PM, Mark Burgess wrote: > > First, I would alsways use isexecutable("/path/file") over a shell command > test -x, then try someth

Re: Need help creating class within an OS context

2011-05-20 Thread Mark Burgess
First, I would alsways use isexecutable("/path/file") over a shell command test -x, then try something like this: vars: freebsd:: "check_service" string => "/usr/local/libexec/tenant/check_mysql"; linux:: "check_service" string => "/usr/local/lib/tenant/check_mysql"; classes: "

Need help creating class within an OS context

2011-05-20 Thread dave first
Hey Folks, One of our engineers wrote a promise a while back to create a class in promises.cf given the outcome of an expression... classes: "CheckMysql" expression => returnszero("/bin/test -x /usr/local/libexec/tenant/check_tenant -a ! -x /usr/local/libexec/tenant/check_mysql","useshell"); Th

Re: Cfengine Help: Re: Multiple cf-serverd processes per host

2011-05-20 Thread Aleksey Tsalolikhin
On Fri, May 20, 2011 at 12:54 PM, Aleksey Tsalolikhin wrote: > As a sysadmin, I find this a very elegant solution to managing configuration > in a distributed system, with many possibly moving parts (servers going > on and off line). P.S. another example is a network failure that renders part of

Re: Cfengine Help: Re: Multiple cf-serverd processes per host

2011-05-20 Thread Aleksey Tsalolikhin
On Wed, May 18, 2011 at 10:12 AM, Andrey Bondarenko wrote: >> You lost me after you said 'force policy updates'. >> This is not the Cfengine way. > > "To force" is probably wrong word. I wan't to notify agents that > the policy definition was updated. I beleive that notifying agents > about policy

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

2011-05-20 Thread Aleksey Tsalolikhin
On Fri, May 20, 2011 at 8:32 AM, wrote: > 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,22114#msg-22114 > > Confirm that this file exists and is readable by cf-serverd. > /

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

2011-05-20 Thread Aleksey Tsalolikhin
Dear Bas, Thanks a million!! I was able to use your workaround. body common control { inputs => { @(global.global_policy), "$(global.country_name)/$(global.country_name).cf", # "$(global.country_name)/change_management.cf", # "$(global.country_name)/quarter

Re: Cfengine Help: Re: Cfengine Help: question about editing smb.conf

2011-05-20 Thread Daniel V. Klein
I was just suggesting things to look at. But yes, an index with white space (or with white space stripped with regextract()) might do the trick... -Dan On May 20, 2011, at 4:33 PM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Cfengine Help: question about editing smb.conf

Cfengine Help: Re: Cfengine Help: question about editing smb.conf

2011-05-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: question about editing smb.conf Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,22090,22115#msg-22115 Thank you both for your input. I think in this case a master template makes sense, however I feel I should understand the

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

2011-05-20 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,22114#msg-22114 Confirm that this file exists and is readable by cf-serverd. /var/cfengine/masterfiles/cfengine_stdlib.cf __

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

2011-05-20 Thread Aleksey Tsalolikhin
On Fri, May 20, 2011 at 5:59 AM, Neil Watson wrote: > When you run cf-serverd in verbose mode it should show how it parses its > configuration such has access rules.  Look there for a clue. Excellent, thank you, Neil. Here is my cfserverd verbose output concerning access_rules bundle. There is

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

2011-05-20 Thread Aleksey Tsalolikhin
Here is another example (based on Mark's). I've taken out the bits that don't relate to class persistence, and changed the identifiers to be more descriptive: bundle agent example { commands: ok_but_check_later:: "/bin/echo YELLOW ALERT (condition \"ok_but_check_later\")"; commands:

Cfengine Help: Re: Cfengine Help: question about editing smb.conf

2011-05-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: question about editing smb.conf Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22090,22111#msg-22111 Sometimes it is easier to empty the file and start from scratch. Naturally it depends upon your needs but I find that on

Re: Cfengine Help: Re: Cfengine Help: question about editing smb.conf

2011-05-20 Thread Daniel V. Klein
In general, take a look at whitespace_policy in insert_lines for some ideas... Also look at set_variable_values in cfengine_stdlib.cf for others -Dan On May 20, 2011, at 3:16 PM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Cfengine Help: question about editing smb.conf >

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

2011-05-20 Thread Aleksey Tsalolikhin
Dear Mark, This works beautifully. community> *** community> Loading persistent classes community> *** community> Persistent class ok_later for 9 more minutes community> Adding per

Cfengine Help: Re: Cfengine Help: question about editing smb.conf

2011-05-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: question about editing smb.conf Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,22090,22108#msg-22108 I would like to change the following entries in smb.conf Each entry is preceded by a tab workgroup = MYGROUP

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

2011-05-20 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,22107#msg-22107 Thanks, Mark. ___ Help-cfengine mailing list Help-cfengine@cfengine.or

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

2011-05-20 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,22106#msg-22106 I think I see. Ideally should cf-promises have told us that the use was invalid? __

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

2011-05-20 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,22105#msg-22105 When you run cf-serverd in verbose mode it should show how it parses its configuration such has access rules. Look

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

2011-05-20 Thread Bas van der Vlies
On 20-05-11 09:27, Seva Gluschenko wrote: > Aleksey, > > I did my experiments with Cfengine almost an year ago, so I might be > missing something. Perhaps, you can achieve your goals like follows: > > bundle common g > { > classes: > "italy" expression => classmatch("mil.*"); > } > > body c

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

2011-05-20 Thread Seva Gluschenko
Aleksey, I did my experiments with Cfengine almost an year ago, so I might be missing something. Perhaps, you can achieve your goals like follows: bundle common g { classes: "italy" expression => classmatch("mil.*"); } body common control { italy:: inputs => { "italy.cf", "common.cf" }