2009/12/15 Aleksey Tsalolikhin <[email protected]> > > Hi. I've used cfengine 2 for a couple of years. I am starting out > with cfengine 3. > > I've built and installed cfengine 3. > > Now I want to learn how to configure it. > > I started at www.cfengine.org. I've gotten to > http://www.cfengine.org/pages/compare which is the first place with > cfengine configuration code snippets -- but none of them work. > > For example: > > promises.cf: > > body agent control > { > bundlesequence => { > webserver("on"), > }; > } > > > # cf-agent > cf3:/var/cfengine/inputs/promises.cf:5,19: syntax error, near token '}' > !!! No bundlesequence in the common control body > Summarizing promises as text to /var/cfengine/inputs/promises.cf.txt > Summarizing promises as html to /var/cfengine/inputs/promises.cf.html > cf-agent was not able to get confirmation of promises from > cf-promises, so going to failsafe > Can't stat file "/var/cfengine/inputs/failsafe.cf" for parsing > !!! System error for stat: "No such file or directory" > # > > Then I turned to the cfengine 3 reference manual at > http://www.cfengine.org/manuals/cf3-reference.html > > BTW, this manual references cfengine 3.0.3 and I have 3.0.2 as the > latest version. Why isn't 3.0.3 on the web site, please? > > Following the manual, I found the example *.cf files shipped in the > "inputs" directory of the distribution tarball. > > Ok, I am rolling now, but just wanted to share my experience. > > It would help if the cfengine 3 reference manual was linked to from > www.cfengine.org Getting Started page and the FAQ page, please. > > Yours truly, > -at > > > > > > > > I tried the "Get Started" page, > http://www.cfengine.org/pages/getstarted, but also no working code > there. > > This is starting to get frustrating. > > Next, on the FAQ page, I find "What is the best way to learn > cfengine?", with a link to http://www.sage.org/pubs/16_cfengine/ > > Well, I have 16_cfengine, it's from 2007 and covers cfengine 2, not 3. > _______________________________________________ > Help-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/help-cfengine
I bet this is the typical experience for anyone coming into the cfengine world - it is not particularly newbie friendly. This is a bit strange when you think about the business model for cfengine - as I see it, it is the usual freemium model where the basic service is free (cfengine community), while you can get more advanced features if you pay (nova et al). This model is completely sound, but works best if it is easy for users to take the free service into use and start to depend on it - cfengine has a potential for improvement here. However, there are indications that such improvements are on the way, ref the response to a similar thread back in November: https://cfengine.org/pipermail/help-cfengine/2009-November/006556.html I hope this example/cookbook site will come online soon and I certainly intend to participate - maybe not so much by providing my own cfengine samples (because I'm new to this), but by pointing out what I need in order to use cfengine more extensively - Erlend Leganger PS: Sorry for not answering any of the OP's questions - I realise that I just used this as chance to rant, hehe... _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
