Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lonlone Lee
base
Commits
5023e139
Verified
Commit
5023e139
authored
Aug 03, 2017
by
Adam Lewenberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a Puppet 4 issue
parent
8f4abf4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
NEWS
NEWS
+2
-2
manifests/ipmi.pp
manifests/ipmi.pp
+5
-1
No files found.
NEWS
View file @
5023e139
...
...
@@ -2,8 +2,8 @@ unreleased (2017-??-??)
Starting
the
work
to
make
the
code
Puppet
4
compatible
.
[
adamhl
]
[
ssh
]
Add
$
extra_gssapi_only_users
parameter
to
list
accounts
extra
accounts
that
should
skip
Duo
.
[
adamhl
]
[
ssh
]
Add
$
extra_gssapi_only_users
parameter
listing
any
extra
accounts
that
should
skip
Duo
(
i
.
e
.,
service
accounts
)
.
[
adamhl
]
release
/
005.009
(
2017
-
07
-
07
)
...
...
manifests/ipmi.pp
View file @
5023e139
...
...
@@ -50,7 +50,11 @@ class base::ipmi (
# 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
# 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'
:
command
=>
'/usr/bin/apt-get install --reinstall ipmitool'
,
creates
=>
'/usr/lib/modules-load.d/ipmievd.conf'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment