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

Bug #7198

Realizing virutal resources also realized exported resources

Added by Zach Leslie almost 3 years ago. Updated almost 3 years ago.

Status:AcceptedStart date:04/20/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:exported resources
Target version:-
Affected Puppet version:2.6.7 Branch:
Keywords:

We've Moved!

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

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

The following manifest:

@@file { "/tmp/blag.txt": content => "test1"; }
File <||>

when run produces the following output:

$ sudo puppet apply -v --storeconfigs /tmp/test.pp
info: Loading facts in certname
info: Loading facts in certname
info: Connecting to sqlite3 database: /var/lib/puppet/state/clientconfigs.sqlite3
info: Caching catalog for zbook.puppetlabs.lan
info: Applying configuration version '1303341787'
notice: /Stage[main]//File[/tmp/blag.txt]/ensure: defined content as '{md5}098f6bcd4621d373cade4e832627b4f6'

Using the syntax of <||> should only realize virtual resources and not exported resources.

History

#1 Updated by Zach Leslie almost 3 years ago

  • Status changed from Unreviewed to Accepted

Also available in: Atom PDF