Steph Gosling
2013-Dec-30 12:21 UTC
[Puppet Users] Provider must have features 'manages_symlinks' to set 'ensure' to 'link' shouldn't happen on Linux?
Hey all,
Done a bit of googling for this and haven't seen it yet.
I have one of about 120 nodes running the puppetlabs repo version 3.4.1 on
CentOS 6 that has inexplicably started throwing this:
Error: Failed to apply catalog: Parameter ensure failed on
File[/etc/localtime]: Provider must have features 'manages_symlinks' to
set
'ensure' to 'link' at
/etc/puppet/manifests/nodes/basenode.pp:198
Wrapped exception:
Provider must have features 'manages_symlinks' to set 'ensure'
to 'link'
There are four nodes in totality that have the same node definition as this
one, and the other 3 briefly had the same error but upgrading from 3.4.0 to
3.4.1 resolved it. Nevertheless the resource in question is inherited by
every node so I'm at a loss what would break.
The resource is innocuous:
file { "/etc/localtime":
ensure => link,
target => "/usr/share/zoneinfo/Europe/London",
}
FWIW SELinux is disabled and if I comment this resource out it merely fails
on the next ensure => link it comes across.
Debugging offers no clues either that I can see. These manifests haven't
changed in several months and first broke on the following update (enforced
by puppet):
Dec 20 04:36:53 nodename puppet-agent[22052]:
(/Stage[main]/Puppet::Agent/Package[puppet]/ensure) ensure changed
'3.3.2-1.el6' to '0:3.4.0-1.el6'
but as I say even with the official 3.4.1 it's falling flat on its face.
Stopping the daemon, blowing away /var/lib/puppet and reassociating it with
the master and the problem still persists.
Any suggested next steps? Thoughts gratefully appreciated!
Cheers,
Steph
--
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 puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/c34f3a38-4e02-4c1e-96e2-b5294be4fc11%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.