tag:blogger.com,1999:blog-3615332969083650973.post5548157148652618664..comments2024-03-18T21:47:09.885-04:00Comments on sysadvent: Day 19 - Why Use Configuration Management?Jordan Sisselhttp://www.blogger.com/profile/13694925032675599790noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3615332969083650973.post-42649929522161054722011-12-21T00:51:25.443-05:002011-12-21T00:51:25.443-05:00Agree with the previous comment, but I think Aleks...Agree with the previous comment, but I think Aleksey was showing that it is possible to customize the behaviour of things in the CFEngine language - while many assumptions are hard-coded in Puppet and Chef. <br /><br />Using the abstraction facilities in CFEngine, we could make all the examples into one-liners too, so CFEngine extends to a lower level without having to open up the code and program, but in normal usage, you would just use these higher level abstractions.Mark Burgesshttp://www.cfengine.com/special_topicsnoreply@blogger.comtag:blogger.com,1999:blog-3615332969083650973.post-71429691601243581832011-12-21T00:39:37.876-05:002011-12-21T00:39:37.876-05:00The CFEngine policies are made to look much more c...The CFEngine policies are made to look much more complicated than necessary here, because they don't make use of the standard library, so the editing example ought to be written<br /><br />files:<br /> "/etc/nologin"<br /> create => "true",<br /> edit_line => insert_lines("Server will be down for maintenance 2 AM - 4 AM");<br /><br />though your example does show how the CFEngine version can be extended in ways the others can't.<br /><br />Also the CFEngine examples have a lot of comments that seem to make them longer. Comments are, of course, a good thing and CFEngine is a lot stronger on Knowledge Management as we saw at LISA this year.Anonymousnoreply@blogger.com