diff options
author | Luke Kanies <luke@madstop.com> | 2008-03-13 12:36:21 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-03-13 12:36:21 -0500 |
commit | ecb873d3a6d2eabc931457bd8f4c185c990976db (patch) | |
tree | f1741fe46caf38f17e57653e0aa1ea83cf7973ef /test | |
parent | e2370b37a73db94f4c099a9c54e2443b3c838fa0 (diff) | |
download | puppet-ecb873d3a6d2eabc931457bd8f4c185c990976db.tar.gz puppet-ecb873d3a6d2eabc931457bd8f4c185c990976db.tar.xz puppet-ecb873d3a6d2eabc931457bd8f4c185c990976db.zip |
Fixing #1118 -- downloading plugins and facts now ignores noop.
Note that this changes the behaviour a bit -- the resource's
noop setting always beats the global setting (previously,
whichever was true would win).
Diffstat (limited to 'test')
-rwxr-xr-x | test/ral/manager/type.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/ral/manager/type.rb b/test/ral/manager/type.rb index 324550acb..c6efe4f00 100755 --- a/test/ral/manager/type.rb +++ b/test/ral/manager/type.rb @@ -678,22 +678,6 @@ class TestType < Test::Unit::TestCase assert_equal("Exec[yay]", exec.ref) end - def test_noop_metaparam - file = Puppet::Type.newfile :path => tempfile - assert(!file.noop, "file incorrectly in noop") - - assert_nothing_raised do - file[:noop] = true - end - assert(file.noop, "file should be in noop") - - # Now set the main one - Puppet[:noop] = true - assert(file.noop, "file should be in noop") - file[:noop] = false - assert(file.noop, "file should be in noop") - end - def test_path config = mk_catalog |