CFEngine Help: Re: Using Variables in insert lines

2012-01-10 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24417,24534#msg-24534 zzamboni Wrote: --- > Yes and no - it would work, but you wouldn't be > able to change valu

CFEngine Help: Re: Using Variables in insert lines

2012-01-10 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24417,24533#msg-24533 sauer Wrote: > Wouldn't that just be the "append_if_no_lines" > bundle, called with a "lines" slist generated by > something like this: Yes

CFEngine Help: Re: Using Variables in insert lines

2012-01-10 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24417,24531#msg-24531 zzamboni Wrote: --- > It shouldn't be too hard to make a version > of set_config_values() t

CFEngine Help: Re: Using Variables in insert lines

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24417,24528#msg-24528 As is, the set_config_values() bundle will not work for the case you describe. For this you could use plain insert_lines: promises as I sho

CFEngine Help: Re: Using Variables in insert lines

2012-01-09 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: timw077 Link to topic: https://cfengine.com/forum/read.php?3,24417,24526#msg-24526 Will this work with multiple lines being the same "setting?" i.e.for rsyslog, I need a couple of setting, and some seings I want to lo

CFEngine Help: Re: Using Variables in insert lines

2011-12-22 Thread no-reply
Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24417,24418#msg-24418 You almost got it: bundle agent conf_system_syslog { vars: ipv4_192_168_235:: "syslog_host" string => "192.167.235.34"; ipv4_192_168_5::