summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-05-06 17:20:30 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-05-06 17:20:30 -0700
commitb0c28d5b0a4964aa938b43a5e0cc5a05d1724798 (patch)
tree88c9d38c32ad299f181d319f837cd5701ce270da /Rakefile
parenta9263b94022e74ec23c63c44bad2048f080fc202 (diff)
downloadchef-b0c28d5b0a4964aa938b43a5e0cc5a05d1724798.tar.gz
Accept-no-persist the license in the Rakefilelcg/rakefile-license-accept
We should probably push all the travis tests through the rakefile at some point and centralize this, and make rake the entrypoint which sets the env var, but we'd need rake tasks for the external and kitchen tests. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index d9c3c397da..ad3f108ac8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -21,6 +21,8 @@ require_relative "tasks/rspec"
require_relative "tasks/dependencies"
require_relative "tasks/announce"
+ENV['CHEF_LICENSE'] = "accept-no-persist"
+
# hack the chef-config install to run before the traditional install task
task :super_install do
chef_config_path = ::File.join(::File.dirname(__FILE__), "chef-config")