Damn! That was it. Removed my include and it works exactly like it should.
On Sunday, January 11, 2015 at 6:46:20 PM UTC-5, Felix.Frank wrote:
>
> On 01/10/2015 02:39 PM, Christopher Wood wrote:
> > On Fri, Jan 09, 2015 at 01:51:28PM -0800, Drew wrote:
> >> >I'm fooling around with some de
Thanks, Felix.
On Monday, January 12, 2015 at 7:57:05 AM UTC-5, Drew wrote:
>
> Damn! That was it. Removed my include and it works exactly like it
> should.
>
> On Sunday, January 11, 2015 at 6:46:20 PM UTC-5, Felix.Frank wrote:
>>
>> On 01/10/2015 02:39 PM, Christopher Wood wrote:
>> > On Fri
On 01/10/2015 02:39 PM, Christopher Wood wrote:
> On Fri, Jan 09, 2015 at 01:51:28PM -0800, Drew wrote:
>> >I'm fooling around with some defined types and am struggling a little.
>> > The following is just a small example of what I'm doing while I work it
>> >out:
>> >#/etc/puppet/m
I could swear that at some point I had a define in init.pp and it worked. For
some reason I could not reproduce that when I tried your example.
You might try two things:
1) on your puppet master, try applying site.pp
puppet apply --debug --modulepath /etc/puppet/modules
/etc/puppet/manifests/
Thanks for jumping in. I've seen example modules from the forge that have
the define in the init.pp. I'm pretty sure the module can have a define in
it or a class. But I am doing something wrong for sure. I've already tried
putting it in a different file and that didn't make any difference.
On Fri, Jan 09, 2015 at 01:51:28PM -0800, Drew wrote:
>I'm fooling around with some defined types and am struggling a little.
> The following is just a small example of what I'm doing while I work it
>out:
>#/etc/puppet/modules/testmodule/manifests/init.pp
>define testmodule ( $
I'm fooling around with some defined types and am struggling a little. The
following is just a small example of what I'm doing while I work it out:
#/etc/puppet/modules/testmodule/manifests/init.pp
define testmodule ( $message ){
testmodule::down { "${name}":
message => "test message for
I'm fooling around with some defined types and am struggling a little. The
following is just a small example of what I'm doing while I work it out:
#/etc/puppet/modules/testmodule/manifests/init.pp
define testmodule ( $message ){
testmodule::down { "${name}":
message => "test message for