On 12/19/2014 06:51 PM, Paul Ponzeka wrote: > > class win_ad_sites::install { > > > > realize (Win_ad_sites::Resource['SanFrancisco']) > > > > > > } >
Phew, this was difficult to read, at least in Thunderbird. I believe your class should declare: win_ad_sites::resource { 'SanFrancisco': ; 'NewYork': ; 'Uppsala': ; } Also, if you want to use the parameter as $adsite then it should not be called $adsitevar. define win_ad_sites::resource($adsite = $title) { ... } This looks fine otherwise. Please note that with a sufficiently recent Puppet master, you can get rid of anchors by using contain win_ad_sites::install instead of include win_ad_sites::install which even today you should prefer over class { 'win_ad_sites::install': } ;-) HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/549A0758.3080708%40Alumni.TU-Berlin.de. For more options, visit https://groups.google.com/d/optout.