[Pkg-puppet-devel] [facter] 49/180: (maint) Handle case where :install wasn't in the options file

Stig Sandbeck Mathisen ssm at debian.org
Mon Jun 30 15:06:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 4b8c7a61b49ae2dd52b5074bc0e4d190e13a94a1
Author: Kylo Ginsberg <kylo at puppetlabs.com>
Date:   Mon Apr 7 16:10:51 2014 -0700

    (maint) Handle case where :install wasn't in the options file
---
 acceptance/Rakefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/acceptance/Rakefile b/acceptance/Rakefile
index 7f592f7..7bb7dce 100644
--- a/acceptance/Rakefile
+++ b/acceptance/Rakefile
@@ -71,6 +71,7 @@ def beaker_test(mode = :packages, options = {})
   if mode == :git
     puppet_fork = ENV['FORK'] || 'puppetlabs'
     git_server  = ENV['GIT_SERVER'] || 'github.com'
+    final_options[:install] ||= []
     final_options[:install] << "git://#{git_server}/#{puppet_fork}/facter.git##{sha}"
   end
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list