Re: Cfengine Help: Re: Cfengine Help: Password change problem.

2011-04-06 Thread Mikhail Gusarov
Dave, > The unit below is missing the value. > > http://source.cfengine.com/browse/core/trunk/examples/unit_root_passwd.cf?revision=1988&view=markup Thanks, fixed. -- Mikhail Gusarov ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cf

Re: Cfengine 2 regex tester?

2011-04-06 Thread Jon Henrik Bjornstad
Hi Paul, The regex tester has been moved to the cfengine.com site. Cfengine 2 (POSIX): https://cfengine.com/inside/regexPosix Cfengine 3 (PCRE): https://cfengine.com/inside/regexPcre You will need to register a Cfengine account if you don't already have one. With regards Jon Henrik Bjornsta

Cfengine 2 regex tester?

2011-04-06 Thread Paul Krizak
There used to be a Cf2 regex tester on cfengine.org, as referenced here: http://cfwiki.org/cfwiki/index.php/Wishlist#RegExp_Testing But it seems to have vanished. Could it be restored? It would be handy to have around for those of us (cough) still using Cfengine 2... -- Paul Krizak

Cfengine Help: Re: Behaviour change in 3.1.4

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Behaviour change in 3.1.4 Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21358,21364#msg-21364 You got a plain string in return so my guesswork is an array was not in place. I urged you to workaround a bit to populate an array outside edit

Cfengine Help: Re: Cfengine Help: Password change problem.

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Password change problem. Author: dave.blackb...@dwbconsulting.com Link to topic: https://cfengine.com/forum/read.php?3,21362,21363#msg-21363 Hi Mikhail Thanks for you response, adding the allow_blank_fields fixed the problem, so I just removed the

Re: Cfengine Help: Password change problem.

2011-04-06 Thread Mikhail Gusarov
On 06.04.2011 20:14, no-re...@cfengine.com wrote: > I have being testing a new cfengine implementation where I have used the > unit_root_passwd.cf as a template to change users passwords. The problem I > have is that when the password hash is replaced the remaining colons are also > stripped f

Cfengine Help: Password change problem.

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Password change problem. Author: dave.blackb...@dwbconsulting.com Link to topic: https://cfengine.com/forum/read.php?3,21361,21361#msg-21361 Hi I have being testing a new cfengine implementation where I have used the unit_root_passwd.cf as a template to change user

Re: Cfengine Help: Deploying configuration partially

2011-04-06 Thread Aleksey Tsalolikhin
On Wed, Apr 6, 2011 at 8:22 AM, wrote: > > usually the full system configuration is deployed to every client. I think > this has got two huge disadvantages. One is that the entire configuration is > known by every client. The other is the network load because the full > configuration has to be

Cfengine Help: Re: Deploying configuration partially

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Deploying configuration partially Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21356,21359#msg-21359 Personally, I like knowing that in the event of a disaster I can quickly access the entire site policy from any accessible host.

Cfengine Help: Behaviour change in 3.1.4

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Behaviour change in 3.1.4 Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,21358,21358#msg-21358 I have following in edit_line bundle "pw" int => readstringarray("rpw","$(sys.workdir)/ppkeys/rootpw.txt","#[^\n]*",":","1","200"); field_edit

Cfengine Help: Re: Deploying configuration partially

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Deploying configuration partially Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21356,21357#msg-21357 You can do this. See https://cfengine.com/forum/read.php?3,21345. There is little to gain though. Policies rarely have any secret in

Cfengine Help: Deploying configuration partially

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Deploying configuration partially Author: christian.sturm Link to topic: https://cfengine.com/forum/read.php?3,21356,21356#msg-21356 Hi, usually the full system configuration is deployed to every client. I think this has got two huge disadvantages. One is that the e

Cfengine Help: Re: copy file from A to B only if it is not present in C

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Re: copy file from A to B only if it is not present in C Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21342,21355#msg-21355 Option 1: Copy master to first backup with purge. Copy first backup to second backup without purge. This way the l

Cfengine Help: Re: Cfengine Help: Hard classes vs defined classes ?

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Hard classes vs defined classes ? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,21346,21354#msg-21354 Well, cf-promises -v outputs the whole set of defined classes, so you can check it yourself. _

RE: Cfengine Help: Hard classes vs defined classes ?

2011-04-06 Thread C R Ritson
>-Original Message- > >Forum: Cfengine Help >Subject: Re: Cfengine Help: Hard classes vs defined classes ? >Author: Seva Gluschenko >Link to topic: https://cfengine.com/forum/read.php?3,21346,21350#msg-21350 > >You can use hostname or IP based guessing like: > >bundle common g >{ > classes:

Cfengine Help: Re: copy file from A to B only if it is not present in C

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Re: copy file from A to B only if it is not present in C Author: erik Link to topic: https://cfengine.com/forum/read.php?3,21342,21352#msg-21352 neilhwatson Wrote: --- > Assuming A is the master then why not have a >

Cfengine Help: Re: Hard classes vs defined classes ?

2011-04-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Hard classes vs defined classes ? Author: jean_luc Link to topic: https://cfengine.com/forum/read.php?3,21345,21351#msg-21351 My further investigation revealed some facts... cf-promises -Dcentral_system ./p2.cf - ok, no errors report cf-agent -Dcentral_system ./