Perhaps it is the ; It should be nothing being the last parameter or a ,
Regards El 28/03/2014 15:08, "BravePig2013" <[email protected]> escribió: > 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<https://groups.google.com/d/msgid/puppet-users/334f041b-bf56-4ad5-8081-0aad090553a4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAF_B3dc0%2BUtcyXhtf59JHoXJZdFy4p_WMMFaEAbYuzmwc%2BePoA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
