package dependency issue with puppet 4.3

Bug #1558131 reported by Matthew J Black
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-horizon
Fix Released
High
Matthew J Black

Bug Description

When trying to run puppet to setup horizon, I was able to successfully do so in puppet 3.8 but in puppet 4.3 it errors out with the follow.

Error: Could not find dependent Package[apache2] for Package[horizon] at /etc/puppetlabs/code/environments/production/modules/horizon/manifests/init.pp:362

summary: - package dependency issue with puppet 4.3
+ package dependency issue on Ubuntu
Revision history for this message
Matthew J Black (mjblack) wrote : Re: package dependency issue on Ubuntu

Details on the bug is that in puppetlabs-apache the resource is defined with title of "httpd" but with the name parameter is set to the OS package name. In puppet 4.3, it's not accepting the value in the name parameter when doing the dependency resolution.

Revision history for this message
Emilien Macchi (emilienm) wrote :

Renaming the title, since it does not affect a specific version of Puppet, but a distro.

Changed in puppet-horizon:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/293551

Changed in puppet-horizon:
assignee: nobody → Matthew J Black (mjblack)
status: Confirmed → In Progress
Revision history for this message
Emilien Macchi (emilienm) wrote :

See https://tickets.puppetlabs.com/browse/PUP-5021 - reverting the title change :-)

summary: - package dependency issue on Ubuntu
+ package dependency issue with puppet 4.3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-horizon (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/293555

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-horizon (stable/liberty)

Change abandoned by Matthew J Black (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/293555

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-horizon (master)

Reviewed: https://review.openstack.org/293551
Committed: https://git.openstack.org/cgit/openstack/puppet-horizon/commit/?id=e445ac1ab6cb9584b653e8b3128621fbb9febaeb
Submitter: Jenkins
Branch: master

commit e445ac1ab6cb9584b653e8b3128621fbb9febaeb
Author: Matthew Black <email address hidden>
Date: Wed Mar 16 12:22:39 2016 -0400

    Fixed ubuntu package dependency on puppet 4.3

    When running on puppet 4.3, the dependency for the package
    is set to 'apache2' but the actual package resource title
    in the puppetlabs-apache is 'httpd'. This change removes
    $http_service from being set depending on osfamily and
    makes it set to 'httpd' for all.

    Change-Id: I030446fabb7ec83c9ed94032e4ae54faff060e69
    Closes-Bug: 1558131

Changed in puppet-horizon:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/puppet-horizon 9.0.0

This issue was fixed in the openstack/puppet-horizon 9.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.