diff options
| author | Luke Kanies <luke@madstop.com> | 2007-10-05 11:46:35 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-10-05 11:46:35 -0500 |
| commit | 9c58c476c2ffcf9613f14e5881b1177f01d413a7 (patch) | |
| tree | 8791274ce754f486f039ba942e3a5d3d9939df3e /test/language/parser.rb | |
| parent | d35cd947c82ba9da8ec798100a3c710c34492521 (diff) | |
| download | puppet-9c58c476c2ffcf9613f14e5881b1177f01d413a7.tar.gz puppet-9c58c476c2ffcf9613f14e5881b1177f01d413a7.tar.xz puppet-9c58c476c2ffcf9613f14e5881b1177f01d413a7.zip | |
Adding a :code setting for specifying code to run
instead of a manifest, and removing all of the ambiguity
around whether an interpreter gets its own file specified
or uses the central setting.
Most of the changes are around fixing existing tests to use this new system.
Diffstat (limited to 'test/language/parser.rb')
| -rwxr-xr-x | test/language/parser.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/language/parser.rb b/test/language/parser.rb index 9109686cb..1e7adb45e 100755 --- a/test/language/parser.rb +++ b/test/language/parser.rb @@ -618,7 +618,8 @@ file { "/tmp/yayness": f.puts "file { '#{file}': ensure => present }" end - interp = mkinterp :Manifest => top, :UseNodes => false + Puppet[:manifest] = top + interp = Puppet::Parser::Interpreter.new code = nil assert_nothing_raised do |
