Re: [Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-24 Thread James Turnbull
Douglas Garstang wrote: > On Wed, Jul 21, 2010 at 9:24 PM, Douglas Garstang > wrote: >> I have this: >> >> class foo::foobar ($version) { >> } >> >> which is called like this: >> >> class facility::sanjose inherits facility::common { >>class { foo::foobar: version => "1.3.13" } >> } >> >> pupp

Re: [Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-24 Thread Thomas A. McGonagle
Hey Doug, I double checked your example. It doesn't work for me either. I think it is a bug too, and not something you are doing. By the way, a define still works great :) -Tom Thomas A. McGonagle t...@dataero.com Google Voice: 617-229-5185 On Thu, Jul 22, 2010 at 11:55 AM, Brice Figureau w

Re: [Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-22 Thread Brice Figureau
On Thu, 2010-07-22 at 08:20 -0700, Douglas Garstang wrote: > On Thu, Jul 22, 2010 at 8:17 AM, Peter Meier wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > >> And finally, one more example, because I've been at this for 3 hours > >> and I'm sick and tired of it: > > > > maybe this

Re: [Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-22 Thread Douglas Garstang
On Thu, Jul 22, 2010 at 8:17 AM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> And finally, one more example, because I've been at this for 3 hours >> and I'm sick and tired of it: > > maybe this is a bug and you should simply report it with the simplest > example you h

Re: [Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-22 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > And finally, one more example, because I've been at this for 3 hours > and I'm sick and tired of it: maybe this is a bug and you should simply report it with the simplest example you have come up and which didn't work. cheers pete -BEGIN PGP SI

[Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-22 Thread Douglas Garstang
On Wed, Jul 21, 2010 at 10:29 PM, Douglas Garstang wrote: > On Wed, Jul 21, 2010 at 10:04 PM, Douglas Garstang > wrote: >> On Wed, Jul 21, 2010 at 9:55 PM, Douglas Garstang >> wrote: >>> On Wed, Jul 21, 2010 at 9:24 PM, Douglas Garstang >>> wrote: I have this: class foo::foobar (

[Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-21 Thread Douglas Garstang
On Wed, Jul 21, 2010 at 10:04 PM, Douglas Garstang wrote: > On Wed, Jul 21, 2010 at 9:55 PM, Douglas Garstang > wrote: >> On Wed, Jul 21, 2010 at 9:24 PM, Douglas Garstang >> wrote: >>> I have this: >>> >>> class foo::foobar ($version) { >>> } >>> >>> which is called like this: >>> >>> class fac

[Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-21 Thread Douglas Garstang
On Wed, Jul 21, 2010 at 9:55 PM, Douglas Garstang wrote: > On Wed, Jul 21, 2010 at 9:24 PM, Douglas Garstang > wrote: >> I have this: >> >> class foo::foobar ($version) { >> } >> >> which is called like this: >> >> class facility::sanjose inherits facility::common { >>    class { foo::foobar: ver

[Puppet Users] Re: First Foray into Parameterized Classes.... not so good

2010-07-21 Thread Douglas Garstang
On Wed, Jul 21, 2010 at 9:24 PM, Douglas Garstang wrote: > I have this: > > class foo::foobar ($version) { > } > > which is called like this: > > class facility::sanjose inherits facility::common { >    class { foo::foobar: version => "1.3.13" } > } > > puppet complains with this on the client: >