Hi David
> So it seems that the field edits are seeing the content of the
> selector as a regex?
I think so, too. Yes.
> Is there a way to escape this somehow?
Yes: the escape() function. Please try that, and let us know if it fixes
the problem. Thanks
Ciao
-- bronto
Forum: CFEngine Help
Subject: Regular expression error "nothing to repeat"
Author: dpullman
Link to topic: https://cfengine.com/forum/read.php?3,26109,26109#msg-26109
I'm trying to use Diego Zamboni's bundle set_config_values to edit syslog.conf.
It works with one selector field, but when I subs
Diego Zamboni wrote:
>Hi Nick,
>
>What is the value of $(user)? And as what user are you running
>cf-agent?
>
>--Diego
>
>On Jun 1, 2012, at 1:47 PM, Nick Anderson wrote:
>
>> I stumbled on this script today that is using env $HOME and when run
>> from cfengine it always sees that variable as roo
Hi Nick,
What is the value of $(user)? And as what user are you running cf-agent?
--Diego
On Jun 1, 2012, at 1:47 PM, Nick Anderson wrote:
> I stumbled on this script today that is using env $HOME and when run
> from cfengine it always sees that variable as roots home.
>
> I thought that uses
I stumbled on this script today that is using env $HOME and when run
from cfengine it always sees that variable as roots home.
I thought that useshell would get me that users normal env but when I run
"/usr/bin/env"
contain => setuid_sh("$(user)");
I get roots env dumped
Q: "...sr
On 01/06/2012 17:37, Marco Marongiu wrote:
> What I really fail to understand is why the readstringarray function
> doesn't fill out $(records) any more when I make the bundles
> parametric. Can you reproduce that? Is it a because of a stupid
> mistake on my side?
FYI, I tried to move the readst
On 31/05/2012 20:48, no-re...@cfengine.com wrote:
> Marco, please look at my reply to your original message (which
> admittedly, I just posted, although I thought I had posted it way
> back then):
> https://cfengine.com/forum/read.php?3,26058,26098#msg-26098
:-D
> I haven't looked at your new bu
Hi Diego, thanks for answering
As you've seen, my final policy does much more than that, so I'll follow
up with this conversation in the other thread.
Ciao
-- bronto
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/