Puppet package needs ruby-hiera (unmapped dep)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet (Ubuntu) |
Fix Released
|
High
|
Robie Basak | ||
Saucy |
Fix Released
|
High
|
Robie Basak |
Bug Description
[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/
Info: Loading facts in /etc/puppet/
Info: Loading facts in /etc/puppet/
Info: Loading facts in /etc/puppet/
Info: Loading facts in /etc/puppet/
Info: Loading facts in /etc/puppet/
Error: Puppet:
Error: Puppet:
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
ProcVersionSign
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
PackageArchitec
SourcePackage: puppet
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in puppet (Ubuntu Saucy): | |
assignee: | nobody → Robie Basak (racb) |
Changed in puppet (Ubuntu): | |
assignee: | nobody → Robie Basak (racb) |
Correct. This packaging bug was fixed in the debian repository just before the 3.3.0-1 release, with commit id 11a376f8348dfa2 c254b19f7b29aec 13940aeb92.
The "ruby-hiera" dependency was moved from the "puppetmaster- common" package to the "puppet-common" package. Previously, this was only needed by the puppet master, and the dependency was not moved to the correct place until 3.3.0-1
See also http:// anonscm. debian. org/gitweb/ ?p=pkg- puppet/ puppet. git;a=commitdif f;h=11a376f8348 dfa2c254b19f7b2 9aec13940aeb92