summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Quick <jquick@chef.io>2018-05-08 16:08:54 -0400
committerJared Quick <jquick@chef.io>2018-05-08 16:08:54 -0400
commit67f8113c0a0fe9401160070f9a10e1c34fb33aa9 (patch)
tree707896931d4e88895f368f103c6ae553a204add6
parentdbee7f652952beb8e1056f6e6731223672788838 (diff)
downloadchef-67f8113c0a0fe9401160070f9a10e1c34fb33aa9.tar.gz
Update omnibus to pack inspec-core.jq/use_inspec_core
Signed-off-by: Jared Quick <jquick@chef.io>
-rw-r--r--Gemfile7
-rw-r--r--Gemfile.lock88
-rw-r--r--omnibus/config/projects/chef.rb5
-rw-r--r--omnibus/config/software/unf_ext.rb23
4 files changed, 7 insertions, 116 deletions
diff --git a/Gemfile b/Gemfile
index 527199f80f..a6fe2d24ae 100644
--- a/Gemfile
+++ b/Gemfile
@@ -11,14 +11,9 @@ gem "chef-config", path: File.expand_path("../chef-config", __FILE__) if File.ex
gem "cheffish", "~> 14"
group(:omnibus_package) do
- # override for unf_ext for inspec 2 until
- # https://github.com/knu/ruby-unf_ext/pull/39
- # is merged and released
- gem "unf_ext", "=0.0.7.6", :git => "https://github.com/jquick/ruby-unf_ext.git"
-
gem "appbundler"
gem "rb-readline"
- gem "inspec", "~> 2"
+ gem "inspec-core", "~> 2"
gem "chef-vault"
end
diff --git a/Gemfile.lock b/Gemfile.lock
index 0cc3ab7f76..74d78f63ad 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -6,12 +6,6 @@ GIT
chefstyle (0.10.0)
rubocop (= 0.55.0)
-GIT
- remote: https://github.com/jquick/ruby-unf_ext.git
- revision: c0b3bd922214a172976f6f368c0b4e4fbf91ed78
- specs:
- unf_ext (0.0.7.6)
-
PATH
remote: .
specs:
@@ -107,16 +101,6 @@ GEM
mixlib-cli (~> 1.4)
mixlib-shellout (~> 2.0)
ast (2.4.0)
- aws-sdk (2.11.42)
- aws-sdk-resources (= 2.11.42)
- aws-sdk-core (2.11.42)
- aws-sigv4 (~> 1.0)
- jmespath (~> 1.0)
- aws-sdk-resources (2.11.42)
- aws-sdk-core (= 2.11.42)
- aws-sigv4 (1.0.2)
- azure_mgmt_resources (0.16.0)
- ms_rest_azure (~> 0.10.0)
backports (3.11.3)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
@@ -133,26 +117,16 @@ GEM
chef-zero (~> 14.0)
net-ssh
coderay (1.1.2)
- concurrent-ruby (1.0.5)
crack (0.4.3)
safe_yaml (~> 1.0.0)
debug_inspector (0.0.3)
diff-lcs (1.3)
docile (1.3.0)
- docker-api (1.34.2)
- excon (>= 0.47.0)
- multi_json
- domain_name (0.5.20180417)
- unf (>= 0.0.5, < 1.0.0)
erubis (2.7.0)
ethon (0.11.0)
ffi (>= 1.3.0)
- excon (0.62.0)
faraday (0.15.0)
multipart-post (>= 1.2, < 3)
- faraday-cookie_jar (0.0.6)
- faraday (>= 0.7.4)
- http-cookie (~> 1.0.0)
faraday_middleware (0.12.2)
faraday (>= 0.7.4, < 1.0)
ffi (1.9.21)
@@ -170,20 +144,12 @@ GEM
multi_json (~> 1.0)
net-http-persistent (~> 2.9)
net-http-pipeline
- gssapi (1.2.0)
- ffi (>= 1.0.1)
- gyoku (1.3.1)
- builder (>= 2.1.2)
hashdiff (0.3.7)
hashie (3.5.7)
highline (1.7.10)
htmlentities (4.3.4)
- http-cookie (1.0.3)
- domain_name (~> 0.5)
- httpclient (2.8.3)
- inifile (3.0.0)
iniparse (1.4.4)
- inspec (2.1.67)
+ inspec-core (2.1.68)
addressable (~> 2.4)
faraday (>= 0.9.0)
hashie (~> 3.4)
@@ -201,20 +167,15 @@ GEM
sslshake (~> 1.2)
thor (~> 0.20)
tomlrb (~> 1.2)
- train (~> 1.4)
+ train-core (~> 1.4)
ipaddress (0.8.3)
iso8601 (0.9.1)
- jmespath (1.4.0)
json (2.1.0)
launchy (2.4.3)
addressable (~> 2.3)
libyajl2 (1.2.0)
- little-plugger (1.1.4)
- logging (2.2.2)
- little-plugger (~> 1.1)
- multi_json (~> 1.10)
method_source (0.9.0)
- mixlib-archive (0.4.5)
+ mixlib-archive (0.4.6)
mixlib-log
mixlib-authentication (2.0.0)
mixlib-cli (1.7.0)
@@ -225,15 +186,6 @@ GEM
mixlib-shellout (2.3.2-universal-mingw32)
win32-process (~> 0.8.2)
wmi-lite (~> 1.0)
- ms_rest (0.7.2)
- concurrent-ruby (~> 1.0)
- faraday (~> 0.9)
- timeliness (~> 0.3)
- ms_rest_azure (0.10.6)
- concurrent-ruby (~> 1.0)
- faraday (~> 0.9)
- faraday-cookie_jar (~> 0.0.6)
- ms_rest (~> 0.7.2)
multi_json (1.13.1)
multipart-post (2.0.0)
net-http-persistent (2.9.4)
@@ -250,8 +202,7 @@ GEM
net-ssh-gateway (>= 1.2.0)
net-telnet (0.1.1)
netrc (0.11.0)
- nori (2.6.0)
- octokit (4.8.0)
+ octokit (4.9.0)
sawyer (~> 0.8.0, >= 0.5.3)
ohai (14.1.0)
chef-config (>= 12.8, < 15)
@@ -320,7 +271,6 @@ GEM
ruby-prof (0.17.0)
ruby-progressbar (1.9.0)
ruby-shadow (2.5.0)
- rubyntlm (0.6.2)
rubyzip (1.2.1)
safe_yaml (1.0.4)
sawyer (0.8.1)
@@ -349,19 +299,10 @@ GEM
syslog-logger (1.6.8)
systemu (2.6.5)
thor (0.20.0)
- timeliness (0.3.8)
tomlrb (1.2.6)
- train (1.4.4)
- aws-sdk (~> 2)
- azure_mgmt_resources (~> 0.15)
- docker-api (~> 1.26)
- inifile
+ train-core (1.4.4)
json (>= 1.8, < 3.0)
mixlib-shellout (~> 2.0)
- net-scp (~> 1.2)
- net-ssh (>= 2.9, < 5.0)
- winrm (~> 2.0)
- winrm-fs (~> 1.0)
travis (1.8.8)
backports
faraday (~> 0.9)
@@ -373,8 +314,6 @@ GEM
typhoeus (~> 0.6, >= 0.6.8)
typhoeus (0.8.0)
ethon (>= 0.8.0)
- unf (0.1.4)
- unf_ext
unicode-display_width (1.3.2)
uuidtools (2.1.5)
webmock (3.4.1)
@@ -405,20 +344,6 @@ GEM
structured_warnings
windows-api (0.4.4)
win32-api (>= 1.4.5)
- winrm (2.2.3)
- builder (>= 2.1.2)
- erubis (~> 2.7)
- gssapi (~> 1.2)
- gyoku (~> 1.0)
- httpclient (~> 2.2, >= 2.2.0.2)
- logging (>= 1.6.1, < 3.0)
- nori (~> 2.0)
- rubyntlm (~> 0.6.0, >= 0.6.1)
- winrm-fs (1.2.0)
- erubis (~> 2.7)
- logging (>= 1.6.1, < 3.0)
- rubyzip (~> 1.1)
- winrm (~> 2.0)
wmi-lite (1.0.0)
yard (0.9.12)
@@ -434,7 +359,7 @@ DEPENDENCIES
chef-vault
cheffish (~> 14)
chefstyle!
- inspec (~> 2)
+ inspec-core (~> 2)
netrc
octokit
pry
@@ -448,7 +373,6 @@ DEPENDENCIES
simplecov
tomlrb
travis
- unf_ext (= 0.0.7.6)!
webmock
yard
diff --git a/omnibus/config/projects/chef.rb b/omnibus/config/projects/chef.rb
index 10032b44a4..799c15fcbd 100644
--- a/omnibus/config/projects/chef.rb
+++ b/omnibus/config/projects/chef.rb
@@ -47,11 +47,6 @@ instance_eval(IO.read(overrides_path), overrides_path)
dependency "preparation"
-# InSpec 2 depends on unf_ext, which doesn't currently build on solaris on aix. There exists a fork
-# of unf_ext which fixes this, so let's use that in Chef for now.
-# FIXME: must remove this ASAP.
-dependency "unf_ext"
-
dependency "chef"
#
diff --git a/omnibus/config/software/unf_ext.rb b/omnibus/config/software/unf_ext.rb
deleted file mode 100644
index 269fa933b7..0000000000
--- a/omnibus/config/software/unf_ext.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# encoding: utf-8
-# override for unf_ext until
-# https://github.com/knu/ruby-unf_ext/pull/39
-# is merged and released
-
-name "unf_ext"
-
-dependency "ruby"
-dependency "rubygems"
-dependency "bundler"
-dependency "appbundler"
-
-license :project_license
-default_version "c0b3bd922214a172976f6f368c0b4e4fbf91ed78"
-source git: "https://github.com/jquick/ruby-unf_ext.git"
-skip_transitive_dependency_licensing true
-
-build do
- env = with_standard_compiler_flags(with_embedded_path)
- delete "#{name}-*.gem"
- gem "build #{name}.gemspec", env: env
- gem "install #{name}-*.gem --no-document", env: env
-end