I followed some "best practices" from Puppet 2.7 Cookbook and created agent - puppet master framework, with git cvs. Unfortunately, the book doesn't cover Gepetto, so I am forced to improvise that part.
I have one main git repository that contains manifests
and modules
folders. I want to add a custom module in the modules
, but when doing so I encountered problems.
First of all, I cannot find anything like "master configuration" project type, which by default would contain the manifests
and modules
folders. So I created a bare "Puppet project" project, and created the folders manually.
Because - as I understand it - in this configuration Gepetto doesn't really know, that this project will actually hold all the modules, it doesn't provide an option to create "Puppet module project" subproject, which would be nested inside the "Puppet project"'s modules
folder.
When I nest it manually (by specifying a custom location in the New Puppet Module Project
wizard), I get an 'Auto share git projects' has encountered a problem
error:
Unable to ignore resources Attempted to beginRule: F/puppet@puppetmaster/modules/unnamed, does not match outer scope rule: MultiRule[P/mymodule]
Did anyone of you managed to get Gepetto working with modules when everything is covered by something like "master project" that encapsulates all configuration?
This is the answer I've got from Thomas Hallgren: