Hi All, I am newbie to puppet. when I try to source file from the puppet 
master, I met the following problem that almost make me crazy. I have tried 
many methods, but still not solved. Can someone help me to point the 
mistake out? thanks in advance.

======puppet master====
site.pp:
node 'client.puppet.com' {
#1. file resource
file {
  '/tmp/puppet_test.txt':
  source => "puppet:///modules/test/puppet_test.txt"; 
  }
} 

tree of modules:
[root@master puppet]# tree
.
|-- auth.conf
|-- autosign.conf
|-- fileserver.conf
|-- manifests
|   |-- site.pp
|   |-- site.pp.linux
|   `-- site.pp.windows
|-- modules
|   `-- test
|       `-- files
|           `-- puppet_test.txt


======puppet client=====
[root@client tmp]# puppet agent --test
Notice: Ignoring --listen on onetime run
Info: Retrieving plugin
Info: Caching catalog for client.puppet.com
Info: Applying configuration version '1395993113'
Error: 
/Stage[main]/Main/Node[client.puppet.com]/File[/tmp/puppet_test.txt]: Could 
not evaluate: Could not retrieve information from environment production 
source(s) puppet:///modules/test/puppet_test.txt
Notice: Finished catalog run in 0.19 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/334f041b-bf56-4ad5-8081-0aad090553a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to