Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
puppetpublic
base
Commits
5023e139
Verified
Commit
5023e139
authored
7 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
fix a Puppet 4 issue
parent
8f4abf4b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+2
-2
2 additions, 2 deletions
NEWS
manifests/ipmi.pp
+5
-1
5 additions, 1 deletion
manifests/ipmi.pp
with
7 additions
and
3 deletions
NEWS
+
2
−
2
View file @
5023e139
...
@@ -2,8 +2,8 @@ unreleased (2017-??-??)
...
@@ -2,8 +2,8 @@ unreleased (2017-??-??)
Starting the work to make the code Puppet 4 compatible. [adamhl]
Starting the work to make the code Puppet 4 compatible. [adamhl]
[ssh] Add $extra_gssapi_only_users parameter
to
list
accounts
extra
[ssh] Add $extra_gssapi_only_users parameter list
ing any
extra
accounts that should skip Duo. [adamhl]
accounts that should skip Duo
(i.e., service accounts)
. [adamhl]
release/005.009 (2017-07-07)
release/005.009 (2017-07-07)
...
...
This diff is collapsed.
Click to expand it.
manifests/ipmi.pp
+
5
−
1
View file @
5023e139
...
@@ -50,7 +50,11 @@ class base::ipmi (
...
@@ -50,7 +50,11 @@ class base::ipmi (
# For Debian 8+, the package brings in everything it needs by
# For Debian 8+, the package brings in everything it needs by
# default. But, if we are re-enabling we need to recover a file that
# default. But, if we are re-enabling we need to recover a file that
# we deleted. We then have to trigger systemd to load modules.
# we deleted. We then have to trigger systemd to load modules.
if
((
$::operatingsystem
==
'Debian'
)
and
(
$::lsdbmajdistrelease
>=
8
))
{
#
# Note: we add 0 to $::lsdbmajdistrelease to make the numerical
# comparison work (this way, the code works in both Puppet 3 and
# Puppet 4).
if
((
$::operatingsystem
==
'Debian'
)
and
(
0
+
$::lsdbmajdistrelease
>=
8
))
{
exec
{
'Re-create /usr/lib/modules-load.d/ipmievd.conf'
:
exec
{
'Re-create /usr/lib/modules-load.d/ipmievd.conf'
:
command
=>
'/usr/bin/apt-get install --reinstall ipmitool'
,
command
=>
'/usr/bin/apt-get install --reinstall ipmitool'
,
creates
=>
'/usr/lib/modules-load.d/ipmievd.conf'
,
creates
=>
'/usr/lib/modules-load.d/ipmievd.conf'
,
...
...
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