Ask Your Question

Should I use hiera or environment to manage dev,staging,production

asked 2015-07-05 18:48:46 -0600

TimmyC gravatar image

We are running a typical LAMP environment and I am looking for a good practice way to manage the service config files for each stage: development, staging, production.

  • apache config
  • php config
  • varnish

I read R10k, but that is more like for Puppet code management. Any guide would be much appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-05 20:30:26 -0600

Hiera is used to to keep your site-specific data from appearing in your code whereas environments are a way of allowing you to have different versions of your puppet code in your dev, staging, production environments. R10K is used to manage your shared puppet modules. So you'll likely need to have environments AND hiera.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-07-05 18:48:46 -0600

Seen: 201 times

Last updated: Jul 05 '15