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
8f4abf4b
Verified
Commit
8f4abf4b
authored
7 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
fix some errors
parent
1c31982a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manifests/ipmi.pp
+1
-9
1 addition, 9 deletions
manifests/ipmi.pp
manifests/pam/debian.pp
+1
-7
1 addition, 7 deletions
manifests/pam/debian.pp
templates/ssh/sshd_config.erb
+2
-2
2 additions, 2 deletions
templates/ssh/sshd_config.erb
with
4 additions
and
18 deletions
manifests/ipmi.pp
+
1
−
9
View file @
8f4abf4b
...
...
@@ -50,15 +50,7 @@ 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
(
$::puppetversion
=~
/^3/
)
{
$operatingsystem
=
$::operatingsystem
$lsdbmajdistrelease
=
$::lsdbmajdistrelease
}
else
{
$operatingsystem
=
$facts
[
'os'
][
'name'
]
$lsdbmajdistrelease
=
Integer
(
$facts
[
'os'
][
'release'
][
'major'
])
}
if
((
$operatingsystem
==
'Debian'
)
and
(
$lsdbmajdistrelease
>=
8
))
{
if
((
$::operatingsystem
==
'Debian'
)
and
(
$::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'
,
...
...
This diff is collapsed.
Click to expand it.
manifests/pam/debian.pp
+
1
−
7
View file @
8f4abf4b
...
...
@@ -6,14 +6,8 @@ class base::pam::debian {
package
{
'libpam-krb5'
:
ensure
=>
present
}
package
{
'libpam-afs-session'
:
ensure
=>
present
}
if
(
$::puppetversion
=~
/^3/
)
{
$lsdbmajdistrelease
=
$::lsdbmajdistrelease
}
else
{
$lsdbmajdistrelease
=
Integer
(
$facts
[
'os'
][
'release'
][
'major'
])
}
# Starting with Debian jessie, pam-auth-update manages the common PAM files.
if
(
$lsdbmajdistrelease
<
8
)
{
if
(
$
::
lsdbmajdistrelease
<
8
)
{
file
{
'/etc/pam.d/common-auth'
:
source
=>
'puppet:///modules/base/pam/etc/pam.d/common-auth'
,
...
...
This diff is collapsed.
Click to expand it.
templates/ssh/sshd_config.erb
+
2
−
2
View file @
8f4abf4b
...
...
@@ -136,8 +136,8 @@ MaxSessions <%= @max_sessions %>
# we have to configure the authentications for root separately.
<%-
gssapi_only
=
[
'root'
,
'root.*'
,
'*.root'
,
'admin.*'
,
'*.admin'
]
gssapi_only
=
admin_users
+
@extra_gssapi_only_users
gssapi_only_list
=
admin_users
.
join
(
','
)
gssapi_only
=
gssapi_only
+
@extra_gssapi_only_users
gssapi_only_list
=
gssapi_only
.
join
(
','
)
-%>
Match User
<%=
gssapi_only_list
%>
AuthenticationMethods gssapi-with-mic
...
...
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