diff options
Diffstat (limited to 'omnibus')
-rw-r--r-- | omnibus/omnibus-test.ps1 | 3 | ||||
-rw-r--r-- | omnibus/omnibus-test.sh | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/omnibus/omnibus-test.ps1 b/omnibus/omnibus-test.ps1 index 4871ff0ec7..dfa69d74b1 100644 --- a/omnibus/omnibus-test.ps1 +++ b/omnibus/omnibus-test.ps1 @@ -82,6 +82,9 @@ Get-Location # ffi-yajl must run in c-extension mode for perf, so force it so we don't accidentally fall back to ffi $Env:FORCE_FFI_YAJL = "ext" +# accept license +$Env:CHEF_LICENSE = "accept-no-persist" + # some tests need winrm configured winrm quickconfig -quiet diff --git a/omnibus/omnibus-test.sh b/omnibus/omnibus-test.sh index 66114e005c..d5d5959e12 100644 --- a/omnibus/omnibus-test.sh +++ b/omnibus/omnibus-test.sh @@ -152,6 +152,9 @@ elif [[ -d /usr/local/etc/sudoers.d ]]; then sudo chmod 440 "/usr/local/etc/sudoers.d/$(id -un)-preserve_path" fi +# accept license +CHEF_LICENSE=accept-no-persist + cd "$chef_gem" sudo -E bundle install # NOTE: we have unit tests in chef/chef which ARE NOT unit tests. We need to run them on the actual shipping production artifact on the |