On Fri, Jul 30, 2010 at 1:09 PM, Ryan Y. Coleman <dudei...@gmail.com> wrote: > I have had success with creating a simple parameterised class (cosign) in > 2.6.1.RC1 > > My class looks like this: > > class cosign($version="3.0.2-2") {...} ## This sets a default, you can omit > past "=" to ")". > > My node definition looks a little like this: > > node "foo.edu" { > class { cosign: version => "3.1.1-1" } ## This actually sets the overriding > variable. > } > > I then use the variable to choose which package version to install.
Strange how it works for you and no one else. What you have above is exactly what I had. It also appears that it's even more broken if you try and use module autoloading and specify your classes like module::class. Doug. -- 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.