Hi,
On 07/25/2012 06:12 AM, Kyle Sexton wrote:
> I created a skeleton configuration for managing multiple locations in puppet that I would appreciate feedback on. The configuration as it stands is that two sites are defined, Earth and Mars. Parameters for each site are defined in site/manifests/earth/params.pp and site/manifests/mars/params.pp. I also included are two modules, ntp and user, to demonstrate configuring modules across sites. I'm using puppet enterprise if that makes any difference.
>
> Is the way that I've approached this decent?
> Are there glaring pitfalls if this configuration were to grow to more servers/sites?
Not that I can see at a glance. I do wonder though why you'd want to
declare those users virtual if they're getting realized on the whole
site, anyway.
> Should I be looking into fancy new buzzwords like heira? :)
I'd say you definitely should.
You will still need per-site manifest code, but hiera can make it really
easy to define site-wide defaults at a semantically sensible
granularity, or so I presume.
Cheers,
Felix