I am trying to learn puppet. I have been through the learningVM and now trying to do something basic with it and am not getting anywhere.
I have setup two VMs one as puppet master and the other as an agent. I am using the open source version 3.7.1
my site.pp is:
Package {
allow_virtual => true,
}
class test {
file { '/root/test':
ensure => file,
content => 'succeeded',
}
}
node '
mel-integ02.xxxx.com' {
include test
}
node '
mel-integ04.xxxx.com' {
}
node default {
}
The test file doesn't exist on mel-integ02. When I try to apply it I get the following output and the test file still doesn't exist.
# puppet apply site.pp
Notice: Compiled catalog for
mel-integ04.icellos.com in environment production in 0.33 seconds
Notice: Finished catalog run in 0.01 seconds
obviously I am missing something basic but I can't figure out what it is.
thanks
Greg