Issue #6318 has been updated by Ben Hughes.

Status changed from Unreviewed to Duplicate

This is due to #4496 I'm afraid. Which has been fixed in the next branch, but 
isn't easily backported to the 2.6.x branch. Sorry.
----------------------------------------
Bug #6318: intermittent failures to retrieve source files (wrong module used in 
puppet URL)
https://projects.puppetlabs.com/issues/6318

Author: Juerg Walz
Status: Duplicate
Priority: Normal
Assignee: 
Category: fileserving
Target version: 
Affected Puppet version: 2.6.3
Keywords: 
Branch: 


There seems to be a inconsistent behaviour of how Puppet creates the file 
source URL.

A regular file is being sourced through the Puppet file server in the module 
*security*:

    class security {
      file { '/etc/selinux/config':
        ensure => present, owner => 'root', group => 'root', mode => '644',
        source => "puppet:///modules/${module_name}/selinux-config",
      }
    }

The *security* class is included from the *common* class:

    class common {
      include security
    }

Applying these manifests results **only sometimes** in the following failure:

err: /Stage[main]/Security/File[/etc/selinux/config]: Could not evaluate: Could 
not retrieve information from source(s) puppet:///modules/common/selinux-config 
at /etc/puppet/cstst/modules/security/manifests/init.pp:15

Note that the selinux-config file is requested from the *common* module - not 
*security*.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to