Jtc,

I keep my templates and files in the profile class itself, in paths like
files/phpMyAdmin/config.php and templates/randomapp/app.conf.erb. I have a
site_config module that has some files that aren't tied to profile
development, like certs. Other than that, I DO put config files in the 2
component modules that are private (everything else is from the forge).

I hope that gives you some ideas.

On Sat, Jun 17, 2017 at 2:41 PM J.T. Conklin <[email protected]> wrote:

>
> Over the past year or so, we've completed a transition from locally
> developed puppet modules containing node-specific configuration, to
> using the roles/profiles pattern with parameterized modules with most
> config values coming from hiera.
>
> One exception to this are config files that are too specific, to
> complicated, or otherwise not suitable for conversion to templates.  At
> the moment, these are still in our puppet modules.  Not only does this
> bind node-specific configuration in with otherwise independent modules,
> now that all our other node-specific configuration is done with hiera,
> the config is split across two places -- which makes it hard to under-
> stand.
>
> I spent some time look for articles and blog posts that cover this, but
> all the examples I've seen show use cases where module configuration is
> completely taken from hiera. How do others handle this?  Store files in
> the profiles module itself?
>
> Thanks in advance,
>
>     --jtc
>
> --
> 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/87a856sbhk.fsf%40wopr.acorntoolworks.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Rob Nelson

-- 
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/CAC76iT_4bPFRnjAfokqUSFi0a3fZaGg%2Bdbsem9ia5N-bztkRfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to