Skip to content

Commit 5ea0c5c

Browse files
authored
Merge pull request #972 from ekohl/drop-puppetlabs_spec_helper-mention
Drop puppetlabs spec helper mention
2 parents b72d5b2 + 6116844 commit 5ea0c5c

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

moduleroot/Rakefile.erb

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,22 @@
11
# Managed by modulesync - DO NOT EDIT
22
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
33

4-
# Attempt to load voxpupuli-test (which pulls in puppetlabs_spec_helper),
5-
# otherwise attempt to load it directly.
64
begin
75
require 'voxpupuli/test/rake'
86
rescue LoadError
9-
begin
10-
require 'puppetlabs_spec_helper/rake_tasks'
11-
rescue LoadError
12-
end
7+
# only available if gem group test is installed
138
end
149

15-
# load optional tasks for acceptance
16-
# only available if gem group releases is installed
1710
begin
1811
require 'voxpupuli/acceptance/rake'
1912
rescue LoadError
13+
# only available if gem group acceptance is installed
2014
end
2115

22-
# load optional tasks for releases
23-
# only available if gem group releases is installed
2416
begin
2517
require 'voxpupuli/release/rake_tasks'
2618
rescue LoadError
27-
# voxpupuli-release not present
19+
# only available if gem group releases is installed
2820
else
2921
GCGConfig.user = '<%= @configs['config.user'] || @configs[:namespace] %>'
3022
GCGConfig.project = '<%= @configs['config.project'] || @configs[:puppet_module] %>'

0 commit comments

Comments
 (0)