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 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', > [...] (mailto:[email protected]) > > > -- 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/73E5CDB6-825E-429A-846E-53F9D9DC17A7%40getmailspring.com. For more options, visit https://groups.google.com/d/optout.
