CFEngine is a configuration management tool.

learn more… | top users | synonyms (1)

0
votes
0answers
19 views

CFEngine and JBoss

Does anyone know of any good examples of how to configure JBoss using CFEngine. I'm not thinking so much about installing JBoss, but rather maintaining the server/application konfiguration, presumably ...
1
vote
1answer
54 views

cf-agent Error: “Unexpected argument with no preceding option”

I've installed CFEngine on my policy server and host, according to the documentation here: https://docs.cfengine.com/docs/3.5/getting-started-installation-installing-community.html When I run the ...
2
votes
2answers
57 views

CFEngine - applying separate policies to different servers

I'm looking at using CFEngine on some linux servers. My problem is that I need to be able to apply separate policys depending on the server. I looked all over their documentation, and I cannot find ...
0
votes
0answers
78 views

automatic upgrade of debian repo keyrings: how risky?

I wrote a CFEngine policy to manage the packages debian-keyring and debian-archive-keyring on Debian and Debian-based systems. For those packages, I would like to set the policy to addupdate, that is: ...
1
vote
1answer
67 views

Cfengine Perform action based on variable value

In cfengine, I have a variable that is set to the output of a command. Let say variable myoutput is set to "hi world". How can I execute a command based on the contents of myoutput. I would like ...
2
votes
1answer
45 views

Aggregating emails from cron and cfengine

I've recently taken over administration of a decent size network (900 FreeBSD or Linux hosts across 10 physical sites) where we get a lot of email destined for root, mostly from cfengine (v2). We've ...
0
votes
1answer
201 views

CFEngine Templates and Overwriting Files

I'm having issues with CFEngine's templating system. I install a package, ganglia in this specific case, that creates a default config file. Then I want to add lines to /etc/ganglia/gmond.conf ...
0
votes
3answers
350 views

Installing CFEngine on Ubuntu 12.04 - Can't stat file

I am trying to install CFEngine on Ubuntu 12.04. For simplicity's sake, I am using a virtual machine with a fresh (with updates installed) version of Ubutu Server. I installed CFEngine 3.5.1 from ...
1
vote
2answers
398 views

How the particular client pull the policy from the cfengine server

I am working on the CFEngine, but i am newbie to this concept. for my requirement i am using single server and i am using 10 clients, now all the ten clients pull the policy from the server and ...
3
votes
1answer
126 views

Is cf-serverd necessary?

Since a cfengine client can run autonomously based upon the files in its 'inputs' directory, why is it necessary to have a policy server running cf-serverd? Would some other file distribution ...
2
votes
1answer
853 views

Setting cfengine3 class based on command output

This question is very similar to How can I use the output of a command in cfengine3 but the answer does not apply in my case I believe. I want to update a git repository via "git pull" and based on ...
7
votes
2answers
698 views

How can I use the output of a command in cfengine3

I want to list a directory content and use the result somewhere else: bundle agent test { commands: "ls /tmp/test/"; reports: ubuntu:: "print output here for example"; # ...
1
vote
4answers
921 views

cfengine 3 policies slow update to clients

My problem: cfengine3 policies are manually created/updated on the server (policy hub), and the clients regularly (every ~ 5 minutes) pull those from the server:/var/cfengine/masterfiles to their ...
2
votes
1answer
307 views

Syntax check cfengine files before updating git repository

I have my cfengine (2 and 3) files in a git repository fronted by gitolite. Users of this repo have a pre-commit hook that will perform syntax/promise checks on the files as needed. This works fine. ...
0
votes
1answer
103 views

CFEngine v2 not “propagating” Classes to client

Morning, I have a very odd issue with CFEngine 2.1.22. I have two groups in cf.groups as below # devservers that need default sudoers group_default_sudoers = ( dev4_company_local ...
0
votes
1answer
318 views

Cfengine reporting files deployed

Hi I'm testing out cfengine deploys in rhel 5.6. Everything works great but I am wondering if there is a way for the community edition of cfengine to report to a file all the files it has deployed to ...
4
votes
2answers
327 views

Configuration Management Software for Linux for “harvesting” config-files

Managing 50 servers manually, and been looking through the different cms for linux (cfengine,puppet,chef etc) It's use will primarily for CM for config-files. Is there a cms out there that gather ...
3
votes
3answers
962 views

Is there an automated method to simplify cfengine config?

I work with a cfengine installation that has grown organically and become quite complicated. Some stanzas use many classes, e.g., class1&(class2|class3)&!class4|class5 Is there some tool that ...
10
votes
2answers
736 views

Configuration Management overkill for 3 node clusters?

I have 2-3 node clusters for our load balancers and various web applications. I'm having to make the change in QA first, then in staging (on 2-3 servers), then in production (on 2-3) servers. Is a ...
14
votes
5answers
3k views

What's the strengths and weaknesses of existing configuration management systems? [closed]

I was looking up here for some comparisons between CFEngine, Puppet, Chef, bcfg2, AutomateIt and whatever other configuration management systems might be out there, and was very surprised I could find ...
5
votes
3answers
285 views

What configuration management solutions exist in a non-networked environment?

My servers exist in an environment without outside network connectivity (this is a requirement), so when I deploy updates all packages, binaries, config files, etc. must be included on the delivered ...
2
votes
6answers
4k views

How to edit /etc/shadow on many Linux servers?

I would like to change the root password on about 20 Linux servers. Mostly CentOS and Ubuntu. So I have looked at Puppet, chef, and cfengine, but I can't really tell if they can do that, or if they ...
1
vote
2answers
1k views

cf3 Can't stat … in files.copyfrom promise

On the client: # cf-agent -KIv ... cf3 -> Handling file existence constraints on /etc/cfengine3 cf3 -> Copy file /etc/cfengine3 from /srv/cfengine/sysconf/server/inputs check cf3 No existing ...
4
votes
5answers
2k views

Puppet performance compared to CFEngine

I'm trying to decide between using Puppet or CFEngine for my configuration management system. Performance is going to be a key factor, and research on the internet suggests CFEngine uses less memory ...
0
votes
1answer
344 views

cfengine: No access to workspace

I'm completely new to Cfengine and I've just installed it on my Debian system. But when I try to invoke any of its executables as a non-privileged user, here is what I always get: $ /usr/sbin/cf-key ...
0
votes
1answer
517 views

How do you organize system configuration files for cfengine3?

Where do you like to put system configuration files (not the cfengine language) for cfengine to copy into place?
2
votes
1answer
217 views

Can I pass the LHS of a cfengine3 processes: line to the RHS?

I'm using cfengine to start the foobar process. Apparently the LHS is discarded when I use process_select? Can I simply pass the LHS to a function, rather than having to put the command match pattern ...
1
vote
2answers
232 views

How do I read a pid file in cfengine?

How do I read a pid file in cfengine 3 and restart that process if it isn't running?
1
vote
2answers
500 views

How do I add a low_disk_space class to cfengine3 if my disk is more than 90% full?

I would like to set a class in cfengine3 so I can perform an action if the disk is almost full.
0
votes
1answer
783 views

How do I configure cfengine3 to e-mail me when / has less than 10GB free?

I'd like to get a notification when my server's free disk space drops below 10GB. How do I configure cfengine3 to tell me when / has less than 10GB of free space?
2
votes
5answers
332 views

Install Automation across *nix + Windows

Am looking at Puppet and Cfengine. Unfortunately neither can do Windows deployments. Can you suggest some alternatives? Thank you.
2
votes
3answers
479 views

cfengine3 outputs directory

I have started running cfengine3, using cf-execd to schedule runs of cf-agent at the default interval of every 5 minutes. cf-execd captures the output of cf-agent (which is run with the --inform ...
0
votes
2answers
288 views

cfengine3 file_copy only on source side change

I am using the 'digest' copy method for all file copy promises, because of the way we package and deploy software, I cant rely on mtime for the criteria for updating files. For various reasons, I am ...
8
votes
4answers
5k views

How to set up Cobbler with Puppet or Cfengine?

I've heard a lot about using Cobbler together with Puppet/Cfengine for rapid deployment & configuration. Can you point me to some tutorials or share you experience of how you do it? Would also ...