Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
x509certs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nationellt superdatorcentrum
puppetmodules
x509certs
Merge requests
!1
Add support for el8 systems.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add support for el8 systems.
fetchcrl-on-el8
into
master
Overview
0
Commits
1
Changes
1
Merged
Filip Polbratt
requested to merge
fetchcrl-on-el8
into
master
3 years ago
Overview
0
Commits
1
Changes
1
Expand
Added el8 as a supported OS. Note that fetch-crl use systemd timers on el8.
0
0
Merge request reports
Compare
master
version 1
d0553a6b
3 years ago
master (base)
and
latest version
latest version
2b6f9206
1 commit,
3 years ago
version 1
d0553a6b
1 commit,
3 years ago
1 file
+
26
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
manifests/fetchcrl.pp
+
26
−
8
Options
@@ -20,7 +20,7 @@ class x509certs::fetchcrl
notify
=>
Exec
[
'x509certs::fetchcrl::initial'
];
}
}
/
^
(
CentOS
|
RedHat
|
Scientific
):(
7
)(
\
.
[
^
:]
+
)
?$
/
:
{
/
^
(
CentOS
|
RedHat
|
Scientific
):(
[
7
-
8
]
)(
\
.
[
^
:]
+
)
?$
/
:
{
package
{
'perl-LWP-Protocol-https'
:
ensure
=>
installed
,
before
=>
Package
[
'fetch-crl'
],
@@ -40,14 +40,32 @@ class x509certs::fetchcrl
# Obsolete; now just an empty package depending on fetch-crl.
ensure
=>
absent
;
}
service
{
'fetch-crl-cron'
:
enable
=>
true
,
ensure
=>
running
,
require
=>
Package
[
'fetch-crl'
];
'fetch-crl-boot'
:
enable
=>
false
,
require
=>
Package
[
'fetch-crl'
];
# Activate services as required per operatingsystem
case
"
${::operatingsystem}
:
${::operatingsystemrelease}
"
{
/^
(
CentOS|RedHat|Scientific
)
:
([
6
-
7
])(
\.
[
^:
]
+
)
?$/
:
{
service
{
'fetch-crl-cron'
:
enable
=>
true
,
ensure
=>
running
,
require
=>
Package
[
'fetch-crl'
];
'fetch-crl-boot'
:
enable
=>
false
,
require
=>
Package
[
'fetch-crl'
];
}
}
/
^
(
CentOS
|
RedHat
|
Scientific
):(
8
)(
\
.
[
^
:]
+
)
?$
/
:
{
service
{
'fetch-crl.timer'
:
enable
=>
true
,
ensure
=>
running
,
require
=>
Package
[
'fetch-crl'
];
}
}
default
:
{
fail
(
"X509certs::Fetchcrl: Unsupported operating system"
)
}
}
exec
{
'x509certs::fetchcrl::initial'
:
command
=>
'/usr/sbin/fetch-crl -p 16'
,
Loading