Skeleton configuration for managing multiple locations in puppet

45 views
Skip to first unread message

Kyle Sexton

unread,
Jul 25, 2012, 12:12:07 AM7/25/12
to puppet...@googlegroups.com
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?
Should I be looking into fancy new buzzwords like heira? :)

All the stuff I've written is at https://github.com/ksexton/puppet-sites

Thanks in advance.

--
Kyle Sexton

Felix Frank

unread,
Jul 30, 2012, 9:03:12 AM7/30/12
to puppet...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages