Issue #5761 has been updated by David Schmitt.

Assignee changed from David Schmitt to eric sorenson

Hi eric,

I can confirm that the original problem still persists on 3.0.1, using 
puppetdb. the latter should make it much easier to debug, but I'm seriously 
lacking tuits currently.
----------------------------------------
Bug #5761: a local collect ignores default values
https://projects.puppetlabs.com/issues/5761#change-84738

Author: David Schmitt
Status: Needs More Information
Priority: Normal
Assignee: eric sorenson
Category: exported resources
Target version: 
Affected Puppet version: 2.6.3
Keywords: export collect tags defaults
Branch: 


    File { tag => 'sc_test' }
    @@file {
        "/tmp/test1": ensure => present;
        "/tmp/test2": ensure => present, tag => 'sc_test';
    }
    File <<| tag == 'sc_test' |>>


    # ls -la /tmp/test*
    -rw-r--r-- 1 root root 0 Jan  3 14:28 /tmp/test2

>From my understanding, the defaults statement in the first line should ensure 
>that both files are tagged 'sc_test'. As can be seen from the results, only 
>the explicitly tagged resource is collected. This can also be observed with 
>other parameters.

The resource gets written into the stored configs database and other nodes can 
collect both files.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to