Those are mostly definitions of custom checks to export + templates which group those checks by server types On 21 Jan 2014 22:40, "Pete Brown" <[email protected]> wrote:
> My question would be what are you doing with nagios that need so much > static data? > My monitoring module uses facts and one or two static vars. > > I would suggest putting defaults in your modules so you don't need to > set so many variables. > Basing those defaults of custom facts would help reduce your need to > set vars in hiera. > > On 21 January 2014 21:28, Andrey Kozichev <[email protected]> wrote: > > Hi community, I need a suggestion. > > Some of my modules like nagios or nfs shares are having a lot of static > data > > which needs to be defined in the bottom of hierarchy. > > It makes my file generic.yaml quite massive and not that readable. > > What are the options do I have to separate this into more structured > tree? > > What are the best practices? > > > > The first thing comes to mind is to add few more files in to hiera: > > > > > > ... > > - %{::site} > > > > - generic > > > > - nagios_services > > > > - nfs_shares > > > > etc.. > > > > Or is it better to avoid this? > > > > Any thoughts? > > > > -- > > Andrey > > > > -- > > 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/CACzr%3DFfQtU9Q5rjQT72Qur%2BzTqEcOHbG1x%2Bt5EnL7Bj1Hbv6Bg%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > > -- > 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/CAJ8DPF5HDMWKvk9SEcvRbr-38wkvMFk-Ony8PGj6Eac1uZrDfQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CACzr%3DFdT0zkYNoHO%2B_hQAh%2Bi6oL88%3DwJRn0bPvLUXgZGdWMPwg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
