Hi, i have Puppet 3.7.2 on Debian 8.2 x64. I added host Windows Server 2012 
R2 into Puppet. Now i would like to do test manifest (Forder c:/test/ 
: present on WS)

#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.pp

<https://lh3.googleusercontent.com/-Z8MTWKfvt6c/Vp-4XQQhvvI/AAAAAAAAAEw/io-aCOEC3uc/s1600/pup1.png>
i run *puppet agent --test* on WS 2012 R2 and receive an error:

C:\>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 run

how i can fix it?

if i disable this manifest:

C:\>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


Thank you!

-- 
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/0c0d7f90-08ba-45c8-94a3-06abdb8afb7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to