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