Issue #486 has been updated by jamtur01.

Target version deleted (unplanned)


----------------------------------------
Feature #486: tag usage should not be dependent on file order
http://reductivelabs.com/redmine/issues/show/486

Author: admin
Status: Closed
Priority: Normal
Assigned to: luke
Category: language
Target version: 
Keywords: 
Complexity: Hard
Patch: None
Affected version: 


hello,

 the tag() function is sensible to the order the parser read the .pp files. It 
makes impossible to have reliable tagging in definitions:


case tagged(apache) {
        true: { package { webmin-apache: ensure => latest }  }
}

depending on the file orders it will work or not.

comment by Luke on this:

At this point the tagging is file-order dependent:  Puppet's parser  
can only see tags that were created before the current line.

I expect that your webmin definition is used before your apache2  
definition, which is why you're having this problem.

As soon as I can figure out how to solve this problem, I will.

so, i fill a bug :)

regards,
Ghislain.






----------------------------------------
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to