On 09/10/2011 08:28 PM, Erlend Leganger wrote:
On 10 September 2011 17:39, <no-re...@cfengine.com <mailto:no-re...@cfengine.com>> wrote:

    See:

    http://www.puppetcookbook.com/
    http://forge.puppetlabs.com/


I enjoyed the puppetcookbook above, it was nice and too the point. But there is a very similar thing in cfengine ([1]), explaining how to do much of the same tasks as in the cookbook.



[1]: http://cfengine.com/manuals/cf3-solutions.html


There is also Neil Watson's cookbook. I think the difference between Puppet and CFEngine is that we offer the tools to create such abstractions (e.g.with methods) rather the forcing you into one and only one hardwired form that you end up having to modify by code. The purpose of the standard library is to make examples of such abstractions that anyone can use.

PS: I have not seen Puppet before, but I noticed immediately that it seems to have more higher level constructs than Cfengine. For example, to add a new host you use host{} in Puppet, in Cfengine you edit /etc/hosts; to add a new group you use group{} in Puppet, in Cfengine you edit /etc/group etc. Both approaches has its merits, I guess, but for beginners, it's probably easier to get going with Puppet. And Puppet allows dangling/trailing commas, something I as a Perl geek miss in Cfengine, hehe...

Where does this myth come from that CFEngine does not allow trailing commas? I think you will find that this has been the case since 3.0.x where x is a small number.

M
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to