diff options
author | Luke Kanies <luke@reductivelabs.com> | 2010-01-30 23:51:59 -0600 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 5401a7ca8550ade0443188b505a104ca5726ec80 (patch) | |
tree | 137027c51dfd95c1c5cd0c53a4d5361e8fe46576 /lib/puppet/parser/ast | |
parent | 9c867e6d79dcc56cd34683c9a339dc729ad2d291 (diff) | |
download | puppet-5401a7ca8550ade0443188b505a104ca5726ec80.tar.gz puppet-5401a7ca8550ade0443188b505a104ca5726ec80.tar.xz puppet-5401a7ca8550ade0443188b505a104ca5726ec80.zip |
Adding strictness checking to resources
This is used for AST resources (and fixed the last
of the tests I broke in spec/).
Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'lib/puppet/parser/ast')
-rw-r--r-- | lib/puppet/parser/ast/resource.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/parser/ast/resource.rb b/lib/puppet/parser/ast/resource.rb index 5da40b32f..c82e0b525 100644 --- a/lib/puppet/parser/ast/resource.rb +++ b/lib/puppet/parser/ast/resource.rb @@ -44,7 +44,8 @@ class Resource < AST::ResourceReference :exported => self.exported, :virtual => virt, :source => scope.source, - :scope => scope + :scope => scope, + :strict => true ) # And then store the resource in the compiler. |