diff options
| author | Luke Kanies <luke@madstop.com> | 2008-02-11 17:24:02 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-02-11 17:24:02 -0600 |
| commit | 6a4cf6c978e8c8aebba4ed0f16d3de7bb31a0ce0 (patch) | |
| tree | df96556dd073aa5d0c23c735a2456da8f144f6b9 /lib/puppet/node/catalog.rb | |
| parent | 3b740ff7a6ab7127ec5e4935782c33245687c429 (diff) | |
| download | puppet-6a4cf6c978e8c8aebba4ed0f16d3de7bb31a0ce0.tar.gz puppet-6a4cf6c978e8c8aebba4ed0f16d3de7bb31a0ce0.tar.xz puppet-6a4cf6c978e8c8aebba4ed0f16d3de7bb31a0ce0.zip | |
Fixed #1030 - class and definition evaluation has been significantly
refactored, fixing this problem and making the whole interplay
between the classes, definitions, and nodes, and the Compile class much
cleaner.
Diffstat (limited to 'lib/puppet/node/catalog.rb')
| -rw-r--r-- | lib/puppet/node/catalog.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/puppet/node/catalog.rb b/lib/puppet/node/catalog.rb index 03187cc94..f93d2786d 100644 --- a/lib/puppet/node/catalog.rb +++ b/lib/puppet/node/catalog.rb @@ -395,6 +395,11 @@ class Puppet::Node::Catalog < Puppet::PGraph nil end + # Does our tag list include this tag? + def tagged?(tag) + @tags.include?(tag) + end + # Return the list of tags. def tags @tags.dup |
