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 => {
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
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
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
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.
___
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ..
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
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
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@
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
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
>
> > 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
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
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
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
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/
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
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.
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.
___
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
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
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
41 matches
Mail list logo