How would you make facter to find out which server belongs to which department?
On Apr 3, 3:00 pm, Bjørn Dyre Dyresen <bj...@dyresen.net> wrote: > 2009/4/3 Rene <rene.zbin...@gmail.com> > > > > > > > Hi > > > Our team is providing Linux servers to different departments in our > > company. We want to change our configuration management tool and use > > puppet in the future. I read the book “Pulling Strings with Puppet” > > and the documentation on the puppet webpage. > > > When I understood correctly, the way to go is to use modules. So we > > would create modules for ssh, ldap, ntp etc… But the problem I have > > is, that different IT Departements use different configurations > > (different ssh config, different ntp conf etc…) So would I put the > > logic inside this modules or is it better to create different ssh > > modules for different departments? (I think the second one is not a > > good choice, since with that we have the same resources defined in the > > different modules and I think this is a problem, isn’t it?) > > > Another question I have is about the services directory. Is my > > understanding right, that services is just a grouping of modules? > > > Thanks in advance > > > Rene > > You can make a fact telling to what department the computer belongs. Then > you can use those facts as a selector for what to apply in your modules. > > Regards --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---