Forum: Cfengine Help
Subject: Re: Managing user accounts with Cfengine 3
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,20993,21006#msg-21006
zzamboni Wrote:
---
> eystein, it should, but I tried it the other day
> and got a "
Forum: Cfengine Help
Subject: Re: AppendIfNoLineMatching and Cfengine 3
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,19997,21005#msg-21005
Rob,
Sorry it took me a while to respond. The reason why this works is that the
normal order inside edit_line bundles is as follows:
Forum: Cfengine Help
Subject: Re: Managing user accounts with Cfengine 3
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,20993,21004#msg-21004
eystein, it should, but I tried it the other day and got a "not yet
implemented" error :(
_
Well, nothing is obvious from documentation I suspect, no matter how
hard we try. But it also doesn't say that you do not have to include
them the first example I found includes the common bundles...
http://www.cfengine.org/manuals/cf3-reference.html#Global-and-local-classes
On 03/08/2011 09
Is this obvious from documentation (e.g. why did Seva have to 'figure out'
common functionality)?
Mark Burgess wrote:
Not strictly true. There is no reason why common bundles should not be
included in the bundlesequence. Indeed, it increases the chances of
variables being expanded with multipl
Forum: Cfengine Help
Subject: Getting a long list of files into Cfengine
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,21000,21000#msg-21000
I'm trying to set up a promise that will ensure the first line of every perl
file under a directory (there's about 3,000 of them) is th
Not strictly true. There is no reason why common bundles should not be
included in the bundlesequence. Indeed, it increases the chances of
variables being expanded with multiple indirection. If any reports are
made in common bundles these will only be executed if the bundles are in
the sequence.
That was false advice. Common bundles aren't included into the
bundlesequence. What it meant to be done is to declare a local slist
inside the target bundle as follows:
bundle agent foo
{
vars:
"user_name" slist => { @(g.user_name) };
...
}
2011/3/7 Mikhail Gusarov :
> On 07.03.2011 00:58, J
Forum: Cfengine Help
Subject: Re: Managing user accounts with Cfengine 3
Author: eystein
Link to topic: https://cfengine.com/forum/read.php?3,20993,20998#msg-20998
I have not tried this myself, but I see that the hash() function in Cfengine
should support crypt.
See http://www.cfengine.org/manual
Forum: Cfengine Help
Subject: Re: Managing user accounts with Cfengine 3
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,20993,20997#msg-20997
Pretty much any Unix system using shadow passwords will take strings encrypted
with
perl -le 'print crypt( $ENV{q{PASS}}, join q{}, (0
Forum: Cfengine Help
Subject: Re: Managing user accounts with Cfengine 3
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,20993,20996#msg-20996
I have written a bundle to create users using the system-specific tools for
that purpose, rather than editing the files directly. I
On 07.03.2011 18:33, Mikhail Gusarov wrote:
> Ted,
>
> > As a suggestion, could the module execution take a
>> "namespace" string parameter so this is not an issue? And could the
>> module namespace be converted to a legal namespace without "." or any
>> other illegal characters?
>
> Filed as bugs
Forum: Cfengine Help
Subject: Re: Modules are spamming me
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,20990,20994#msg-20994
Thanks. That worked.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mai
Forum: Cfengine Help
Subject: Managing user accounts with Cfengine 3
Author: kenneho
Link to topic: https://cfengine.com/forum/read.php?3,20993,20993#msg-20993
Greetings everyone,
I'd like cfengine to manage some system user accounts on my RHEL servers, and
have come across a couple of suggesti
Forum: Cfengine Help
Subject: Re: Bundling the configuration into modules
Author: kenneho
Link to topic: https://cfengine.com/forum/read.php?3,20949,20992#msg-20992
Well, I basically just need some information on best practices regarding
configuration code structure as the code grow in size and c
15 matches
Mail list logo