[Bug 1309796] [NEW] wrong default augeas lenses path
Hadmut Danisch
hadmut at danisch.de
Fri Apr 18 23:37:52 UTC 2014
Public bug reported:
the augeas resource does not work with current puppet and complains
„loading failed”
It works when the additional parameter
load_path => "/usr/share/augeas/lenses/dist",
is given, but such details should usually be kept out of puppet
manifests for default lenses.
Reason:
It tries to find lenses under the path
/var/lib/puppet/lib/augeas/lenses
while unter ubuntu 14.04 the augeas lenses are located under
/usr/share/augeas/lenses/dist
The problem is in /usr/lib/ruby/vendor_ruby/puppet/provider/augeas/augeas.rb:
if Puppet::FileSystem::File.exist?("#{Puppet[:libdir]}/augeas/lenses")
load_path << "#{Puppet[:libdir]}/augeas/lenses"
end
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: puppet (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Apr 19 01:20:03 2014
SourcePackage: puppet
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: puppet (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/1309796
Title:
wrong default augeas lenses path
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1309796/+subscriptions
More information about the Ubuntu-server-bugs
mailing list