Issue #5761 has been updated by Charlie Sharpsteen.

Keywords changed from export collect tags defaults to export collect tags 
defaults customer

----------------------------------------
Bug #5761: Default values are not fully evaluated by the compiler
https://projects.puppetlabs.com/issues/5761#change-91004

* Author: David Schmitt
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: compiler
* Target version: 
* Affected Puppet version: 2.6.3
* Keywords: export collect tags defaults customer
* 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