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
068bc8d4
Commit
068bc8d4
authored
9 years ago
by
Adam Lewenberg
Browse files
Options
Downloads
Patches
Plain Diff
add new systemd class
parent
1a167dfb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+4
-2
4 additions, 2 deletions
NEWS
manifests/systemd.pp
+32
-0
32 additions, 0 deletions
manifests/systemd.pp
with
36 additions
and
2 deletions
NEWS
+
4
−
2
View file @
068bc8d4
Unreleased
Unreleased
[dns] Changes Livermore detection to use the system's primary IP address,
[systemd] New class to allow systemd daemon reloads. (adamhl)
[dns] Changes Livermore detection to use the system's primary IP address,
instead of using a manually-set parameter. (akkornel)
instead of using a manually-set parameter. (akkornel)
[kerberos] Automatically determine if we are in Livermore; if we are, place
[kerberos] Automatically determine if we are in Livermore; if we are, place
the Livermore-based KDC at the top of the list. (akkornel)
the Livermore-based KDC at the top of the list. (akkornel)
Clients who are using the base::kerberos::dr class should immediately switch
Clients who are using the base::kerberos::dr class should immediately switch
...
...
This diff is collapsed.
Click to expand it.
manifests/systemd.pp
0 → 100644
+
32
−
0
View file @
068bc8d4
# This code is from the Puppet Forge project justin8-systemd
#
# If you want to reload the systemd service on a unit file change, include
# this class and add a dependency:
#
# notify => Exec['systemd-daemon-reload']
#
class
systemd
{
exec
{
'systemd-daemon-reload'
:
path
=>
'/bin:/usr/bin:/sbin:/usr/sbin'
,
command
=>
'systemctl daemon-reload'
,
refreshonly
=>
true
,
}
case
$::osfamily
{
'Archlinux'
:
{
$unit_path
=
'/usr/lib/systemd/system'
}
'Debian'
:
{
$unit_path
=
'/lib/systemd/system'
}
'RedHat'
:
{
$unit_path
=
'/usr/lib/systemd/system'
}
default
:
{
$unit_path
=
'/usr/lib/systemd/system'
}
}
}
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