Peter, Felix,
Thank you for your answers!

I guess my improperly worded question was about figuring out whether Puppet 
has a concept similar to what Chef calls a wrapper cookbook.

Felix, the "sensei" is my actual folder name, I just substituted for 
generic names and may have forgotten to subst one or two occurrences.
To be clear, I have two modules:
- The "main" one I'm using for my testing, called "sensei".
- Within it, I have a subfolder called "modules", containing an "nginx" 
module.
By now I actually moved the nginx module to its own individual Git repo, 
and added a Puppetfile with the dependency. That works but hasn't helped 
with my problem, though.

If I place my file in sensei/files/mysite.conf and try to invoke it using 
this source:
puppet:///modules/sensei/mysite.conf
It doesn't work. 



On Monday, July 20, 2015 at 7:00:58 PM UTC-4, Felix.Frank wrote:
>
> On 07/20/2015 06:17 PM, Fabien Delpierre wrote: 
> > I've tried multiple things: 
> > puppet:///modules/sensei/mysite.conf 
>
> Well that's nice, but earlier in your mail, you stated that mysite.conf 
> is in the 'myfiles' module. The URL you need is 
>
> puppet:///modules/myfiles/mysite.conf 
>
> Your reasoning is sound for the most part, but don't create a 'myfiles' 
> module. That's the actual no-no. If you create a module that installs 
> files for the 'mysite' vhost, call it mysite or something along those 
> lines. 
>
> HTH, 
> Felix 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/824fd9af-3a40-4b9c-8090-59d8e7fc7601%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to