CFEngine is a configuration management tool.

learn more… | top users | synonyms

0
votes
2answers
52 views

How to disable a cfengine promise temporarily on a single client

I'm wondering what's the best, fastest, easiest way to temporarily stop, in an emergency, a single cfengine client from performing a certain promise, without needing to change anything on the cfengine ...
0
votes
1answer
31 views

Using CFEngine to copy a directory tree except certain files

I'm using CFEngine to deploy apache sites. So, I have a repository setup and my agents are copying files from it. The trouble is when I'm editing my files using vim, it creates swap files. And ...
1
vote
1answer
23 views

how to stagger scheduled cfengine tasks based on hostname

I'm trying to execute a scheduled task on a large-ish pool of virtual servers, but I want to minimize the resulting performance impact on the hypervisor, ideally executing it on one server at a time. ...
0
votes
2answers
51 views

Promises not triggering in hosts - cfengine

I'm new with cfengine. I created a simple promise that creates a file named testing into /etc/test-cfengine body common control { bundlesequence =>{"create_test_file"}; } bundle agent ...
0
votes
0answers
28 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
85 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
66 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 ...
1
vote
1answer
98 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
56 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
254 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
466 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
559 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
151 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
953 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
809 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
1k 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
335 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
109 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
357 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
410 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
1k 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
769 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 ...
16
votes
5answers
4k 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
295 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
5k 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
353 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
522 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
221 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 ...
2
votes
2answers
240 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
522 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
847 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
336 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
497 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
293 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 ...