I agree - for the specific example, set_variable_values seems like a good way
of doing it. You could also use a template with edit_template, and just insert
the values that you want, then the file will preserve the formatting from the
template.
--Diego
On Sep 3, 2012, at 3:37 PM, Nick Anderson
On 09/03/2012 05:10 AM, Gregory Matthews wrote:
On 31/08/12 17:30, Diego Zamboni wrote:
Greg,
You could split the lines into a list, then you can still pass them to
insert_lines but they will not be indented. Just separate them by
commas in your code, should work fine.
undle agent test {
Forum: CFEngine Help
Subject: Re: Solaris zone_ classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27191,27192#msg-27192
That is new in 3.4.0 which is still in pre release:
https://cfengine.com/forum/read.php?3,27069
___
H
Forum: CFEngine Help
Subject: Solaris zone_ classes
Author: bahamat
Link to topic: https://cfengine.com/forum/read.php?3,27191,27191#msg-27191
The cf3 reference manual says that a class of "zone_name" should be set on
Soalris 10. Maybe it's just overly specific, but I don't see zone classes being
Forum: CFEngine Help
Subject: Re: List element extraction fails
Author: m...@last.fm
Link to topic: https://cfengine.com/forum/read.php?3,27162,27190#msg-27190
Ah - that's the key distinction, I think.
Both "public" and "private" are arrays populated by the "regextract" function,
which assigns r
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: About cf_promises_validated
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27037,27189#msg-27189
Yes, I use digest.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
Hi list!
I'm trying to setup cfengine on my network and faced unexpected behavior.
Most of my linux nodes have routable IPs defined under lo interface,
like 192.168.1.5/32 192.168.78.25/32 and so on,
but looks like cfengine doesn't define class with the IPs of the
loopback interface. Is it intende
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: About cf_promises_validated
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,27037,27185#msg-27185
@ Neil
I tried your script in this thread but no dice
https://cfengine.com/bugtracker/view.php?id=1258
No clue. I might be
Forum: CFEngine Help
Subject: Re: List element extraction fails
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,27162,27184#msg-27184
I do not see where 'public' is defined. However, the syntax shown in your
example is an array (associative) not a list.
Forum: CFEngine Help
Subject: Eye Specialist in indore
Author: eyehospital
Link to topic: https://cfengine.com/forum/read.php?3,27183,27183#msg-27183
Advance eye treatment is done at Choithram Netralaya, Indore. Choithram
Netralaya is place for A Best Eye Specialists in Indore. It is specialised
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: About cf_promises_validated
Author: Heloods
Link to topic: https://cfengine.com/forum/read.php?3,27037,27182#msg-27182
Is there any trouble with system time or soft of? Does the hub copy masterfiles
to inputs everytime it runs?
___
> On 31/08/12 17:30, Diego Zamboni wrote:
>> Greg,
>>
>> You could split the lines into a list, then you can still pass them to
>> insert_lines but they will not be indented. Just separate them by
>> commas in your code, should work fine.
the only way I've found to make it work is thus:
body comm
Forum: CFEngine Help
Subject: Re: List element extraction fails
Author: m...@last.fm
Link to topic: https://cfengine.com/forum/read.php?3,27162,27180#msg-27180
If that's the case, I'm missing something. I don't understand the difference
between:-
"private_ip" string => "$(private[2])";
wher
that would be nice wouldn't it? however, the following code does not work:
body common control
{
bundlesequence => { "test" };
inputs => { "cfengine_stdlib.cf",
"dls_std_lib.cf" };
}
bundle agent test {
vars:
files:
"/tmp/ifcfg-eth0-range0"
create => "true"
Forum: CFEngine Help
Subject: Guild Wars 2 Forum-SEO Expert
Author: guildwars2
Link to topic: https://cfengine.com/forum/read.php?3,27178,27178#msg-27178
Guild Wars 2 forum seo expert in news, guides, strategy and updates and
discussion. SEO may target different kinds of search, including image s
15 matches
Mail list logo