onceover 3.20.0 → 3.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.devcontainer/devcontainer.json +31 -0
- data/.github/workflows/release.yaml +24 -0
- data/.github/workflows/tests.yaml +5 -8
- data/.gitignore +0 -1
- data/.rubocop.yml +1 -1
- data/.vscode/extensions.json +4 -0
- data/Gemfile +12 -0
- data/README.md +46 -2
- data/Rakefile +1 -0
- data/cucumber.yml +1 -0
- data/factsets/Windows_Server-2008r2-64.json +184 -184
- data/factsets/Windows_Server-2012r2-64.json +165 -165
- data/factsets/windows-10-64.json +104 -104
- data/features/step_definitions/run.rb +4 -0
- data/features/zzz_run.feature +2 -8
- data/lib/onceover/beaker/spec_helper.rb +8 -8
- data/lib/onceover/cli/run.rb +1 -0
- data/lib/onceover/cli/show.rb +1 -1
- data/lib/onceover/controlrepo.rb +62 -34
- data/lib/onceover/deploy.rb +6 -3
- data/lib/onceover/rspec/formatters.rb +2 -4
- data/lib/onceover/runner.rb +2 -1
- data/lib/onceover/test.rb +1 -1
- data/lib/onceover/testconfig.rb +4 -2
- data/onceover.gemspec +6 -11
- data/spec/fixtures/controlrepos/caching/Puppetfile +17 -17
- data/spec/fixtures/controlrepos/puppet_controlrepo/.atom-build.json +9 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/.gitignore +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/.ruby-version +1 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/.travis.yml +13 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/Gemfile +22 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/Jenkinsfile +50 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/Puppetfile +102 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/README.md +4 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/Rakefile +6 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/common.yaml +558 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/melbourne.yaml +12 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/singapore.yaml +12 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/development.yaml +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/production.yaml +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/data/size/vol.large.yaml +27 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/environment.conf +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/hiera.yaml +25 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/manifests/site.pp +11 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/code_manager_config_version.rb +19 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.rb +25 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.sh +12 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/count_changed_classes.rb +26 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/get_changed_classes.rb +26 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/functions/user/token.pp +10 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/init.pp +14 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/user.pp +35 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/lib/puppet/functions/deployments/generate.rb +15 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/plans/signed_deployment.pp +126 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/facts.d/test.sh +2 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/artifactory/config_descriptor.xml +265 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/autosign.sh +23 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/hudson.tasks.Shell.xml +4 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/motd +4 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/polar_clock/index.html +198 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/apt.pp +9 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/aws_nodes.pp +54 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/aws.pp +9 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/rhel.pp +50 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows/hardening.pp +57 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows.pp +52 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base.pp +79 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/artifactory.pp +64 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/connection.pp +95 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/haproxy.pp +65 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/replicated.pp +53 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/balancer.pp +28 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/master.pp +19 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/host_record.pp +16 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/server.pp +66 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/docker.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/base.pp +43 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core/database_connection.pp +42 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core.pp +72 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/ctrl.pp +57 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/database.pp +32 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/exec.pp +11 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/client.pp +165 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/master_patch.pp +37 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/grafana/dashboard.pp +17 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/haproxy.pp +43 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/init.pp +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins/plugins.pp +87 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins.pp +65 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/aio.pp +39 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/app.pp +27 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/db.pp +25 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd/compile.pp +82 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd.pp +28 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/dashboard.pp +28 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/mysql_server.pp +7 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/nginx.pp +24 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/polar_clock.pp +55 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/api_auth.pp +82 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/autosign.pp +33 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/aws.pp +58 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/tuning.pp +139 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster.pp +139 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/rvm.pp +13 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sumologic.pp +11 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sunburst/windows.pp +104 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/vagrant.pp +25 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/windows/webserver.pp +27 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/cd4pe/connection_script.sh.epp +110 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/controlrepo_deploy_jenkins_job.xml.epp +51 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/dashboard.json.epp +403 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/jenkins_secret_text.json.epp +1 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/onceover_jenkins_job.xml.epp +51 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/userdata.epp +17 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/cd4pe.pp +29 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/clock.pp +16 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/balancer.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/master.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/aio.pp +10 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/controller.pp +10 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/database.pp +7 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/exec.pp +6 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/init.pp +3 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/lb.pp +14 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/metrics.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/mysql.pp +13 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/base.pp +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/webserver.pp +6 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/.gitignore +5 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/acceptance/nodesets/onceover-nodes.yml +94 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/classes/test_spec.rb +8 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master-2017.3.2.json +531 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master.json +429 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64.json +353 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2008r2-64.json +184 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2012r2-64.json +165 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/hiera.yaml +18 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/matchers/file_matchers.rb +16 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/onceover.yaml +54 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/pre_conditions/site.pp +150 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/r10k.yaml +2 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/shared_examples/helper.rb +91 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/00_parse_spec.rb +76 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/01_linting_spec_example.rb +69 -0
- data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/03_puppetfile_spec_example.rb +35 -0
- data/templates/spec_helper.rb.erb +0 -2
- data/templates/test_spec.rb.erb +3 -0
- metadata +136 -77
- data/.gitmodules +0 -4
@@ -19,11 +19,9 @@ RSpec.configure do |c|
|
|
19
19
|
# Also add JUnit output in case people want to use that
|
20
20
|
c.add_formatter('RSpecJUnitFormatter','<%= repo.tempdir %>/spec.xml')
|
21
21
|
|
22
|
-
c.parser = 'future'
|
23
22
|
<% @formatters.each do |fm| -%>
|
24
23
|
c.formatter = '<%= fm %>'
|
25
24
|
<% end -%>
|
26
|
-
c.trusted_server_facts = true
|
27
25
|
c.environmentpath = '<%= environmentpath %>'
|
28
26
|
c.module_path = '<%= modulepath %>'
|
29
27
|
<% if repo.hiera_config_file_relative_path %>
|
data/templates/test_spec.rb.erb
CHANGED
@@ -10,6 +10,9 @@ describe "<%= cls.name %>"<%= test.tags.map { |tag| ",#{tag}: true "}.join %> do
|
|
10
10
|
<% if node.trusted_set -%>
|
11
11
|
trusted_facts = <%= node.trusted_set %>
|
12
12
|
let(:trusted_facts) { trusted_facts }
|
13
|
+
<% if node.trusted_set['certname'] -%>
|
14
|
+
let(:node) { "<%= node.trusted_set['certname'] %>" }
|
15
|
+
<% end -%>
|
13
16
|
<% end -%>
|
14
17
|
<% if node.trusted_external_set -%>
|
15
18
|
trusted_external_data = <%= node.trusted_external_set %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onceover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Ratcliffe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backticks
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: colored
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -98,14 +98,14 @@ dependencies:
|
|
98
98
|
name: multi_json
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '1.10'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.10'
|
111
111
|
- !ruby/object:Gem::Dependency
|
@@ -193,33 +193,33 @@ dependencies:
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 3.0.0
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
196
|
+
name: rspec_junit_formatter
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 2.
|
201
|
+
version: 0.2.0
|
202
202
|
type: :runtime
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: 2.
|
208
|
+
version: 0.2.0
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
210
|
+
name: rspec-puppet
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
215
|
+
version: 2.4.0
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
222
|
+
version: 2.4.0
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: terminal-table
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -248,68 +248,6 @@ dependencies:
|
|
248
248
|
- - ">="
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: 0.5.0
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
|
-
name: cucumber
|
253
|
-
requirement: !ruby/object:Gem::Requirement
|
254
|
-
requirements:
|
255
|
-
- - "~>"
|
256
|
-
- !ruby/object:Gem::Version
|
257
|
-
version: '4.1'
|
258
|
-
type: :development
|
259
|
-
prerelease: false
|
260
|
-
version_requirements: !ruby/object:Gem::Requirement
|
261
|
-
requirements:
|
262
|
-
- - "~>"
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
version: '4.1'
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: pry
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - "~>"
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: 0.13.1
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - "~>"
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: 0.13.1
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: rubocop
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - "~>"
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '1.6'
|
286
|
-
- - ">="
|
287
|
-
- !ruby/object:Gem::Version
|
288
|
-
version: 1.6.1
|
289
|
-
type: :development
|
290
|
-
prerelease: false
|
291
|
-
version_requirements: !ruby/object:Gem::Requirement
|
292
|
-
requirements:
|
293
|
-
- - "~>"
|
294
|
-
- !ruby/object:Gem::Version
|
295
|
-
version: '1.6'
|
296
|
-
- - ">="
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
version: 1.6.1
|
299
|
-
- !ruby/object:Gem::Dependency
|
300
|
-
name: rubygems-tasks
|
301
|
-
requirement: !ruby/object:Gem::Requirement
|
302
|
-
requirements:
|
303
|
-
- - "~>"
|
304
|
-
- !ruby/object:Gem::Version
|
305
|
-
version: 0.2.5
|
306
|
-
type: :development
|
307
|
-
prerelease: false
|
308
|
-
version_requirements: !ruby/object:Gem::Requirement
|
309
|
-
requirements:
|
310
|
-
- - "~>"
|
311
|
-
- !ruby/object:Gem::Version
|
312
|
-
version: 0.2.5
|
313
251
|
description: Automatically generates tests for your Puppet code
|
314
252
|
email:
|
315
253
|
- dylan.ratcliffe@puppet.com
|
@@ -318,15 +256,18 @@ executables:
|
|
318
256
|
extensions: []
|
319
257
|
extra_rdoc_files: []
|
320
258
|
files:
|
259
|
+
- ".devcontainer/devcontainer.json"
|
321
260
|
- ".gitattributes"
|
261
|
+
- ".github/workflows/release.yaml"
|
322
262
|
- ".github/workflows/tests.yaml"
|
323
263
|
- ".gitignore"
|
324
|
-
- ".gitmodules"
|
325
264
|
- ".rubocop.yml"
|
265
|
+
- ".vscode/extensions.json"
|
326
266
|
- Gemfile
|
327
267
|
- README.md
|
328
268
|
- Rakefile
|
329
269
|
- bin/onceover
|
270
|
+
- cucumber.yml
|
330
271
|
- factsets/AIX-6.1-powerpc.json
|
331
272
|
- factsets/AIX-7.1-powerpc.json
|
332
273
|
- factsets/Amazon-2018.03.json
|
@@ -456,6 +397,125 @@ files:
|
|
456
397
|
- spec/fixtures/controlrepos/function_mocking/site/role/manifests/test_new_functions.pp
|
457
398
|
- spec/fixtures/controlrepos/function_mocking/spec/onceover.yaml
|
458
399
|
- spec/fixtures/controlrepos/minimal/environment.conf
|
400
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/.atom-build.json
|
401
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/.gitignore
|
402
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/.ruby-version
|
403
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/.travis.yml
|
404
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/Gemfile
|
405
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/Jenkinsfile
|
406
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/Puppetfile
|
407
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/README.md
|
408
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/Rakefile
|
409
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/data/common.yaml
|
410
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/melbourne.yaml
|
411
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/singapore.yaml
|
412
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/data/environments/development.yaml
|
413
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/data/environments/production.yaml
|
414
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/data/size/vol.large.yaml
|
415
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/environment.conf
|
416
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/hiera.yaml
|
417
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/manifests/site.pp
|
418
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/scripts/code_manager_config_version.rb
|
419
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.rb
|
420
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.sh
|
421
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/scripts/count_changed_classes.rb
|
422
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/scripts/get_changed_classes.rb
|
423
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/functions/user/token.pp
|
424
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/init.pp
|
425
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/user.pp
|
426
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/lib/puppet/functions/deployments/generate.rb
|
427
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/plans/signed_deployment.pp
|
428
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/facts.d/test.sh
|
429
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/artifactory/config_descriptor.xml
|
430
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/autosign.sh
|
431
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/hudson.tasks.Shell.xml
|
432
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/motd
|
433
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/polar_clock/index.html
|
434
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/apt.pp
|
435
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/aws_nodes.pp
|
436
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base.pp
|
437
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/aws.pp
|
438
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/rhel.pp
|
439
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows.pp
|
440
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows/hardening.pp
|
441
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/artifactory.pp
|
442
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/connection.pp
|
443
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/haproxy.pp
|
444
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/replicated.pp
|
445
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/balancer.pp
|
446
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/master.pp
|
447
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/host_record.pp
|
448
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/server.pp
|
449
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/docker.pp
|
450
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/base.pp
|
451
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core.pp
|
452
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core/database_connection.pp
|
453
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/ctrl.pp
|
454
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/database.pp
|
455
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/exec.pp
|
456
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/client.pp
|
457
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/master_patch.pp
|
458
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/grafana/dashboard.pp
|
459
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/haproxy.pp
|
460
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/init.pp
|
461
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins.pp
|
462
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins/plugins.pp
|
463
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/aio.pp
|
464
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/app.pp
|
465
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/db.pp
|
466
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd.pp
|
467
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd/compile.pp
|
468
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/dashboard.pp
|
469
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/mysql_server.pp
|
470
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/nginx.pp
|
471
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/polar_clock.pp
|
472
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster.pp
|
473
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/api_auth.pp
|
474
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/autosign.pp
|
475
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/aws.pp
|
476
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/tuning.pp
|
477
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/rvm.pp
|
478
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sumologic.pp
|
479
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sunburst/windows.pp
|
480
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/vagrant.pp
|
481
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/windows/webserver.pp
|
482
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/cd4pe/connection_script.sh.epp
|
483
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/controlrepo_deploy_jenkins_job.xml.epp
|
484
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/dashboard.json.epp
|
485
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/jenkins_secret_text.json.epp
|
486
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/onceover_jenkins_job.xml.epp
|
487
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/userdata.epp
|
488
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/cd4pe.pp
|
489
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/clock.pp
|
490
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/balancer.pp
|
491
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/master.pp
|
492
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/aio.pp
|
493
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/controller.pp
|
494
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/database.pp
|
495
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/exec.pp
|
496
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/init.pp
|
497
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/lb.pp
|
498
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/metrics.pp
|
499
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/mysql.pp
|
500
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/base.pp
|
501
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/webserver.pp
|
502
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/.gitignore
|
503
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/acceptance/nodesets/onceover-nodes.yml
|
504
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/classes/test_spec.rb
|
505
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master-2017.3.2.json
|
506
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master.json
|
507
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64.json
|
508
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2008r2-64.json
|
509
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2012r2-64.json
|
510
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/hiera.yaml
|
511
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/matchers/file_matchers.rb
|
512
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/onceover.yaml
|
513
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/pre_conditions/site.pp
|
514
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/r10k.yaml
|
515
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/shared_examples/helper.rb
|
516
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/00_parse_spec.rb
|
517
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/01_linting_spec_example.rb
|
518
|
+
- spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/03_puppetfile_spec_example.rb
|
459
519
|
- spec/fixtures/controlrepos/windows/Gemfile
|
460
520
|
- spec/fixtures/controlrepos/windows/Puppetfile
|
461
521
|
- spec/fixtures/controlrepos/windows/environment.conf
|
@@ -500,8 +560,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
500
560
|
- !ruby/object:Gem::Version
|
501
561
|
version: '0'
|
502
562
|
requirements: []
|
503
|
-
|
504
|
-
rubygems_version: 2.7.6.2
|
563
|
+
rubygems_version: 3.5.3
|
505
564
|
signing_key:
|
506
565
|
specification_version: 4
|
507
566
|
summary: Testing tools for Puppet controlrepos
|
data/.gitmodules
DELETED