I'm making a cups manager type and I'm having trouble figuring out where I 
should parameters and where I should use properties. The file is at 
http://github.com/kc7zzv/puppet-cups_printer/blob/master/lib/puppet/type/cups_printer.rb
 .

I was accidentally using "newproperty" and "newparameter" interchangeably, and 
I'd really like to know which I should be using.


Second, the documentation says to define "ensure" as a parameter, but the 
example I saw seems to do what I'm doing in that file.  Which is right?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to