The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #10177

-> relationship shorthand fails with multi-package resource

Added by Josh Matthews over 4 years ago. Updated almost 4 years ago.

Status:DuplicateStart date:10/19/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:3.0.0
Affected Puppet version: Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


Description

class builddeps {
      package {
          [ "libasound2-dev", "libcurl4-openssl-dev", "libnotify-dev", "libxt-dev", "libiw-dev", "mesa-common-dev", "autoconf2.13", "yasm" ]:
              ensure => installed;
      } ->

      exec { "install-builddeps":
          command => "/usr/bin/sudo /usr/bin/apt-get -y build-dep firefox",
          logoutput => "on_failure";
      }
}

yields

[default] Could not find resource 'Package[libasound2-dev]Package[libcurl4-openssl-dev]Package[libnotify-dev]Package[libxt-dev]Package[libiw-dev]Package[mesa-common-dev]Package[autoconf2.13]Package[yasm]' for relationship on 'Exec[install-builddeps]' on node lucid32.guest.tor1.mozilla.com

Related issues

Duplicates Puppet - Bug #5669: Chaining resources doesn't work with arrays of names Closed 12/24/2010

History

#1 Updated by Jacob Helwig over 4 years ago

  • Description updated (diff)

#2 Updated by Jacob Helwig over 4 years ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 3.x

Targeting at Telly, but I think we should fix this in 2.7.x if it’s reasonable to do.

#3 Updated by R.I. Pienaar over 4 years ago

Not just packages, see #5669

#4 Updated by Jacob Helwig over 4 years ago

  • Status changed from Accepted to Duplicate

#5 Updated by Anonymous almost 4 years ago

  • Target version changed from 3.x to 3.0.0

Also available in: Atom PDF