Issue #2246 has been reported by Ben -.
----------------------------------------
Bug #2246: Exported resources with multiple tags not working
http://projects.reductivelabs.com/issues/2246
Author: Ben -
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Unknown
Affected version: 0.24.8
Keywords:
The following examples do not work and i would expect them too.
example 1:
<pre>
# Export resource test w/ multiple tags.
@@file { "/tmp/test-${fqdn}": content => "test ${fqdn}",
tag => [ "exp-res-test-${fqdn}",
"exp-res-test-${domain}", "exp-res-test-all" ];
}
File<<| tag == "exp-res-test-${fqdn}" |>>
</pre>
On examining the database the resource is created and exported but none of the
requested tags are created, only the autotags.
example 2:
<pre>
# Export resource test w/ multiple tags using a define.
define exp-res-test () {
tag("exp-res-test-${fqdn}")
tag("exp-res-test-${domain}")
tag("exp-res-test-all")
@@file { "/tmp/test-${fqdn}": content => "test ${fqdn}"; }
}
exp-res-test { testing: }
File<<| tag == "exp-res-test-${fqdn}" |>>
</pre>
Looking at the database for this one things are looking better, the resource is
created, exported and all the requested tags are associated with it but the
resource is not realized by the 'File<<| tag == "exp-res-test-${fqdn}" |>>' and
the file is never created.
--
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://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---