Skip to content

Commit

Permalink
- Using Chef 13.x
Browse files Browse the repository at this point in the history
- Travis tests now using Makefile instead
- Readme added explaining the repo works with Cent7 and Chef 15.
  • Loading branch information
jimbo8098 authored and gsdevme committed Feb 26, 2020
1 parent 1876030 commit 4e02ea6
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 118 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: ruby
before_install:
- gem install bundler
- make bundle
rvm:
- 2.6
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source "https://rubygems.org"

gem 'berkshelf'
gem 'chef', '~> 13'
gem 'rake'
190 changes: 73 additions & 117 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ GEM
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
bcrypt_pbkdf (1.0.1)
berkshelf (7.0.9)
chef (>= 13.6.52)
chef-config
Expand All @@ -18,201 +17,158 @@ GEM
solve (~> 4.0)
thor (>= 0.20)
builder (3.2.4)
chef (15.7.32)
chef (13.12.14)
addressable
bcrypt_pbkdf (~> 1.0)
bundler (>= 1.10)
chef-config (= 15.7.32)
chef-utils (= 15.7.32)
chef-zero (>= 14.0.11)
chef-config (= 13.12.14)
chef-zero (~> 13.0)
diff-lcs (~> 1.2, >= 1.2.4)
ed25519 (~> 1.2)
erubis (~> 2.7)
ffi (~> 1.9, >= 1.9.25)
ffi-libarchive
ffi-yajl (~> 2.2)
highline (>= 1.6.9, < 2)
highline (~> 1.6, >= 1.6.9)
iniparse (~> 1.4)
license-acceptance (~> 1.0, >= 1.0.5)
mixlib-archive (>= 0.4, < 2.0)
mixlib-authentication (>= 2.1, < 4)
mixlib-cli (>= 2.1.1, < 3.0)
mixlib-log (>= 2.0.3, < 4.0)
mixlib-shellout (>= 3.0.3, < 4.0)
iso8601 (~> 0.12.1)
mixlib-archive (~> 0.4)
mixlib-authentication (~> 1.4)
mixlib-cli (~> 1.7)
mixlib-log (~> 1.3)
mixlib-shellout (~> 2.4)
net-sftp (~> 2.1, >= 2.1.2)
net-ssh (>= 4.2, < 6)
net-ssh (>= 2.9, < 5.0)
net-ssh-multi (~> 1.2, >= 1.2.1)
ohai (~> 15.0)
ohai (~> 13.0)
plist (~> 3.2)
proxifier (~> 1.0)
rspec-core (~> 3.5, < 3.8)
rspec-expectations (~> 3.5, < 3.8)
rspec-mocks (~> 3.5, < 3.8)
rspec_junit_formatter (~> 0.2.0)
serverspec (~> 2.7)
specinfra (~> 2.10)
syslog-logger (~> 1.6)
train-core (~> 3.1)
train-winrm (>= 0.2.5)
tty-screen (~> 0.6)
uuidtools (~> 2.1.5)
chef-config (15.7.32)
chef-config (13.12.14)
addressable
chef-utils (= 15.7.32)
fuzzyurl
mixlib-config (>= 2.2.12, < 4.0)
mixlib-shellout (>= 2.0, < 4.0)
mixlib-config (>= 2.2.12, < 3.0)
mixlib-shellout (~> 2.0)
tomlrb (~> 1.2)
chef-utils (15.7.32)
chef-zero (14.0.17)
chef-zero (13.1.0)
ffi-yajl (~> 2.2)
hashie (>= 2.0, < 4.0)
mixlib-log (>= 2.0, < 4.0)
rack (~> 2.0, >= 2.0.6)
mixlib-log (~> 1.3)
rack (~> 2.0)
uuidtools (~> 2.1)
cleanroom (1.0.0)
concurrent-ruby (1.1.5)
concurrent-ruby (1.1.6)
diff-lcs (1.3)
ed25519 (1.2.4)
equatable (0.6.1)
erubi (1.9.0)
erubis (2.7.0)
faraday (1.0.0)
multipart-post (>= 1.2, < 3)
ffi (1.12.2)
ffi-libarchive (1.0.0)
ffi (~> 1.0)
ffi-yajl (2.3.3)
libyajl2 (~> 1.2)
fuzzyurl (0.9.0)
gssapi (1.3.0)
ffi (>= 1.0.1)
gyoku (1.3.1)
builder (>= 2.1.2)
hashie (3.6.0)
highline (1.7.10)
httpclient (2.8.3)
iniparse (1.4.4)
ipaddress (0.8.3)
json (2.3.0)
iso8601 (0.12.1)
libyajl2 (1.2.0)
license-acceptance (1.0.13)
pastel (~> 0.7)
tomlrb (~> 1.2)
tty-box (~> 0.3)
tty-prompt (~> 0.18)
little-plugger (1.1.4)
logging (2.2.2)
little-plugger (~> 1.1)
multi_json (~> 1.10)
minitar (0.9)
mixlib-archive (1.0.5)
mixlib-archive (0.4.20)
mixlib-log
mixlib-authentication (3.0.6)
mixlib-cli (2.1.5)
mixlib-config (3.0.6)
mixlib-authentication (1.4.2)
mixlib-cli (1.7.0)
mixlib-config (2.2.18)
tomlrb
mixlib-log (3.0.8)
mixlib-shellout (3.0.9)
mixlib-log (1.7.1)
mixlib-shellout (2.4.4)
molinillo (0.6.6)
multi_json (1.14.1)
multipart-post (2.1.1)
necromancer (0.5.1)
net-scp (2.0.0)
net-ssh (>= 2.6.5, < 6.0.0)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (5.2.0)
net-ssh (4.2.0)
net-ssh-gateway (2.0.0)
net-ssh (>= 4.0.0)
net-ssh-multi (1.2.1)
net-ssh (>= 2.6.5)
net-ssh-gateway (>= 1.2.0)
nori (2.6.0)
octokit (4.15.0)
net-telnet (0.1.1)
octokit (4.16.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
ohai (15.7.4)
chef-config (>= 12.8, < 16)
ohai (13.12.6)
chef-config (>= 12.5.0.alpha.1, < 14)
ffi (~> 1.9)
ffi-yajl (~> 2.2)
ipaddress
mixlib-cli (>= 1.7.0)
mixlib-config (>= 2.0, < 4.0)
mixlib-log (>= 2.0.1, < 4.0)
mixlib-shellout (>= 2.0, < 4.0)
mixlib-cli (< 2.0)
mixlib-config (~> 2.0)
mixlib-log (>= 1.7.1, < 2.0)
mixlib-shellout (~> 2.0)
plist (~> 3.1)
systemu (~> 2.6.4)
wmi-lite (~> 1.0)
pastel (0.7.3)
equatable (~> 0.6)
tty-color (~> 0.5)
plist (3.5.0)
proxifier (1.0.3)
public_suffix (4.0.3)
rack (2.1.2)
rack (2.2.2)
rake (13.0.1)
retryable (3.0.5)
rubyntlm (0.6.2)
rubyzip (2.2.0)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.1)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
rspec_junit_formatter (0.2.3)
builder (< 4)
rspec-core (>= 2, < 4, != 2.12.0)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
semverse (3.0.0)
serverspec (2.41.5)
multi_json
rspec (~> 3.0)
rspec-its
specinfra (~> 2.72)
sfl (2.3)
solve (4.0.3)
molinillo (~> 0.6)
semverse (>= 1.1, < 4.0)
strings (0.1.8)
strings-ansi (~> 0.1)
unicode-display_width (~> 1.5)
unicode_utils (~> 1.4)
strings-ansi (0.2.0)
specinfra (2.82.9)
net-scp
net-ssh (>= 2.7)
net-telnet (= 0.1.1)
sfl
syslog-logger (1.6.8)
systemu (2.6.5)
thor (1.0.1)
tomlrb (1.2.9)
train-core (3.2.14)
json (>= 1.8, < 3.0)
mixlib-shellout (>= 2.0, < 4.0)
net-scp (>= 1.2, < 3.0)
net-ssh (>= 2.9, < 6.0)
train-winrm (0.2.6)
winrm (~> 2.0)
winrm-fs (~> 1.0)
tty-box (0.5.0)
pastel (~> 0.7.2)
strings (~> 0.1.6)
tty-cursor (~> 0.7)
tty-color (0.5.1)
tty-cursor (0.7.1)
tty-prompt (0.20.0)
necromancer (~> 0.5.0)
pastel (~> 0.7.0)
tty-reader (~> 0.7.0)
tty-reader (0.7.0)
tty-cursor (~> 0.7)
tty-screen (~> 0.7)
wisper (~> 2.0.0)
tty-screen (0.7.1)
unicode-display_width (1.6.1)
unicode_utils (1.4.0)
uuidtools (2.1.5)
winrm (2.3.4)
builder (>= 2.1.2)
erubi (~> 1.8)
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.3.4)
erubi (~> 1.8)
logging (>= 1.6.1, < 3.0)
rubyzip (~> 2.0)
winrm (~> 2.0)
wisper (2.0.1)
wmi-lite (1.0.5)

PLATFORMS
ruby

DEPENDENCIES
berkshelf
chef (~> 13)
rake

BUNDLED WITH
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
A cookbook which helps with the setup of user accounts, groups and configures sudo access. Since it was added, it's been kind of replaced by Chef's version of the same thing in many respects. For the moment though, it's still used in various places.

# Support
We know the cookbook works on CentOS 6 and 7 and, whilst the tests are currently written for Chef 13, it was actually building successfully on Chef 15.7.32, the latest at the time. Therefore, we shouldn't really have any issues continuing using this if needs be.

0 comments on commit 4e02ea6

Please sign in to comment.