This was fixed in Trusty in 3.3.1-1ubuntu1, which picked up the Debian
fix. For Saucy, I've prepared an SRU. I've also written a dep8 test that
I've added to my Saucy SRU that I will submit to Debian.
** Description changed:
+ [Impact]
+
+ puppet does not work correctly in a very common use case (parameterised
+ classes).
+
+ [Development Fix]
+
+ Fixed in Debian by rearranging the ruby-hiera dependency.
+
+ [Stable Fix]
+
+ Add a ruby-hiera dependency on puppet-common. This is like Debian, but
+ does not remove it from puppetmaster-common in order to keep it minimal.
+
+ [Test Case]
+
+ Included in new dep8 test in the package, or see comment 9 below.
+
+ [Regression Potential]
+
+ Just adding a dependency which is normally used with this package
+ anyway. I don't see any regression potential with this change.
+
+ [Original Description]
+
Puppet does not work without ruby-hiera package, but it also does not
have this dependency mapped:
$ sudo apt-get install puppet-common
$ sudo puppet apply /etc/puppet/manifests/site.pp --verbose
Info: Loading facts in /etc/puppet/modules/php/lib/facter/php_config.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Error: Puppet::Parser::AST::Resource failed with error RuntimeError: Hiera
terminus not supported without hiera library at
/etc/puppet/manifests/abstracts.pp:10 on node graphite.local
Error: Puppet::Parser::AST::Resource failed with error RuntimeError: Hiera
terminus not supported without hiera library at
/etc/puppet/manifests/abstracts.pp:10 on node graphite.local
Need to install ruby-hiera to be able to run
$ sudo apt-get install ruby-hiera
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: puppet 3.2.4-2ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Sun Oct 20 12:30:10 2013
InstallationDate: Installed on 2013-10-19 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64
(20131016.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: puppet
UpgradeStatus: No upgrade log present (probably fresh install)
** Changed in: puppet (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242363
Title:
Puppet package needs ruby-hiera (unmapped dep)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1242363/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs