Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
puppet-puppet-deleted-2844
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is pending deletion, and will be deleted on
2025-07-24
. Repository and other project resources are read-only.
Show more breadcrumbs
drebs
puppet-puppet-deleted-2844
Commits
1222b80d
Project 'drebs/puppet-puppet' was moved to 'drebs/puppet-puppet-deleted-2844'. Please update any links and bookmarks that may still have the old path.
Commit
1222b80d
authored
May 11, 2020
by
William Bradford Clark
Committed by
Ewoud Kohl van Wijngaarden
May 12, 2020
Browse files
Options
Downloads
Patches
Plain Diff
Fixes #29735 - support el8
parent
904e51b3
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
metadata.json
+4
-2
4 additions, 2 deletions
metadata.json
spec/classes/puppet_agent_spec.rb
+6
-6
6 additions, 6 deletions
spec/classes/puppet_agent_spec.rb
with
10 additions
and
8 deletions
metadata.json
+
4
−
2
View file @
1222b80d
...
...
@@ -43,14 +43,16 @@
"operatingsystem"
:
"RedHat"
,
"operatingsystemrelease"
:
[
"6"
,
"7"
"7"
,
"8"
]
},
{
"operatingsystem"
:
"CentOS"
,
"operatingsystemrelease"
:
[
"6"
,
"7"
"7"
,
"8"
]
},
{
...
...
This diff is collapsed.
Click to expand it.
spec/classes/puppet_agent_spec.rb
+
6
−
6
View file @
1222b80d
...
...
@@ -104,7 +104,7 @@ describe 'puppet' do
it
{
is_expected
.
to
contain_class
(
'puppet::agent::service::systemd'
).
with_enabled
(
false
)
}
case
os
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
7
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
,
/\Aarchlinux-/
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
(7|8)
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
,
/\Aarchlinux-/
it
do
is_expected
.
to
contain_exec
(
'systemctl-daemon-reload-puppet'
)
.
with_refreshonly
(
true
)
...
...
@@ -188,7 +188,7 @@ describe 'puppet' do
case
os
when
/\A(windows|archlinux)/
it
{
is_expected
.
to
raise_error
(
Puppet
::
Error
,
/Runmode of cron not supported on
#{
facts
[
:kernel
]
}
operating systems!/
)
}
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
7
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
(7|8)
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
it
{
is_expected
.
to
compile
.
with_all_deps
}
it
{
is_expected
.
to
contain_concat__fragment
(
'puppet.conf_agent'
)
}
if
facts
[
:osfamily
]
==
'Debian'
...
...
@@ -247,7 +247,7 @@ describe 'puppet' do
case
os
when
/\A(windows|archlinux)/
it
{
is_expected
.
to
raise_error
(
Puppet
::
Error
,
/Runmode of cron not supported on
#{
facts
[
:kernel
]
}
operating systems!/
)
}
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
7
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
(7|8)
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
it
{
is_expected
.
to
contain_class
(
'puppet::agent::service::cron'
).
with_enabled
(
true
)
}
it
{
is_expected
.
to
contain_class
(
'puppet::agent::service::daemon'
).
with_enabled
(
false
)
}
it
do
...
...
@@ -288,7 +288,7 @@ describe 'puppet' do
end
case
os
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
7
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
,
/\Aarchlinux-/
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
(7|8)
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
,
/\Aarchlinux-/
it
{
is_expected
.
to
compile
.
with_all_deps
}
it
{
is_expected
.
to
contain_class
(
'puppet::agent::service::daemon'
).
with_enabled
(
false
)
}
it
{
is_expected
.
to
contain_class
(
'puppet::agent::service::cron'
).
with_enabled
(
false
)
}
...
...
@@ -337,7 +337,7 @@ describe 'puppet' do
end
case
os
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
7
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
,
/\Aarchlinux-/
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
(7|8)
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
,
/\Aarchlinux-/
it
{
is_expected
.
to
compile
.
with_all_deps
}
it
{
is_expected
.
to
contain_class
(
'puppet::agent::service::daemon'
).
with_enabled
(
false
)
}
it
{
is_expected
.
to
contain_class
(
'puppet::agent::service::cron'
).
with_enabled
(
false
)
}
...
...
@@ -391,7 +391,7 @@ describe 'puppet' do
it
{
is_expected
.
to
contain_class
(
'puppet::agent::service::systemd'
).
with_enabled
(
false
)
}
case
os
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
7
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
,
/\Aarchlinux-/
when
/\Adebian-/
,
/\A(redhat|centos|scientific)-
(7|8)
/
,
/\Afedora-/
,
/\Aubuntu-(16|18)/
,
/\Aarchlinux-/
it
{
is_expected
.
to
contain_service
(
'puppet-run.timer'
).
with_ensure
(
:stopped
)
}
else
it
{
is_expected
.
not_to
contain_service
(
'puppet-run.timer'
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment