Questions tagged [cfengine]

CFEngine is a configuration management tool.

CFEngine is a configuration management tool that allows you to automate system configuration and administration. It is lightweight and scalable. CFEngine 3 is a completely redone version of the tool, with a new configuration language that makes it easier to extend and use the language.

41 questions
0
votes
1 answer

CfEngine - Call variables and classes from different CF or promises.cf

I want to put body package_method and some variables in promises.cf or in a different file and I should be able to call it from any new CF files I write. Is that possible? I could not find anything related to such methods in the documentation. I…
user
  • 1
  • 5
0
votes
2 answers

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 server (hub). My solution so far has been to…
steev
  • 165
  • 7
0
votes
2 answers

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 they are copied to the server, which is bad because…
moebius_eye
  • 1,103
  • 7
  • 21
0
votes
2 answers

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 create_test_file { files: …
wOvalle
  • 3
  • 1
0
votes
2 answers

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 not employing the client-server approach with a…
aaa90210
  • 351
  • 6
  • 15
0
votes
1 answer

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 depending on if its the the collection server or if its…
Tawm
  • 193
  • 1
  • 1
  • 11
0
votes
3 answers

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 the CFEngine repos. However, I keep getting the…
Daniel
  • 251
  • 4
  • 12
0
votes
1 answer

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 dev5_company_local …
Lars
  • 578
  • 2
  • 8
  • 18
0
votes
1 answer

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 a system. I deploy all files from a policy host…
Joe
  • 1
  • 1
0
votes
1 answer

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 Fatal cfengine error: !!! No access to…
lindelof
  • 919
  • 1
  • 8
  • 11
0
votes
1 answer

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?
joeforker
  • 2,399
  • 4
  • 26
  • 35
1 2
3