Skip to content

Commit

Permalink
Merge pull request #2713 from hlindberg/PUP-2703_make-tag-into-statement
Browse files Browse the repository at this point in the history
(PUP-2703) Make 'tag' be a statement function
  • Loading branch information
zaphod42 committed Jun 23, 2014
2 parents f292423 + c1354b5 commit bf5ad07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/puppet/pops/model/factory.rb
Expand Up @@ -738,6 +738,7 @@ def self.nop? o
'realize' => true,
'include' => true,
'contain' => true,
'tag' => true,

'debug' => true,
'info' => true,
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/pops/transformer/transform_calls_spec.rb
Expand Up @@ -34,6 +34,7 @@
"realize bar" => '(invoke realize bar)',
"contain bar" => '(invoke contain bar)',
"include bar" => '(invoke include bar)',
"tag bar" => '(invoke tag bar)',

"info bar" => '(invoke info bar)',
"notice bar" => '(invoke notice bar)',
Expand All @@ -54,7 +55,6 @@

{
"foo bar" => '(block foo bar)',
"tag bar" => '(block tag bar)',
"tag" => 'tag',
}.each do |source, result|
it "should not transform #{source}, and instead produce #{result}" do
Expand Down

0 comments on commit bf5ad07

Please sign in to comment.