--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CANwwCtz0nz6%2BzZMX4ksfrfy%3D8sMjmsSi6vrSpZqS49fVUVO-dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CANwwCtz0nz6%2BzZMX4ksfrfy%3D8sMjmsSi6vrSpZqS49fVUVO-dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/efe67a83-ce29-07ef-3e69-1bcdb32f2d05%40alter3d.ca.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CANwwCtz0nz6%2BzZMX4ksfrfy%3D8sMjmsSi6vrSpZqS49fVUVO-dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/efe67a83-ce29-07ef-3e69-1bcdb32f2d05%40alter3d.ca.
For more options, visit https://groups.google.com/d/optout.
--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CANwwCtyX0jER-zaQwXfuYhxs8hz5ngMKqbSu%2Bv8RnDAS72s8yw%40mail.gmail.com.
No problem! Feeling lost is a little normal -- Puppet is a
deceptively complex tool. You will probably go through MANY
iterations of architecture, module layout, etc, as you ramp up
your Puppet skills. When I first started with Puppet, I wrote a
very clever ENC that did some internal-business-logic stuff. It
worked great, and I was very proud of myself. Fast forward a few
months, and I realized that I had basically reinvented Hiera, in a
way that wasn't as good as Hiera, and all I had to do to use pure
Hiera was write a custom fact and use it in my Hiera hierarchy.
The stuff I described is a little hard to understand if you
haven't dealt with modules before, because it's very abstract.
However, it seems like you're on the right track. Group
everything to make an "ELK server" into a profile module --
including packages, configuration files, and network ports, then
just include that into a role module that gets assigned to a
node. If there is special "data" (say, database credentials),
that should come from Hiera. You may find that you may need to
(or it might just be easier to) split out your ELK module into its
3 components, then have the ELK module tie them all together.
However, I would caution you against completely rewriting
everything from scratch -- there are a lot of really great modules
on the Forge -- Elasticache, for example, has a really good module
that is provided by the vendor. Don't reinvent the wheel. :)
Just write enough 'glue' code to tie everything together to meet
your business needs.
I would start by watching the video linked to by Rich in his reply to this thread. I haven't watched the whole thing, but what I've watched is a pretty awesome intro to a lot of best practices. There are a couple other good videos of the roles & profiles model floating around that may be worth your time to watch as well.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CANwwCtyX0jER-zaQwXfuYhxs8hz5ngMKqbSu%2Bv8RnDAS72s8yw%40mail.gmail.com.