On 26 August 2013 19:14, Florin Dragu <fdr...@gmail.com> wrote: > I'm are looking at ways to improve the way we do config management. > > I know Puppet is very good at managing deploy time OS and env config, > however, when it comes to app/code config it gets a bit tricky as there are > various levels of config: build vs deploy vs runtime/dynamic. > > For dynamic/runtime config I'm thinking about tools like Zookeeper, but I'm > also keen on using feature toggles that have their own config (similar to > Togglz framework). > > Ideally, I would like to not manage config in multiple places, but have one > place where all the tools (Puppet, Zookeeper and Togglz) can pull the config > from (or have it pushe d from that central place). > > Any ideas how to approach something like this? or am I combining too many > things in one and making a mess of it? >
The approach in Puppet for separating data tends to be to use Hiera: https://github.com/puppetlabs/hiera One of the many nice things about Hiera is you can have multiple backends, so for instance a Zookkeeper backend (https://github.com/zahna/hiera_zookeeper) or my recent stab at a etcd backend (https://github.com/garethr/hiera-etcd) For Togglz you could probably write a StateRepository for Zookeeper or similar. Gareth > Thanks, > Florin > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. -- Gareth Rushgrove @garethr devopsweekly.com morethanseven.net garethrushgrove.com -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.