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
cecfd565
Commit
cecfd565
authored
Apr 15, 2015
by
Jonathan Lent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[os][rpm] small tweaks due to AFS package race conditions on EL7
parent
f5b80555
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
5 deletions
+18
-5
manifests/os/redhat/el7.pp
manifests/os/redhat/el7.pp
+18
-5
No files found.
manifests/os/redhat/el7.pp
View file @
cecfd565
...
...
@@ -54,12 +54,25 @@ class base::os::redhat::el7 {
require
=>
Package
[
'iptables-services'
],
}
# enable afs-client {
now, and at boot
}
exec
{
'enable_openafs_client'
:
# enable afs-client {
onboot, and now
}
exec
{
'enable_openafs_client
_onboot
'
:
path
=>
"/usr/bin:/usr/sbin:/bin:/sbin"
,
command
=>
'systemctl enable openafs-client ; systemctl start openafs-client ; touch /var/puppet/openafs_client_enabled'
,
creates
=>
'/var/puppet/openafs_client_enabled'
,
require
=>
Package
[
'iptables-services'
],
command
=>
'systemctl enable openafs-client && touch /var/puppet/openafs_client_autostart_enabled'
,
creates
=>
'/var/puppet/openafs_client_autostart_enabled'
,
require
=>
Package
[
'openafs-client'
],
}
exec
{
'start_openafs_client_first_time'
:
path
=>
"/usr/bin:/usr/sbin:/bin:/sbin"
,
command
=>
'systemctl start openafs-client && touch /var/puppet/openafs_client_started_first_time'
,
creates
=>
'/var/puppet/openafs_client_started_first_time'
,
require
=>
Package
[
'openafs-client'
],
}
# Our EL7 build of openafs-client does not pull this in automatically
# opting to fix here rather than change shared afs module
package
{
'openafs-krb5'
:
ensure
=>
installed
,
require
=>
Package
[
'openafs-client'
],
}
# Warning about the directory facilitating these fixes
...
...
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