On 07-09-10 14:41, R.I.Pienaar wrote:
> You define should be:
>
> define foo::myline { .... }
>
> and it should be in modules/foo/manifests/myline.pp
>
>
>> Is the way I am trying to do things supposed to work?
>
> nope,
>
>> What is the reason that this doesn't work? Is it an issue with
>> loading order?
>>
>> How can I ensure that the module is loaded/available before the
>> 'testfile' class is evaluated?
>
> name the files as documented. The puppet master will not know to find
> your file in a weird location in a file not even called the same as the
> define, you can help it by just sticking to the way puppet is
> designed[1] to work, and then it will work.
>
> [1] http://docs.reductivelabs.com/guides/modules.htmlThank you, it appears to be working now. It's probably my own lack of brainpower, but I feel the Puppet documentation could use some more elaborate examples here and there. Best regards, Martijn.
smime.p7s
Description: S/MIME Cryptographic Signature
