Skip to content

Commit 4e02ea6

Browse files
jimbo8098gsdevme
authored andcommitted
- Using Chef 13.x
- Travis tests now using Makefile instead - Readme added explaining the repo works with Cent7 and Chef 15.
1 parent 1876030 commit 4e02ea6

File tree

4 files changed

+79
-118
lines changed

4 files changed

+79
-118
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: ruby
22
before_install:
3-
- gem install bundler
3+
- make bundle
44
rvm:
55
- 2.6

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
source "https://rubygems.org"
22

33
gem 'berkshelf'
4+
gem 'chef', '~> 13'
45
gem 'rake'

Gemfile.lock

Lines changed: 73 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ GEM
33
specs:
44
addressable (2.7.0)
55
public_suffix (>= 2.0.2, < 5.0)
6-
bcrypt_pbkdf (1.0.1)
76
berkshelf (7.0.9)
87
chef (>= 13.6.52)
98
chef-config
@@ -18,201 +17,158 @@ GEM
1817
solve (~> 4.0)
1918
thor (>= 0.20)
2019
builder (3.2.4)
21-
chef (15.7.32)
20+
chef (13.12.14)
2221
addressable
23-
bcrypt_pbkdf (~> 1.0)
2422
bundler (>= 1.10)
25-
chef-config (= 15.7.32)
26-
chef-utils (= 15.7.32)
27-
chef-zero (>= 14.0.11)
23+
chef-config (= 13.12.14)
24+
chef-zero (~> 13.0)
2825
diff-lcs (~> 1.2, >= 1.2.4)
29-
ed25519 (~> 1.2)
3026
erubis (~> 2.7)
31-
ffi (~> 1.9, >= 1.9.25)
32-
ffi-libarchive
3327
ffi-yajl (~> 2.2)
34-
highline (>= 1.6.9, < 2)
28+
highline (~> 1.6, >= 1.6.9)
3529
iniparse (~> 1.4)
36-
license-acceptance (~> 1.0, >= 1.0.5)
37-
mixlib-archive (>= 0.4, < 2.0)
38-
mixlib-authentication (>= 2.1, < 4)
39-
mixlib-cli (>= 2.1.1, < 3.0)
40-
mixlib-log (>= 2.0.3, < 4.0)
41-
mixlib-shellout (>= 3.0.3, < 4.0)
30+
iso8601 (~> 0.12.1)
31+
mixlib-archive (~> 0.4)
32+
mixlib-authentication (~> 1.4)
33+
mixlib-cli (~> 1.7)
34+
mixlib-log (~> 1.3)
35+
mixlib-shellout (~> 2.4)
4236
net-sftp (~> 2.1, >= 2.1.2)
43-
net-ssh (>= 4.2, < 6)
37+
net-ssh (>= 2.9, < 5.0)
4438
net-ssh-multi (~> 1.2, >= 1.2.1)
45-
ohai (~> 15.0)
39+
ohai (~> 13.0)
4640
plist (~> 3.2)
4741
proxifier (~> 1.0)
42+
rspec-core (~> 3.5, < 3.8)
43+
rspec-expectations (~> 3.5, < 3.8)
44+
rspec-mocks (~> 3.5, < 3.8)
45+
rspec_junit_formatter (~> 0.2.0)
46+
serverspec (~> 2.7)
47+
specinfra (~> 2.10)
4848
syslog-logger (~> 1.6)
49-
train-core (~> 3.1)
50-
train-winrm (>= 0.2.5)
51-
tty-screen (~> 0.6)
5249
uuidtools (~> 2.1.5)
53-
chef-config (15.7.32)
50+
chef-config (13.12.14)
5451
addressable
55-
chef-utils (= 15.7.32)
5652
fuzzyurl
57-
mixlib-config (>= 2.2.12, < 4.0)
58-
mixlib-shellout (>= 2.0, < 4.0)
53+
mixlib-config (>= 2.2.12, < 3.0)
54+
mixlib-shellout (~> 2.0)
5955
tomlrb (~> 1.2)
60-
chef-utils (15.7.32)
61-
chef-zero (14.0.17)
56+
chef-zero (13.1.0)
6257
ffi-yajl (~> 2.2)
6358
hashie (>= 2.0, < 4.0)
64-
mixlib-log (>= 2.0, < 4.0)
65-
rack (~> 2.0, >= 2.0.6)
59+
mixlib-log (~> 1.3)
60+
rack (~> 2.0)
6661
uuidtools (~> 2.1)
6762
cleanroom (1.0.0)
68-
concurrent-ruby (1.1.5)
63+
concurrent-ruby (1.1.6)
6964
diff-lcs (1.3)
70-
ed25519 (1.2.4)
71-
equatable (0.6.1)
72-
erubi (1.9.0)
7365
erubis (2.7.0)
7466
faraday (1.0.0)
7567
multipart-post (>= 1.2, < 3)
7668
ffi (1.12.2)
77-
ffi-libarchive (1.0.0)
78-
ffi (~> 1.0)
7969
ffi-yajl (2.3.3)
8070
libyajl2 (~> 1.2)
8171
fuzzyurl (0.9.0)
82-
gssapi (1.3.0)
83-
ffi (>= 1.0.1)
84-
gyoku (1.3.1)
85-
builder (>= 2.1.2)
8672
hashie (3.6.0)
8773
highline (1.7.10)
88-
httpclient (2.8.3)
8974
iniparse (1.4.4)
9075
ipaddress (0.8.3)
91-
json (2.3.0)
76+
iso8601 (0.12.1)
9277
libyajl2 (1.2.0)
93-
license-acceptance (1.0.13)
94-
pastel (~> 0.7)
95-
tomlrb (~> 1.2)
96-
tty-box (~> 0.3)
97-
tty-prompt (~> 0.18)
98-
little-plugger (1.1.4)
99-
logging (2.2.2)
100-
little-plugger (~> 1.1)
101-
multi_json (~> 1.10)
10278
minitar (0.9)
103-
mixlib-archive (1.0.5)
79+
mixlib-archive (0.4.20)
10480
mixlib-log
105-
mixlib-authentication (3.0.6)
106-
mixlib-cli (2.1.5)
107-
mixlib-config (3.0.6)
81+
mixlib-authentication (1.4.2)
82+
mixlib-cli (1.7.0)
83+
mixlib-config (2.2.18)
10884
tomlrb
109-
mixlib-log (3.0.8)
110-
mixlib-shellout (3.0.9)
85+
mixlib-log (1.7.1)
86+
mixlib-shellout (2.4.4)
11187
molinillo (0.6.6)
11288
multi_json (1.14.1)
11389
multipart-post (2.1.1)
114-
necromancer (0.5.1)
11590
net-scp (2.0.0)
11691
net-ssh (>= 2.6.5, < 6.0.0)
11792
net-sftp (2.1.2)
11893
net-ssh (>= 2.6.5)
119-
net-ssh (5.2.0)
94+
net-ssh (4.2.0)
12095
net-ssh-gateway (2.0.0)
12196
net-ssh (>= 4.0.0)
12297
net-ssh-multi (1.2.1)
12398
net-ssh (>= 2.6.5)
12499
net-ssh-gateway (>= 1.2.0)
125-
nori (2.6.0)
126-
octokit (4.15.0)
100+
net-telnet (0.1.1)
101+
octokit (4.16.0)
127102
faraday (>= 0.9)
128103
sawyer (~> 0.8.0, >= 0.5.3)
129-
ohai (15.7.4)
130-
chef-config (>= 12.8, < 16)
104+
ohai (13.12.6)
105+
chef-config (>= 12.5.0.alpha.1, < 14)
131106
ffi (~> 1.9)
132107
ffi-yajl (~> 2.2)
133108
ipaddress
134-
mixlib-cli (>= 1.7.0)
135-
mixlib-config (>= 2.0, < 4.0)
136-
mixlib-log (>= 2.0.1, < 4.0)
137-
mixlib-shellout (>= 2.0, < 4.0)
109+
mixlib-cli (< 2.0)
110+
mixlib-config (~> 2.0)
111+
mixlib-log (>= 1.7.1, < 2.0)
112+
mixlib-shellout (~> 2.0)
138113
plist (~> 3.1)
139114
systemu (~> 2.6.4)
140115
wmi-lite (~> 1.0)
141-
pastel (0.7.3)
142-
equatable (~> 0.6)
143-
tty-color (~> 0.5)
144116
plist (3.5.0)
145117
proxifier (1.0.3)
146118
public_suffix (4.0.3)
147-
rack (2.1.2)
119+
rack (2.2.2)
148120
rake (13.0.1)
149121
retryable (3.0.5)
150-
rubyntlm (0.6.2)
151-
rubyzip (2.2.0)
122+
rspec (3.7.0)
123+
rspec-core (~> 3.7.0)
124+
rspec-expectations (~> 3.7.0)
125+
rspec-mocks (~> 3.7.0)
126+
rspec-core (3.7.1)
127+
rspec-support (~> 3.7.0)
128+
rspec-expectations (3.7.0)
129+
diff-lcs (>= 1.2.0, < 2.0)
130+
rspec-support (~> 3.7.0)
131+
rspec-its (1.3.0)
132+
rspec-core (>= 3.0.0)
133+
rspec-expectations (>= 3.0.0)
134+
rspec-mocks (3.7.0)
135+
diff-lcs (>= 1.2.0, < 2.0)
136+
rspec-support (~> 3.7.0)
137+
rspec-support (3.7.1)
138+
rspec_junit_formatter (0.2.3)
139+
builder (< 4)
140+
rspec-core (>= 2, < 4, != 2.12.0)
152141
sawyer (0.8.2)
153142
addressable (>= 2.3.5)
154143
faraday (> 0.8, < 2.0)
155144
semverse (3.0.0)
145+
serverspec (2.41.5)
146+
multi_json
147+
rspec (~> 3.0)
148+
rspec-its
149+
specinfra (~> 2.72)
150+
sfl (2.3)
156151
solve (4.0.3)
157152
molinillo (~> 0.6)
158153
semverse (>= 1.1, < 4.0)
159-
strings (0.1.8)
160-
strings-ansi (~> 0.1)
161-
unicode-display_width (~> 1.5)
162-
unicode_utils (~> 1.4)
163-
strings-ansi (0.2.0)
154+
specinfra (2.82.9)
155+
net-scp
156+
net-ssh (>= 2.7)
157+
net-telnet (= 0.1.1)
158+
sfl
164159
syslog-logger (1.6.8)
165160
systemu (2.6.5)
166161
thor (1.0.1)
167162
tomlrb (1.2.9)
168-
train-core (3.2.14)
169-
json (>= 1.8, < 3.0)
170-
mixlib-shellout (>= 2.0, < 4.0)
171-
net-scp (>= 1.2, < 3.0)
172-
net-ssh (>= 2.9, < 6.0)
173-
train-winrm (0.2.6)
174-
winrm (~> 2.0)
175-
winrm-fs (~> 1.0)
176-
tty-box (0.5.0)
177-
pastel (~> 0.7.2)
178-
strings (~> 0.1.6)
179-
tty-cursor (~> 0.7)
180-
tty-color (0.5.1)
181-
tty-cursor (0.7.1)
182-
tty-prompt (0.20.0)
183-
necromancer (~> 0.5.0)
184-
pastel (~> 0.7.0)
185-
tty-reader (~> 0.7.0)
186-
tty-reader (0.7.0)
187-
tty-cursor (~> 0.7)
188-
tty-screen (~> 0.7)
189-
wisper (~> 2.0.0)
190-
tty-screen (0.7.1)
191-
unicode-display_width (1.6.1)
192-
unicode_utils (1.4.0)
193163
uuidtools (2.1.5)
194-
winrm (2.3.4)
195-
builder (>= 2.1.2)
196-
erubi (~> 1.8)
197-
gssapi (~> 1.2)
198-
gyoku (~> 1.0)
199-
httpclient (~> 2.2, >= 2.2.0.2)
200-
logging (>= 1.6.1, < 3.0)
201-
nori (~> 2.0)
202-
rubyntlm (~> 0.6.0, >= 0.6.1)
203-
winrm-fs (1.3.4)
204-
erubi (~> 1.8)
205-
logging (>= 1.6.1, < 3.0)
206-
rubyzip (~> 2.0)
207-
winrm (~> 2.0)
208-
wisper (2.0.1)
209164
wmi-lite (1.0.5)
210165

211166
PLATFORMS
212167
ruby
213168

214169
DEPENDENCIES
215170
berkshelf
171+
chef (~> 13)
216172
rake
217173

218174
BUNDLED WITH

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
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.
2+
3+
# Support
4+
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 commit comments

Comments
 (0)