-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keith Edmunds wrote:
>> Please let me know if this update makes more sense:
>
> It does, and thank you for updating the page.
>
> I think it would be further improved by defining what an "in-statement"
> and an "around statement" are - the latter,
> Please let me know if this update makes more sense:
It does, and thank you for updating the page.
I think it would be further improved by defining what an "in-statement"
and an "around statement" are - the latter, particularly, sounds somewhat
nebulous.
Perhaps, for now, a little emphasis t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keith Edmunds wrote:
> I had actually read that page, and I've just read it again. I can't see
> any mention of the fact that I can't use if/else in a resource, but I may
> have just missed it.
>
Please let me know if this update makes more sense:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keith Edmunds wrote:
>> You can't use if/else in a resource.
>>
>> Have a read of:
>>
>> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#conditionals
>
> I had actually read that page, and I've just read it again. I can't see
> any mention
> You can't use if/else in a resource.
>
> Have a read of:
>
> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#conditionals
I had actually read that page, and I've just read it again. I can't see
any mention of the fact that I can't use if/else in a resource, but I may
have just miss
Hi
> node "x.example.com" inherits basenode {
> $skip_file = true
> }
>
> In the module's init.pp I have:
>
> file {"/path/to/file":
> if $skip_file {
> noop => true
> }
> owner => root,
> .
> .
>
> I get an error:
>
> err: Could not retrieve catalog: Could
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keith Edmunds wrote:
> I'm trying to exclude uploading a file to certain hosts. In nodes.pp I
> have:
>
> node "x.example.com" inherits basenode {
> $skip_file = true
> }
>
> In the module's init.pp I have:
>
> file {"/path/to/file":
>