On Wed, Mar 31, 2010 at 7:41 AM, Charles Johnson <gm.johns...@gmail.com> wrote:
>
>
> On Wed, Mar 31, 2010 at 9:16 AM, Nigel Kersten <nig...@google.com> wrote:
>>
>> > /etc/puppet/modules/motd/manifests/init.pp looks like this
>> > class motd {
>> >     include prodcomputenode
>> >     include prodgateway
>>
>> shouldn't this be
>>
>> include motd::prodgateway ?
>>
>> >     include testcomputenode
>> >     include testgateway
>> > }
>> > /etc/puppet/modules/motd/manifests/prodgateway looks like this
>> > class motd::prodgateway {
>> >     file { "/etc/motd":
>> >         owner   => "root",
>> >         group   => "root",
>> >         mode    => 644,
>> >         source => $architecture ? {
>> >             x86_64  => "puppet:///motd/motd_x86prodgw",
>> >             default => "puppet:///motd/motd_x86prodgw",
>> >         },
>> >     }
>> > }
>
> I wouldn't have thought so, since this worked perfectly fine in 0.24.8 and
> is taken from examples at reductivelabs.

Which examples?

I've always qualified the full class name, in 0.24 and 0.25. I didn't
realize you could do what you've done above.

It seems undesirable, ie:

class foo {
 ...
}

class eggs {
  include foo
}

class eggs::foo {
...
}



> Cheers--
> Charles
>
>
>
> --
> 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.
>



-- 
nigel

-- 
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