Hi,

I am running into this error:

Running Puppet agent on demand ...                                         
     
Info: Retrieving plugin                                                     
    
Info: Caching catalog for test-pc                                           
    
Error: Failed to apply catalog: Parameter source failed on 
File[c:/locale.reg]: Cannot use relative URLs 
'/etc/puppet/modules/a_locale' 

Why the source is not working as should ?
$ ls -l /etc/puppet/modules/
-rw-r--r-- 1 root root  1898 Mar 20 15:44 a_locale


site.pp

case $operatingsystem {
         windows: { $fileName="c:/locale.reg"}
         default: { fail("[puppet]" os not supported) }
}

file { $fileName:
       ensure => present,
       source => "/etc/puppet/modules/a_locale",
}

                 

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to