test/support/integration_test.rb in knife-solo-0.3.0.pre1 vs test/support/integration_test.rb in knife-solo-0.3.0.pre2
- old
+ new
@@ -70,17 +70,10 @@
runner.tag_as_prepared(server)
end
# The prepare command to use on this server
def prepare_command
- "prepare #{omnibus_options}"
- end
-
- def omnibus_options
- return "" if ENV['CHEF_VERSION'].to_s.empty?
-
- v = `knife --version`.split(':')
- v[0].strip == 'Chef' ? "--omnibus-version=#{v[1].strip}" : ''
+ "prepare"
end
# Provides the path to the runner's key file
def key_file
runner.key_file