#cat /etc/puppet/modules/helloword/manifests/init.pp
class helloworld {
file { 'c:/test/hello.txt':
content => "Hello World!",
}
}
# ll /etc/puppet/modules/helloword/manifests/init.pp
-rw-r--r-- 1 root root 81 Jan 20 17:12 /etc/puppet/modules/helloword/manifests/init.ppC:\>puppet agent --test
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class helloworld for test1.domain.company.com on node test1.domain.company.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping runC:\>puppet agent --test
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for test1.domain.company.com
Info: Applying configuration version '1453308350'
Notice: Finished catalog run in 0.08 seconds--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0c0d7f90-08ba-45c8-94a3-06abdb8afb7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.