On Tuesday, December 4, 2012 9:25:04 PM UTC-6, Navid Paya wrote:
>
> OK, that makes sense. Thanks for the tip. Gotta go do some reading. The
> thing is this very same manifest used to work under puppet 2.6.
>
No, I'm sure it didn't. None of the relevant characteristics of Puppet
have change
On Tuesday, December 4, 2012 9:21:53 PM UTC-6, Gary Larizza wrote:
>
> It's a bit deeper than that,
>
> Nesting a class definition inside of a class definition will result in a
> class namespaced as first_class::second_class.
>
That is, nesting will result *only* in a class *definition* namesp
OK, that makes sense. Thanks for the tip. Gotta go do some reading. The
thing is this very same manifest used to work under puppet 2.6. If
there's one thing I really don't like about puppet it's the amount of
change although I understand it's needed for a product under such heavy
development.
It's a bit deeper than that,
Nesting a class definition inside of a class definition will result in a
class namespaced as first_class::second_class. Because of this, you'll
need to "include mock::my_file" in your node declaration.
It's recommended to keep one class definition per file and to fol
i
> I am trying to use nested classes but for whatever reason it doesn't work.
> Here's my site.pp file:
>
> include stdlib
> include apt
> node 'zenoss.example.com' {
> include mock
> }
> class mock {
> class my_file {
> file { '/tmp/test':
> ensure => present,
> content => "
Hi
I am trying to use nested classes but for whatever reason it doesn't work.
Here's my site.pp file:
include stdlib
include apt
node 'zenoss.example.com' {
include mock
}
class mock {
class my_file {
file { '/tmp/test':
ensure => present,
content => "Just testing to see if '
On 28 December 2010 09:41, cyrus wrote:
> Hi:
>
> I have something like this:
>
> class xinetd {
>
> ... some Puppet code ...
>
> class xinetd::telnet {
> ... some Puppet code ...
> }
> }
>
> node 'host1' {
> include xinetd::telnet
> }
>
Doesn't that mean you've declared xinetd and
On Mon, Dec 27, 2010 at 8:17 PM, Patrick wrote:
>
>
> On Dec 27, 2010, at 8:11 PM, cyrus wrote:
>
>> Hi:
>>
>> I have something like this:
>>
>> class xinetd {
>>
>> ... some Puppet code ...
>>
>> class xinetd::telnet {
>> ... some Puppet code ...
>> }
>> }
>>
>> node 'host1' {
>> in
On Dec 27, 2010, at 8:11 PM, cyrus wrote:
> Hi:
>
> I have something like this:
>
> class xinetd {
>
> ... some Puppet code ...
>
> class xinetd::telnet {
> ... some Puppet code ...
> }
> }
>
> node 'host1' {
> include xinetd::telnet
> }
>
> However, when running Puppet says
Hi:
I have something like this:
class xinetd {
... some Puppet code ...
class xinetd::telnet {
... some Puppet code ...
}
}
node 'host1' {
include xinetd::telnet
}
However, when running Puppet says it can't find class xinetd::telnet.
I can include xinetd so I know my site.p
10 matches
Mail list logo