On 12/31/2013 04:16 AM, Steph Gosling wrote:
> Isn't it!
>
> Applying that resource fails in the same way: as requested here's the
> output though debugging doesn't seem to add anything, which is a bit odd.
>
> [root@nodename steph]# puppet apply --debug --verbose -e 'file {
> "/tmp/test": ensure => link, target =>
> "/tmp/test-target" }'
> Info: Loading facts in /var/lib/puppet/lib/facter/hostname.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/memory.rb
> Info: Loading facts in /var/lib/puppet/lib/facter/enumerate_xen_disks.rb
> Error: Parameter ensure failed on File[/tmp/test]: Provider must have
> features 'manages_symlinks' to set 'ensure' to 'link' at line 2
> Wrapped exception:
> Provider must have features 'manages_symlinks' to set 'ensure' to 'link'
> [root@nodename steph]#
>
> Running that on one of the functioning nodes and I get reams of
> debugging output as I'd expect so it looks like there's something
> curious with the environment, I just don't know what.
Out of curiosity, do you have both a package and the gem installed?
I've seen this behavior when the package got updated, but the gem was
still an older version. Also make sure you bounce the master if the
package got upgraded.
Jason