Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
272 changes: 0 additions & 272 deletions .github/CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ permissions:
jobs:
puppet:
name: Puppet
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v3
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v4
with:
beaker_hosts: 'vpnserver:ma;vpnclienta:a'
2 changes: 1 addition & 1 deletion .msync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

modulesync_config_version: '10.1.0'
modulesync_config_version: '10.4.0'
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'

group :test do
gem 'voxpupuli-test', '~> 11.0', :require => false
gem 'voxpupuli-test', '~> 13.0', :require => false
gem 'puppet_metadata', '~> 5.0', :require => false
end

Expand All @@ -18,7 +18,7 @@ group :system_tests do
end

group :release do
gem 'voxpupuli-release', '~> 4.0', :require => false
gem 'voxpupuli-release', '~> 5.0', :require => false
end

gem 'rake', :require => false
Expand Down
4 changes: 2 additions & 2 deletions manifests/ca.pp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
$server_directory = $openvpn::server_directory

ensure_resource('file', "${server_directory}/${name}", {
ensure => directory,
mode => '0750'
ensure => directory,
mode => '0750'
})

file { "${server_directory}/${name}/easy-rsa" :
Expand Down
4 changes: 2 additions & 2 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@
}
if $shared_ca {
ensure_resource(file, "${server_directory}/${ca_name}", {
ensure => directory,
mode => '0750',
ensure => directory,
mode => '0750',
})
}

Expand Down Expand Up @@ -401,7 +401,7 @@
}
case $openvpn::easyrsa_version {
'2.0': {
exec { "renew crl.pem on ${name}":

Check warning on line 404 in manifests/server.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

exec without idempotency. set at least one of the attributes: onlyif, unless, creates, refreshonly (check: exec_idempotency)
command => ". ./vars && KEY_CN='' KEY_OU='' KEY_NAME='' KEY_ALTNAMES='' openssl ca -gencrl -out ${server_directory}/${name}/crl.pem -config ${server_directory}/${name}/easy-rsa/openssl.cnf",
cwd => "${server_directory}/${name}/easy-rsa",
provider => 'shell',
Expand All @@ -409,7 +409,7 @@
}
}
'3.0': {
exec { "renew crl.pem on ${name}":

Check warning on line 412 in manifests/server.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

exec without idempotency. set at least one of the attributes: onlyif, unless, creates, refreshonly (check: exec_idempotency)
command => "./easyrsa gen-crl && cp ./keys/crl.pem ${server_directory}/${name}/crl.pem",
cwd => "${server_directory}/${name}/easy-rsa",
provider => 'shell',
Expand Down
Loading