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

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/faa09399-fcf9-48ac-9201-558811ce5930%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to