Hi Deo, You have a typo in the file name. On disk it starts with W6Logon but in the manifest it starts with W6Login.
Cheers, Tim On Fri, 10 May 2019, 03:05 Deo Breathnu, <[email protected]> wrote: > The file is there: > -rw-rw-r-- 1 pe-puppet pe-puppet 1552 Apr 16 21:01 W6Logon.Service.Global > [root@puppetmaster files]# pwd > /etc/puppetlabs/code/environments/production/modules/copyglobalmodule/files > > > > > On Thursday, May 9, 2019 at 12:46:36 PM UTC-4, Martin Alfke wrote: >> >> Hi Deo, >> >> On May 9 2019, at 6:16 pm, Deo Breathnu <[email protected]> wrote: >> >> I have a simple task of placing a file in a particular folder. >> >> file { 'W6Login.Service.Global': >> ensure => present, >> source => >> 'puppet:///modules/copyglobalmodule/W6Login.Service.Global', >> *path => "C:\\Program Files (x86)\\Cware\\Service >> Optimization\\Bin\\W6Login.Service.Global",* >> source_permissions => ignore, >> } >> } >> >> I receive this error: >> *Error: /Stage[main]/Copyglobalmodule/File[W6Login.Service.Global]: Could >> not evaluate: Could not retrieve information from environment production >> source(s) puppet:///modules/copyglobalm* >> *odule/**W6Login.Service.Global* <http://W6Login.Service.Global> >> >> This error message indicates that Puppet Master is unable to find the >> file provided at source attribute. >> Please check that the sourcefile is available on your puppet master at >> <modulepath>/copyglobalmodule/files/W6Login.Service.Global. >> >> At the path attribute you can use forward slashes: >> source => 'C:/Program Files >> (x86)/Cware/ServiceOptimizatoin/Bin/W6Login.Service.Global', >> >> <https://groups.google.com/d/optout> >> <https://groups.google.com/d/msgid/puppet-users/a447f21b-f564-486d-85f9-de5b072561ce%40googlegroups.com?utm_medium=email&utm_source=footer> >> [...] >> >> >> -- > 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/0b349831-abf5-4edd-a54b-9893557105b0%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/0b349831-abf5-4edd-a54b-9893557105b0%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/CA%2BPYXrYdW_5qxkq7PiG2wJqwPUhbWBuE5t8F0upCD_Qe0nCtKw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
