Forum: Cfengine Help
Subject: Re: How to extract values (not keys) from an array to slist?
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,21174,21177#msg-21177
I struggled with this same problem some time ago, and eventually realized that
I didn't really need a getvalues()
Forum: Cfengine Help
Subject: Re: set_user_field multiple lines
Author: regan99
Link to topic: https://cfengine.com/forum/read.php?3,21094,21176#msg-21176
Was your goal for it to look like this?
backoffice:x:1002:user1,user2,user3
exploration:x:1003:user4,user5
If so, I think it's the same iss
Forum: Cfengine Help
Subject: Re: How to extract values (not keys) from an array to slist?
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,21174,21175#msg-21175
Mike Svoboda Wrote:
---
> So, I can use getindexes() to extract th
So, I can use getindexes() to extract the indexes of an array into an slist. I
need to do the opposite, and extract just the values. Anyone have a working
solution?
I just need to be able to create an slist with all of the values of the array.
Thanks
Mike
_
Forum: Cfengine Help
Subject: Re: your opinion about user account management
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,21170,21173#msg-21173
santa Wrote:
---
> I would like to know what's the best way to manage user accou
On Wed, Mar 09, 2011 at 07:44:58AM -0500, no-re...@cfengine.com wrote:
>Forum: Cfengine Help
>Subject: Re: Bundling the configuration into modules
>Author: neilhwatson
>Link to topic: https://cfengine.com/forum/read.php?3,20949,21008#msg-21008
>
>Typically files are organizes thus:
>
>Cfengine poli
Forum: Cfengine Help
Subject: Re: Class based scheduling?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21169,21171#msg-21171
Yes, I believe that should work. Test carefully though. I've made a few
scheduling mistakes in the past.
Forum: Cfengine Help
Subject: your opinion about user account management
Author: santa
Link to topic: https://cfengine.com/forum/read.php?3,21170,21170#msg-21170
Hello,
I would like to know what's the best way to manage user accounts with cfengine
3.
I think I will have to manage around 30 users
Forum: Cfengine Help
Subject: Class based scheduling?
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,21169,21169#msg-21169
If I want to limit a group of machines from waking up and phoning home to a
certain time, is this a vaild use of the config?
body executor control {
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: How to create classes of operating system
sorted by version
Author: max_fr
Link to topic: https://cfengine.com/forum/read.php?3,21167,21168#msg-21168
Thanks you both!
Yes, the second solution is more easy to use.
Max
no-re...@cfengine.com writes:
> classes:
> "redhat_5_4_plus" or => {"redhat_5_4", "redhat_5_5", "redhat_5_6",
> "redhat_5_7", "redhat_5_8"};
>
>
> Not super elegant but it should cover all possible future Red Hat 5 updates.
If we're going for elegance I would use classmatch():
classes:
Forum: Cfengine Help
Subject: Re: How to create classes of operating system sorted by version
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21163,21166#msg-21166
classes:
"redhat_5_4_plus" or => {"redhat_5_4", "redhat_5_5", "redhat_5_6",
"redhat_5_7", "redhat_5_8"};
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Running cf-serverd as non-root
Author: berntjernberg
Link to topic: https://cfengine.com/forum/read.php?3,21152,21165#msg-21165
Hi,
One can start cf-serverd as non-root with strict permissions on user's home
directory and .cfagent.
# ls -ld
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Running cf-serverd as non-root
Author: berntjernberg
Link to topic: https://cfengine.com/forum/read.php?3,21152,21164#msg-21164
Hi,
Thanks for the response, I think this is an important discussion.
> Having said that, let's consider least priv
Forum: Cfengine Help
Subject: How to create classes of operating system sorted by version
Author: max_fr
Link to topic: https://cfengine.com/forum/read.php?3,21163,21163#msg-21163
Hi,
I would like create classes of operating system sorted by minor version. For
example, i have many redhat version
Ted,
There were two race conditions in cf-serverd of Cfengine 3.1.2.
It is likely that this is what you are seeing, so please try to
upgrade to 3.1.4.
If that does not help, please have a look at
http://www.cfengine.org/pages/troubleshoot to see how to gather enough
data for it to be fixed.
--
16 matches
Mail list logo