The Puppet Labs Issue Tracker has Moved:

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 See the following page for information on filing tickets with JIRA:

Feature #2084

Realize a resource automatically when required by something else

Added by Joe McDonagh about 7 years ago. Updated about 3 years ago.

Status:AcceptedStart date:03/16/2009
Priority:NormalDue date:
Assignee:-% Done:


Target version:3.x
Affected Puppet version:0.24.7 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


$SUBJECT. I can’t think of a case where this isn’t desired, but maybe you can. Thanks.

E.g., given:

@file { foo: ... }
@service { bar:
    require => File[ foo ]
realize Service[ foo ]

File[ foo ] should also be realized.

Related issues

Related to Puppet - Bug #2020: Realizing a resource should create a dependency on that r... Accepted 02/23/2009
Related to Puppet - Feature #3178: Resource collections and the 'require' function should be... Accepted 02/12/2010


#1 Updated by James Turnbull about 7 years ago

  • Category set to RAL
  • Status changed from Unreviewed to Needs Decision
  • Assignee set to Luke Kanies
  • Target version set to 4

Luke? Should this be a by-blow of #2020?

#2 Updated by Luke Kanies about 7 years ago

  • Category changed from RAL to language
  • Status changed from Needs Decision to Accepted

This ticket is kind of the opposite of #2020 – this one realizes if a relationship is created, and that one creates a relationship if the resource is realized.

#3 Updated by Luke Kanies almost 6 years ago

  • Assignee deleted (Luke Kanies)
  • Target version changed from 4 to 2.7.x

#4 Updated by Nigel Kersten about 5 years ago

  • Target version changed from 2.7.x to 3.x

#5 Updated by Anonymous almost 5 years ago

  • Keywords set to puppetcamp-eu-2011

#6 Updated by Anonymous almost 5 years ago

I think that this (and #2020) are both issues well worth resolving. The expressed behaviours are both very reasonable at first blush, and I can’t see any nasty edge cases that might make them troublesome off-hand.

Also available in: Atom PDF