Issue #22576 has been updated by Alex Jurkiewicz.

The latter, I'm unused to seeing the message. Because it appears in red in my 
console it looks exactly like an error message. It would be great if this 
message could be squelched some way, or shown in green/yellow/only with --debug.

----------------------------------------
Bug #22576: Puppet 3.3 changes behaviour for file { replace => false } when 
link is on fs
https://projects.puppetlabs.com/issues/22576#change-97822

* Author: Alex Jurkiewicz
* Status: Needs More Information
* Priority: Normal
* Assignee: Alex Jurkiewicz
* Category: 
* Target version: 
* Affected Puppet version: 3.3.0
* Keywords: 
* Branch: 
----------------------------------------
Hi,
Given this config in my manifest:

    file { '/foo':
      ensure => present,
      content => "\n",
      replace => false,
    }

In Puppet <3.3 it would succeed silently when /foo was a symlink. Now it gives 
the following error:

    Warning: /Stage[main]/Soe/File[/foo]: Ensure set to :present but file type 
is link so no content will be synced

Our manifest relies on the behaviour where "replace => false" ignores the file 
if it is a symlink, can this be made possible again please?


-- 
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 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-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to