CFEngine Help: Re: How to instert white line ?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: How to instert white line ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26615,26639#msg-26639 bahamat Wrote: --- > You should be able to use $(const.n) instead: > > > "vim_slist => {

CFEngine Help: Re: About cf_promises_validated

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: About cf_promises_validated Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26590,26638#msg-26638 There may have been a logic bomb in my policy to cause the constant update of cf_promises_validated. Now I seem to be having the opposite pr

Re: CFEngine Help: Re: delete_lines and select region

2012-07-24 Thread Diego Zamboni
Right - it seems the delete_lines is deleting on the second pass the lines inserted by the first pass, which is strange. This should not be happening - I'll investigate and try to figure out what's going on. --Diego On Jul 24, 2012, at 1:24 PM, no-re...@cfengine.com wrote: > Forum: CFEngine

CFEngine Help: Re: delete_lines and select region

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: delete_lines and select region Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,26551,26636#msg-26636 Ok. Got it in the train on my way back home. I have to "protect" the delete_lines to append if the insert_lines part has already been run. So

CFEngine Help: Re: commands promise failing

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: commands promise failing Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,26633,26635#msg-26635 neilhwatson Wrote: --- > Has anyone see this? Testing with 3.4.0b1. Nope. ___

CFEngine Help: Re: delete_lines and select region

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: delete_lines and select region Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,26551,26634#msg-26634 A big thank you to both of you for rephrasing more clearly to me what is already in the documentation. I think I've been misguided by some o

CFEngine Help: commands promise failing

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: commands promise failing Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26633,26633#msg-26633 Has anyone see this? Testing with 3.4.0b1. -> Executing '/var/cfengine/bin/cf-serverd' ...(timeout=-678,owner=4294967295,group=4294967295) -> Co

CFEngine Help: Re: delete_lines and select region

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: delete_lines and select region Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,26551,26630#msg-26630 Please ignore the previous post at the moment, I think I'm fooling myself. ___ Help-cfengine mail

CFEngine Help: Re: delete_lines and select region

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: delete_lines and select region Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,26551,26632#msg-26632 I could be wrong on this, but I will take a stab. I think what is meant by "atomic" is that edits are not done on the file in place. T

CFEngine Help: Re: delete_lines and select region

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: delete_lines and select region Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,26551,26631#msg-26631 I was referring to passes within a single cf-agent run. During each run, cf-agent makes three passes over each bundle, evaluating the promis

CFEngine Help: Re: delete_lines and select region

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: delete_lines and select region Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,26551,26627#msg-26627 I don't understand something about edit_file. The reference mentions that " All file edits specified in a single edit_line bundle are handle

CFEngine Help: Re: building cfengine with libvirt support

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: building cfengine with libvirt support Author: linuxgurugamer Link to topic: https://cfengine.com/forum/read.php?3,26563,26629#msg-26629 Following up, I just tried running ./configure --with-libvirt in a new directory, and it successfully found it. This is on a

CFEngine Help: Re: building cfengine with libvirt support

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: building cfengine with libvirt support Author: linuxgurugamer Link to topic: https://cfengine.com/forum/read.php?3,26563,26628#msg-26628 Did you specify the --with-libvirt option to the configure command? ___ Help-cfeng

CFEngine Help: Re: About cf_promises_validated

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: About cf_promises_validated Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26590,26626#msg-26626 I've narrowed down my policy. I do not know how but, something in the following policy seems to be causing cf_promises_validated to be upda

CFEngine Help: Re: How to instert white line ?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: How to instert white line ? Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,26615,26625#msg-26625 I think the variable has to be scalar. I like to define lists for readability and then join them to strings: "vim_configu

CFEngine Help: Re: building cfengine with libvirt support

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: building cfengine with libvirt support Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26563,26624#msg-26624 Libvirt-devel is installed. https://cfengine.com/forum/read.php?3,26564 ___ Help-cfen

CFEngine Help: Re: How to instert white line ?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: How to instert white line ? Author: bahamat Link to topic: https://cfengine.com/forum/read.php?3,26615,26623#msg-26623 You should be able to use $(const.n) instead: "vim_slist => { "$(const.n)", "\" Change default colour set", "color

CFEngine Help: Re: How to instert white line ?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: How to instert white line ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26615,26622#msg-26622 I tried this but is not working at all (no white line) : "vim_configuration_default" stri

CFEngine Help: Re: How to manage different types of servers?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: How to manage different types of servers? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26618,26621#msg-26621 When you are trying to do new things it is best to start with a very small self contained prototype policy. Changes tacked on

CFEngine Help: Re: building cfengine with libvirt support

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: building cfengine with libvirt support Author: linuxgurugamer Link to topic: https://cfengine.com/forum/read.php?3,26563,26620#msg-26620 Is the libvirt development package installed? On RedHat, it is called libvirt-devel. You can tell by using the following comm

CFEngine Help: Re: How can I auto-restart cf-execd on update ?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: How can I auto-restart cf-execd on update ? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26491,26619#msg-26619 When you run cf-execd -F it runs once, in the foreground and exits. ___ Help-cfe

CFEngine Help: How to manage different types of servers?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: How to manage different types of servers? Author: linuxgurugamer Link to topic: https://cfengine.com/forum/read.php?3,26618,26618#msg-26618 We have several different types of servers, which can be grouped into several main groups. For this discussion, I'll refer to

CFEngine Help: Re: How can I auto-restart cf-execd on update ?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: How can I auto-restart cf-execd on update ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26491,26617#msg-26617 Hi, If cf-execd fail to start, it will never start again if no policy update occurs ... cf-execd -F ? --no-fork, -F

CFEngine Help: Re: How to instert white line ?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: How to instert white line ? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26615,26616#msg-26616 You might try inserting comment lines instead. Another option is to use edit_template and keeps the lines in block. Also, using edit_line

CFEngine Help: How to instert white line ?

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: How to instert white line ? Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26615,26615#msg-26615 Hi, I'm looking to add a white line at the end of a file (followed by 2 non-white line) ... but I'm not able to do it ..

CFEngine Help: Re: copy from symbolic links with link type=none

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: copy_from symbolic links with link_type=none Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,26584,26614#msg-26614 Sorry, I should have been more clear. I was saying that using files_single_copy looks like it could be a replacement for

CFEngine Help: Re: Dynamic inputs and maplist function

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: Dynamic inputs and maplist function Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26595,26613#msg-26613 Submitted a bug report. https://cfengine.com/bugtracker/view.php?id=1251 ___ Help-cfengi

CFEngine Help: Re: copy from symbolic links with link type=none

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: copy_from symbolic links with link_type=none Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,26584,26612#msg-26612 Argh. Didn't see copylink_patterns =) ___ Help-cfengine mailing list Help-cfengine@

CFEngine Help: Re: copy from symbolic links with link type=none

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: copy_from symbolic links with link_type=none Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,26584,26611#msg-26611 Hello, nickanderson, I don't see your point. How would you use files_single_copy to actually copy the link destination instead

CFEngine Help: Re: policy_path.dat selecting config source from server

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: policy_path.dat selecting config source from server Author: linuxgurugamer Link to topic: https://cfengine.com/forum/read.php?3,25625,26602#msg-26602 Could you show a more complete example of how to use this? ___ Help-c

RE: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread serge.tchesmeli
> > > Does a packaged patched version will be soon available ? > > In a week or two, as we accumulate more bugfixes for 3.3.x maintenance > release. Ok thanks :) _ Ce messag

Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread Mikhail Gusarov
On 07/24/2012 02:28 PM, serge.tchesm...@orange.com wrote: > Does i need to open bug or is ok and fixed in 3.4 ? Already fixed, actually waited a few minutes for a bug to appear to put a number into a commit, but then decided to go ahead, committed and pushed. > Does a packaged patched version w

RE: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread serge.tchesmeli
Does i need to open bug or is ok and fixed in 3.4 ? Does a packaged patched version will be soon available ? Thx for all. > -Message d'origine- > De : help-cfengine-boun...@cfengine.org [mailto:help-cfengine- > boun...@cfengine.org] De la part de Bas van der Vlies > Envoyé : mardi 24 ju

Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread Bas van der Vlies
On 07/24/2012 02:10 PM, Mikhail Gusarov wrote: > On 07/24/2012 01:23 PM, no-re...@cfengine.com wrote: >> Forum: CFEngine Help >> Subject: cfengine 3.3.4 sys.domain empty ??? >> Author: stchesmeli >> Link to topic: https://cfengine.com/forum/read.php?3,26600,26600#msg-26600 >> >> Hi all, since i upg

Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread Mikhail Gusarov
On 07/24/2012 01:54 PM, Bas van der Vlies wrote: > and everythings works as expected. So this is a bug! Fixed in master and 3.4 branch. -- Mikhail Gusarov ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/

CFEngine Help: Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ??? Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,26601,26604#msg-26604 I don't have any sys.domain or sys.fqhost problems on 3.4.0b1. ___ Help-cfengine

Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread Mikhail Gusarov
On 07/24/2012 01:23 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: cfengine 3.3.4 sys.domain empty ??? > Author: stchesmeli > Link to topic: https://cfengine.com/forum/read.php?3,26600,26600#msg-26600 > > Hi all, since i upgrade to cfengine 3.3.4 (cfengine-community_3.3.4_amd64.

CFEngine Help: Re: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: cfengine 3.3.4 sys.domain empty ??? Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,26600,26603#msg-26603 I don't have this problem on either hpux 11.31 or RedHat ELS 5.8 running community 3.3.4. ___

Re: CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread Bas van der Vlies
On 07/24/2012 01:23 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: cfengine 3.3.4 sys.domain empty ??? > Author: stchesmeli > Link to topic: https://cfengine.com/forum/read.php?3,26600,26600#msg-26600 > > Hi all, since i upgrade to cfengine 3.3.4 (cfengine-community_3.3.4_amd64

CFEngine Help: cfengine 3.3.4 sys.domain empty ???

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: cfengine 3.3.4 sys.domain empty ??? Author: stchesmeli Link to topic: https://cfengine.com/forum/read.php?3,26600,26600#msg-26600 Hi all, since i upgrade to cfengine 3.3.4 (cfengine-community_3.3.4_amd64.deb from this website) the variable "sys.domain" is empty. My u

CFEngine Help: Re: readstringlist weird behaviour when reading /proc/mounts on linux

2012-07-24 Thread no-reply
Forum: CFEngine Help Subject: Re: readstringlist weird behaviour when reading /proc/mounts on linux Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,26596,26599#msg-26599 Oups. Duplicate bug, didn't find it in the first time. ___ Hel