Sorry $operatingsystem not $lsbdistid for the variable. -L
On Feb 9, 6:54 pm, Larry Ludwig <larry...@gmail.com> wrote: > Hi Eric, > > I tend to think of modules as a method to encapsulate a package or > even larger service. If you needed to develop for a specific OS you > could break down into seperate classes. > > If you created a module named "network" it could be more generic and > apply to other OSes. > > ie: > > class network { > case $lsbdistid: { > "centos": { include network::centos } > "debian": { include network::debian } > > } > > Hope this helps. > > -L --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---