commit dice for openSUSE:Factory
Hello community, here is the log from the commit of package dice for openSUSE:Factory checked in at 2015-04-12 00:10:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dice (Old) and /work/SRC/openSUSE:Factory/.dice.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dice" Changes: -------- --- /work/SRC/openSUSE:Factory/dice/dice.changes 2015-04-10 09:52:38.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2015-04-12 00:10:47.000000000 +0200 @@ -1,0 +2,10 @@ +Fri Apr 10 12:17:44 CEST 2015 - ms@suse.de + +- Make sure a default provider is set for vagrant + + dice takes the value VAGRANT_DEFAULT_PROVIDER from the + environment and if not set it is set to 'docker'. the + parameter will be passed as --provider option to the + vagrant calls + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dice-0.5.3.gem ++++++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/config.rb new/lib/config.rb --- old/lib/config.rb 2015-04-08 09:10:37.000000000 +0200 +++ new/lib/config.rb 2015-04-10 12:38:00.000000000 +0200 @@ -4,6 +4,10 @@ attr_accessor :ssh_user def initialize + # default provider is docker if not specified in env + if !ENV["VAGRANT_DEFAULT_PROVIDER"] + ENV["VAGRANT_DEFAULT_PROVIDER"] = "docker" + end # default buildhost is a vagrant identification symbol # which triggers the use of vagrant @buildhost = Dice::VAGRANT_BUILD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/vagrant_build_system.rb new/lib/vagrant_build_system.rb --- old/lib/vagrant_build_system.rb 2015-04-08 09:10:37.000000000 +0200 +++ new/lib/vagrant_build_system.rb 2015-04-10 12:38:00.000000000 +0200 @@ -19,7 +19,10 @@ "#{self.class}: Starting up buildsystem for #{recipe.basepath}..." ) begin - up_output = Command.run("vagrant", "up", :stdout => :capture) + up_output = Command.run( + "vagrant", "up", "--provider", ENV["VAGRANT_DEFAULT_PROVIDER"], + :stdout => :capture + ) rescue Cheetah::ExecutionFailed => e raise Dice::Errors::VagrantUpFailed.new( "Starting up virtual system failed with: #{e.stderr}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-04-08 09:10:37.000000000 +0200 +++ new/metadata 2015-04-10 12:38:00.000000000 +0200 @@ -8,7 +8,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2015-04-08 00:00:00.000000000 Z +date: 2015-04-10 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: cheetah
participants (1)
-
root@hilbert.suse.de