OK got it working!
On Saturday, November 16, 2013 6:13:04 PM UTC, Puppet Muppet wrote: > > > Hi, > > Is it possible to use Include as I have done below, inside my node > statement? > I'm guessing not as it's not working :) > > Any ideas how I get my test.pp manifest so that it only applys to my > puppetagent001? > > > #site.pp > node 'puppetagent001' { > include test > file {'/tmp/puppet-test-node-def': > ensure => present, > content => "Hello World!", > } > } > > > #test.pp > class test > file {'/tmp/puppet-test': > ensure => present, > content => "Hello World!", > } > } > > > Many thanks, > PM > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/790e75e8-6864-47a0-b9a4-d729d143866b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.