On Mon, 8 Jul 2013 10:28:45 -0700 (PDT)
ysso...@gmail.com wrote:
y> I think this is an excellent intro book for Cfengine3, and as a beginner, I
y> started experimenting examples on this book's *pages 30 & 31*.
y> I tried the following 2 examples and got errors from both, and I don't know
y> for which part I did wrong.
...
y> 2013-07-08T10:21:58-0700 error: /blah/services/'ssh': A method attempted
y> to use a bundle 'default:standard_services' that was apparently not defined*
...
y> */var/cfengine/inputs/ex2.cf:12:0: error: Undefined bundle replace_or_add
y> with type edit_line
You're missing the standard library.
In 3.5.0, add
inputs => { "libraries/
cfengine_stdlib.cf" };
to your policy (in "body common control").
Ted