Greetings!
Please review the pull request #166: 10032 fix tests for solaris opened by (djm68)
Some more information about the pull request:
- Opened: Wed Oct 12 18:22:27 UTC 2011
- Based on: puppetlabs:master (941e7945925f59e33dab2a09be505ea43ae8b3f2)
- Requested merge: djm68:10032_fix_tests_for_solaris (1dc1cc7924742db6dadd36e0df1d113b5d747397)
Description:
Update test to use the new "puppet" method vs. calling
puppet via "on"; using "puppet" results in correct setting
of RUBYLIB and PATH.
Thanks!
The Pull Request Bot
Diff follows:
diff --git a/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm
index f773ba1..e546d4c 100644
--- a/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm
+++ b/acceptance/tests/ticket_7139_puppet_resource_file_qualified_paths.rm
@@ -5,7 +5,7 @@ create_remote_file(agents, '/tmp/ticket-7139', %w{foo bar contents} )
step "Run puppet file resource on /tmp/ticket-7139"
agents.each do |host|
- on(host, "puppet resource file /tmp/ticket-7139") do
+ on host, puppet("resource file /tmp/ticket-7139") do
assert_match(/file \{ \'\/tmp\/ticket-7139\':/, stdout, "puppet resource file failed on #{host}")
end
end
-- You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
