Dependencies modules

16 views
Skip to first unread message

Rafael Tomelin

unread,
May 15, 2015, 7:18:01 PM5/15/15
to puppet...@googlegroups.com
Hi people,

My name is Rafael, i working with puppet, but in small environment.

I will implement the puppet in large  environment. The company has 45 affiliates and each unit have 1 firewall, 1 proxy, 1 AD, 1 VMWARE, Zabbix proxy, ....

I would like the create module with all information the units (affiliates) e after using dependencie the others modules.

My idea create the example module:
puppet module generate client-affiliates

/etc/puppet/modules/client-affiliates/manifests/params.pp

The params.pp, have all informations:
ip dns
domain
network
ip proxy
ip firewall
ip ntp
....

or
/etc/puppet/modules/client-affiliates/manifests/network.pp
/etc/puppet/modules/client-affiliates/manifests/proxy.pp


the archives, the information by service.

And with using the others modules these with variables?



Felix Frank

unread,
May 17, 2015, 1:12:55 PM5/17/15
to puppet...@googlegroups.com
Hi,

it might be possible to get this to work. You would basically create a profiles module per affiliate.

Putting all data into params.pp might be possible, but not ideal. Consider implementing Hiera instead. Your hierarchy can dynamically adapt to select appropriate data for each affiliate.

HTH,
Felix
Reply all
Reply to author
Forward
0 new messages