2016-04-18 03:30:50 +00:00
|
|
|
#
|
|
|
|
# This file is used to configure the inspec project. It contains
|
|
|
|
# some minimal configuration examples for working with Omnibus. For a full list
|
|
|
|
# of configurable options, please see the documentation for +omnibus/config.rb+.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Build internally
|
|
|
|
# ------------------------------
|
|
|
|
# By default, Omnibus uses system folders (like +/var+ and +/opt+) to build and
|
|
|
|
# cache components. If you would to build everything internally, you can
|
|
|
|
# uncomment the following options. This will prevent the need for root
|
|
|
|
# permissions in most cases.
|
|
|
|
#
|
|
|
|
# Uncomment this line to change the default base directory to "local"
|
|
|
|
# -------------------------------------------------------------------
|
|
|
|
# base_dir './local'
|
|
|
|
#
|
|
|
|
# Alternatively you can tune the individual values
|
|
|
|
# ------------------------------------------------
|
|
|
|
# cache_dir './local/omnibus/cache'
|
|
|
|
# git_cache_dir './local/omnibus/cache/git_cache'
|
|
|
|
# source_dir './local/omnibus/src'
|
|
|
|
# build_dir './local/omnibus/build'
|
|
|
|
# package_dir './local/omnibus/pkg'
|
|
|
|
# package_tmp './local/omnibus/pkg-tmp'
|
|
|
|
|
|
|
|
# Disable git caching
|
|
|
|
# ------------------------------
|
|
|
|
# use_git_caching false
|
|
|
|
|
|
|
|
# Enable S3 asset caching
|
|
|
|
# ------------------------------
|
|
|
|
use_s3_caching true
|
2019-06-11 22:24:35 +00:00
|
|
|
s3_access_key ENV["AWS_ACCESS_KEY_ID"]
|
|
|
|
s3_secret_key ENV["AWS_SECRET_ACCESS_KEY"]
|
|
|
|
s3_bucket "opscode-omnibus-cache"
|
2016-04-18 03:30:50 +00:00
|
|
|
|
2017-03-20 21:05:07 +00:00
|
|
|
build_retries 3
|
|
|
|
fetcher_retries 3
|
|
|
|
fetcher_read_timeout 120
|
2016-04-18 03:30:50 +00:00
|
|
|
|
|
|
|
# Windows architecture defaults
|
|
|
|
# ------------------------------
|
2019-06-11 22:24:35 +00:00
|
|
|
arch = if %w{x86 x64}.include?((ENV["OMNIBUS_WINDOWS_ARCH"] || "").downcase)
|
|
|
|
ENV["OMNIBUS_WINDOWS_ARCH"].downcase.to_sym
|
2016-08-08 09:23:12 +00:00
|
|
|
else
|
|
|
|
:x86
|
|
|
|
end
|
|
|
|
windows_arch arch
|