mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-07-09 10:55:35 +01:00
Merge pull request #27 from voxpupuli/puppet8_20230723
Add Puppet 8 support
This commit is contained in:
commit
1adcdf5092
5 changed files with 17 additions and 12 deletions
11
.github/CONTRIBUTING.md
vendored
11
.github/CONTRIBUTING.md
vendored
|
@ -232,18 +232,21 @@ simple tests against it after applying the module. You can run this
|
|||
with:
|
||||
|
||||
```sh
|
||||
BEAKER_setfile=debian11-64 bundle exec rake beaker
|
||||
BEAKER_PUPPET_COLLECTION=puppet7 BEAKER_setfile=debian11-64 bundle exec rake beaker
|
||||
```
|
||||
|
||||
You can replace the string `debian10` with any common operating system.
|
||||
You can replace the string `debian11` with any common operating system.
|
||||
The following strings are known to work:
|
||||
|
||||
* ubuntu1804
|
||||
* ubuntu2004
|
||||
* debian10
|
||||
* ubuntu2204
|
||||
* debian11
|
||||
* centos7
|
||||
* centos8
|
||||
* centos9
|
||||
* almalinux8
|
||||
* almalinux9
|
||||
* fedora36
|
||||
|
||||
For more information and tips & tricks, see [voxpupuli-acceptance's documentation](https://github.com/voxpupuli/voxpupuli-acceptance#running-tests).
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# Managed by modulesync - DO NOT EDIT
|
||||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
||||
|
||||
modulesync_config_version: '5.5.0'
|
||||
modulesync_config_version: '7.0.0'
|
||||
|
|
13
Gemfile
13
Gemfile
|
@ -4,10 +4,10 @@
|
|||
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
||||
|
||||
group :test do
|
||||
gem 'voxpupuli-test', '~> 5.4', :require => false
|
||||
gem 'voxpupuli-test', '~> 7.0', :require => false
|
||||
gem 'coveralls', :require => false
|
||||
gem 'simplecov-console', :require => false
|
||||
gem 'puppet_metadata', '~> 2.0', :require => false
|
||||
gem 'puppet_metadata', '~> 3.0', :require => false
|
||||
end
|
||||
|
||||
group :development do
|
||||
|
@ -16,18 +16,19 @@ group :development do
|
|||
end
|
||||
|
||||
group :system_tests do
|
||||
gem 'voxpupuli-acceptance', '~> 1.0', :require => false
|
||||
gem 'voxpupuli-acceptance', '~> 2.0', :require => false
|
||||
end
|
||||
|
||||
group :release do
|
||||
gem 'github_changelog_generator', '>= 1.16.1', :require => false if RUBY_VERSION >= '2.5'
|
||||
gem 'voxpupuli-release', '~> 2.0', :require => false
|
||||
gem 'github_changelog_generator', '>= 1.16.1', :require => false
|
||||
gem 'voxpupuli-release', '~> 3.0', :require => false
|
||||
gem 'faraday-retry', '~> 2.1', :require => false
|
||||
end
|
||||
|
||||
gem 'rake', :require => false
|
||||
gem 'facter', ENV['FACTER_GEM_VERSION'], :require => false, :groups => [:test]
|
||||
|
||||
puppetversion = ENV['PUPPET_GEM_VERSION'] || '>= 6.0'
|
||||
puppetversion = ENV['PUPPET_GEM_VERSION'] || '~> 7.24'
|
||||
gem 'puppet', puppetversion, :require => false, :groups => [:test]
|
||||
|
||||
# vim: syntax=ruby
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
"requirements": [
|
||||
{
|
||||
"name": "puppet",
|
||||
"version_requirement": ">= 7.0.0 < 8.0.0"
|
||||
"version_requirement": ">= 7.0.0 < 9.0.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -17,3 +17,4 @@ if File.exist?(File.join(__dir__, 'default_module_facts.yml'))
|
|||
add_custom_fact name.to_sym, value
|
||||
end
|
||||
end
|
||||
Dir['./spec/support/spec/**/*.rb'].sort.each { |f| require f }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue