Enterprise API Examples · Tutorials. See Also: Tutorial for Running Examples. CFEngine Manual. Table of Contents. Table of Contents. CFEngine CFEngine is a configuration management system that provides a framework for.

Author: Gonos Kazicage
Country: Austria
Language: English (Spanish)
Genre: Environment
Published (Last): 19 March 2007
Pages: 262
PDF File Size: 10.97 Mb
ePub File Size: 8.53 Mb
ISBN: 572-9-91256-366-2
Downloads: 68205
Price: Free* [*Free Regsitration Required]
Uploader: Tujinn

We’ve described setting up a small network of hosts managed by CFEngine previously, but once installed what do you do with it? Well one common job for automating is to ensure that you have particular packages installed upon all your clients.

With CFEngine this is simple. If you’re already using CFEngine you should be familiar with copying files from your crengine server to your client systems. What we’re going to do to manage packages is to copy two files to each client:. These lines are invalid.

CFEngine doesn’t like lines to be broken up like this. I’ve only done so to avoid wrapping issues. The result of this is that if the autoapt.

CFEngine Documentation – CFEngine Manual

The configuration file looks like this:. In this example the packages lessvimsudoand deborphan will be installed upon all managed hosts – and the machine with hostname desk1 will have emacs21 installed upon it. The autoapt files were originally taken from this site and updated to conform to the documentation. You can download documentatino from here:. Several people have suggested I look at Puppet which is something I’ve been doing for the past few weeks.

On the plus side it is cleaner and has more flexability. On the down side it uses Ruby, isn’t as easy to install on Sarge and is less well known. I think that it will become much more popular when it becomes more mature – and then I can use cfengine to install it.



I’ve not seen that error before, but I think I can see where it comes from. See how in the example I split the copy action into multiple lines?

For example see the copy action in this sample file. Yeah the sample file is just that – a sample.

It isn’t related to the article here, but I pointed it out as an example of a valid “copy” line. At the odcumentation when I tried it setting the package format to “dpkg” meant using Sun packages, rather than Debian ones. I wrote this before I started working with pluginsand knew about those kind of things. Trademarks are the property of their respective owners. Debian is a registered trademark of Software in the Public Interest, Inc. Copyright Steve Kemp Site hosting provided by Bytemark Doucmentation.

Posted by legooolas The author has a blog at http: I’m hoping to get people at my current workplace into using it, since it looks much more high-level and flexible than cfengine, and supports using apt-get to install packages automatically, etc.

I’m not affiliated with it in any way, I’ve just been impressed with it more than I was with cfengine: Posted by Steve I think that it will become much more popular when it becomes more mature – and then I can use cfengine to install it ; Steve. Posted by Anonymous In cfengine you have to place it on one line. No splitting is allowed. I’ll update the article to make this clear. Sorry for the error.


Posted by kev I hope I didn’t complicate things further. Posted by ultraplexer What is the advantage of autoapt. Cfengine is able to install software without any additional tools.

I know that the documentation is a little bit rare about this fact. With this script you can do more than just add packages too – you can uninstall them. How do you remove packages with this script? I don’t see any documentation for it and don’t see anywhere in the code that an apt-get remove is called. I think that it could be added quite easily though. Provided somebody doesn’t documentatkon me where I’m missing this feature I may try to code it up sometime.

If I do where should I send or post it?

Sorry you are correct, please see the updated code here: Steve, Thanks so much! That is exactly what I’ve been longing for. You didn’t make all those changes last night did you? Those are some major changes from what was available before. I can’t wait to put this to work. No, they were made a while back – but I forgot to update the code here. Posted by siprbaum Sorry for the lame formating no tabsbut I’ve no clue about html formating and the help mentions just cengine few HTML tags, but not what the do.

Articles and comments are the property of their respective posters.

Author: admin