Forge domain_membership module -how do you use it?

17 views
Skip to first unread message

jmp242

unread,
Jul 1, 2015, 4:19:48 PM7/1/15
to puppet...@googlegroups.com
I'm probably being stupid, but all previous modules I've used create a new resource you can then use in your manifests. The example for this seems to be a class? So do I edit the init.pp it comes with to give domain details?
https://forge.puppetlabs.com/trlinkin/domain_membership/readme

If not, I don't see how doing
class { 'domain_membership':
  domain      
=> 'puppet.example',
  username    
=> 'joinmember',
  password    
=> 'sUp3r_s3cR3t!',
  join_options
=> '3',
}

isn't going to have a naming collision with the module that does the code? i.e. shouldn't it create a parameter rather than a class? Or something?
Reply all
Reply to author
Forward
0 new messages