Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -bash-3.2# more ../site.pp
- #importing rest of manifests
- import "classes/*"
- node default {
- }
- node app1-test {
- include app1-test
- }
- bash-3.2# pwd
- /etc/puppetlabs/puppet/manifests/classes
- -bash-3.2# more app1-test.pp
- class app1-test {
- file { "/tmp/foom":
- ensure => file,
- mode => 777,
- }
- }
- and here is the results
- sh-3.2# puppet agent --server ip-10-2-26-95 --waitforcert 60 --test
- info: Retrieving plugin
- info: Caching catalog for app1-test
- info: Applying configuration version '1315342792'
- notice: Finished catalog run in 0.01 seconds
- but NO file is created
Add Comment
Please, Sign In to add comment