Pete, 

The cfengine3 package in the Ubuntu repositories is version 3.0.5, which is 
fairly old. The ability to use --bootstrap on the community edition of CFEngine 
first appeared in 3.2.0, the current version is 3.2.3.

If you don't want to compile from source (which is very easy to do), I would 
suggest you use the binary packages provided by us, which are available at 
https://cfengine.com/inside/myspace (you need to register a cfengine.com 
account, but it's free and gives you access to several additional resources at 
https://cfengine.com/inside/index ). Those are not fully up to date - the 
latest is 3.2.1, but it's still much more recent than 3.0.5. And it does not 
mess with the paths :)

Once you install a more recent version, when you bootstrap it it will 
automatically create a few sample files, including an update bundle. 
/var/cfengine/masterfiles is only needed on the policy hub, and if it's not 
installed automatically, you can copy it from 
/usr/local/share/cfengine/masterfiles/ (if my memory doesn't fail me).

Hope this helps,
--Diego


On Friday, December 23, 2011 at 5:19 PM, Pete Ashdown wrote:

> Does anyone have cfengine3 working with multiple nodes with the default 
> Ubuntu 10.04 packages?  The Googles are failing me in finding any 
> walkthroughs for 10.04 Ubuntu.  I have a couple of issues.
> 
> First when I run "cf-agent -v --bootstrap --policy-server (master IP 
> address)" on a node, I get the error "cf3 Setting policy server requires 
> version Nova or above".  Does that mean I can't use the client to fetch 
> policy from the server without purchasing the Nova version?  This seems to 
> reduce the usefulness of the community version drastically.
> 
> Second, Ubuntu has changed the work directory from /var/cfengine to 
> /var/lib/cfengine.  Cfengine doesn't seem to like having 
> /var/lib/cfengine/inputs as a softlink to /etc/cfengine3, so I reversed the 
> direction of this and it accepts it.  However, the example 
> "/usr/share/doc/cfengine3/examples/update.cf" still refers to 
> /var/cfengine/masterfiles, a directory which doesn't exist on two levels.
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org (mailto:Help-cfengine@cfengine.org)
> https://cfengine.org/mailman/listinfo/help-cfengine
> 
> 


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

Reply via email to