Issue #7847 has been reported by Adrien Thebo.

----------------------------------------
Bug #7847: File type ignores resource with symlinked source
https://projects.puppetlabs.com/issues/7847

Author: Adrien Thebo
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.8
Keywords: 
Branch: 


When given a file resource whose source is a symlink, puppet fails to update 
the given file. This occurs in standalone and with a puppet master.

Example manifest:

<pre>

class sudo {
  package { 'sudo': ensure => installed }

  file { '/etc/sudoers':
    ensure  => file,
    source  => "puppet:///modules/sudo/sudoers",
    links   => follow,
    replace => true,
    owner   => 'root',
    group   => 'root',
    mode    => '0440',
  }
}
</pre>

Given file structure:

<pre>
modules/sudo/files
├── sudoers -> sudoers-base
└── sudoers-base
</pre>



-- 
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