Re: Cfengine Help: Re: Once more unto the code bridge: repository

2010-12-14 Thread Mark Burgess
Thanks, Aleksey. We are all enriched by your helpful enthusiasm and positive attitude. And thanks to Carolyn for the summary so far (this is good Knowledge Management!). Some kind of picture seems to be emerging. M On 12/13/2010 11:23 PM, Aleksey Tsalolikhin wrote: > Thanks for the summary, Car

Cfengine Help: Re: diskfree a moving constant?

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: diskfree a moving constant? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,19754,19778#msg-19778 matter Wrote: --- > It doesn't happen everytime. The filesystem would > need to increase du

Array as bundle parameter

2010-12-14 Thread Daniel Dehennin
Hello, me again ;-) I try to pass an array as bundle parameter without success, the following promise reports: #v+ R: line is $($(line)[$(idx)]) #v- Seems to work for others[1]. #v+ body common control { bundlesequence => { "filetest" }; version => "0.0.2"; } bundle agent filetest {

Distribute and customise cups/printers.conf

2010-12-14 Thread C R Ritson
What's the best way to ensure that a cups configuration is up to date? If I check that /etc/cups/printers.conf is identical on the clients and a policy master, then I cannot use "lpadmin -d" after a repair as this would make the files diverge. It looks as if cfengine has to do the whole job to a

Cfengine Help: Re: Array as bundle parameter

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Array as bundle parameter Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,19779,19781#msg-19781 May I do something like this following? bundle agent filetest { vars: any:: "line[0]" string => "line1 line2 with $(const.dollar)(sys.host):

Cfengine Help: Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Who's going to promise this - Forums Fubar Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18047,19782#msg-19782 I did a brief foray into email parsing. It is deceptively hard. Many email clients structure email different

Cfengine Help: Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Who's going to promise this - Forums Fubar Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18047,19783#msg-19783 Indeed, this is one reason for not picking off-the-shelf software. I think we need to fix this at a deeper level than

Cfengine Help: Re: Array as bundle parameter

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Array as bundle parameter Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19779,19784#msg-19784 Hi Daniel, > I try to pass an array as bundle parameter without > success > edit_line => insert_array_lines("$(line)"), > ... > bund

Re: Array as bundle parameter

2010-12-14 Thread Daniel Dehennin
Michael Potter writes: > I believe you have to pass them as ., e.g.: > >edit_line => insert_array_lines("filetest.line") Yes, I tried as a string but do not fully qualified it, thanks to you and zzamboni. Thanks. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu

Cfengine Help: Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Who's going to promise this - Forums Fubar Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18047,19785#msg-19785 One possibility would be to just use Google Groups, which has the email-to-forum integration nicely sorted out. W

Cfengine Help: Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Who's going to promise this - Forums Fubar Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18047,19787#msg-19787 It is possible, but then we have to sacrifice the plan to mine the forum eventually and tie in into the documentation

Cfengine Help: Re: templating and "Duplicate selection" -- SOLVED

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: templating and "Duplicate selection" -- SOLVED Author: bglomm Link to topic: https://cfengine.com/forum/read.php?3,19723,19788#msg-19788 sorry ... not always good to work to much ... after retesting it here the code actually does what it should. I just got the wa

Re: Cfengine Help: Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-12-14 Thread Jesse Becker
On Tue, Dec 14, 2010 at 10:49:24AM -0500, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: Cfengine Help: Who's going to promise this - Forums Fubar >Author: mark >Link to topic: https://cfengine.com/forum/read.php?3,18047,19787#msg-19787 > >It is possible, but then we have to sacri

Cfengine Help: Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Who's going to promise this - Forums Fubar Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18047,19790#msg-19790 Is that possible with google groups? Would the mailing list still reside on our servers? If so, that would be an opti

Cfengine Help: Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Who's going to promise this - Forums Fubar Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18047,19791#msg-19791 I am not sure (although it is likely) that you can set up a Google Group with a custom domain. But in any case, i

Cfengine Help: Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Who's going to promise this - Forums Fubar Author: Ed Link to topic: https://cfengine.com/forum/read.php?3,18047,19792#msg-19792 A few thoughts on this thread - since starting it I have been happy to see it (and others) in my inbox - thx all. I th

Cfengine Help: Re: Once more unto the code bridge: repository

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Once more unto the code bridge: repository Author: Ed Link to topic: https://cfengine.com/forum/read.php?3,19721,19793#msg-19793 As an example of this sort of thing done well, check out Trac-Hacks. My only concern with a Gfengine.org hosting is that some level of

Re: what does ${...} mean?

2010-12-14 Thread Erlend Leganger
On 13 December 2010 07:48, Diego Zamboni wrote: > Both $(...) and ${...} can be used to refer to scalar > variables, and to do implicit looping. > And since I use bash a lot to create my scripts, I really like to use ${myvar} for variables - then I can use the same syntax both in bash and cfengi

Cfengine Help: Re: templating and "Duplicate selection"

2010-12-14 Thread no-reply
Forum: Cfengine Help Subject: Re: templating and "Duplicate selection" Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,19723,19795#msg-19795 You might need this; "this_template" string => lastnode("$(final_destination)","/"), policy => overridable;

Re: Cfengine Help: Re: Once more unto the code bridge: repository

2010-12-14 Thread Deb Heller
Since we use SVN and ViewVC extensively, I like that you're moving in this direction. Documentation is always the most difficult thing to get right. Have you already considered a Wiki of some kind? I'll have to look at websvn... What did you like about it, Jesse? d On 12/13/10 4:00 AM, no-re

Re: Cfengine Help: Re: Once more unto the code bridge: repository

2010-12-14 Thread Deb Heller
We've used Twiki software here for about 4yrs or more. None of really likes it - it's been limiting in configuration, where MediaWiki has the sky as the limit - but harder to maintain over the long haul... than a Twiki. As a user of Twikis and Wikis, I'll take a MediaWiki over Twiki any day o