I have declared in my puppet server my class "lab" , this class create one archive in the agent but when i sync from agent throws error:
...... info: Applying configuration version '1354468151' *err: /Stage[main]/Lab/File[/root/date.txt]: Could not evaluate: Could not retrieve information from source(s) puppet:///modules/lab/files/date.txt at /etc/puppet/modules/lab/manifests/init.pp:10* ...... My structure in puppet master is: /etc/puppet/manifests/site.pp /etc/puppet/modules/lab/manifests/init.pp /etc/puppet/modules/lab/files/date.txt My init.pp is: class lab { file { "/root/date.txt": ensure => file, mode => 640, owner => root, group => root, source => "puppet:///modules/lab/files/date.txt", } } My site.pp node 'lab1.example.com' { include lab } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/TVKDTGyB8foJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.