Skip to content

Commit

Permalink
Merge pull request #158 from jordiprats/master
Browse files Browse the repository at this point in the history
CapabilityBoundingSet
  • Loading branch information
jordiprats authored Aug 23, 2019
2 parents 50662bf + 686c896 commit a98cb1a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 0.2.11

* Added **capability_bounding_set** to **systemd::service** and **systemd::service::dropin**

## 0.2.10

* Added back support for SuSE 11.4 - thanks to [svenbs](https://github.com/svenbs) for this [PR-155](https://github.com/NTTCom-MS/eyp-systemd/pull/155)
Expand Down
1 change: 1 addition & 0 deletions manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
$tasksmax = undef,
$successexitstatus = [],
$killsignal = undef,
$capability_bounding_set = [],
# install
$also = [],
$default_instance = undef,
Expand Down
1 change: 1 addition & 0 deletions manifests/service/dropin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
$tasksmax = undef,
$successexitstatus = [],
$killsignal = undef,
$capability_bounding_set = [],
# install
$also = [],
$default_instance = undef,
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eyp-systemd",
"version": "0.2.10",
"version": "0.2.11",
"author": "eyp",
"summary": "management of systemd services, services dropins, sockets, timers, mounts, timesyncd, journald, logind and resolved",
"license": "Apache-2.0",
Expand Down
3 changes: 3 additions & 0 deletions templates/section/service.erb
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,6 @@ SuccessExitStatus=<%= @successexitstatus.join(' ') %>
<% if defined?(@killsignal) -%>
KillSignal=<%= @killsignal %>
<% end -%>
<% if @capability_bounding_set.any? -%>
CapabilityBoundingSet=<%= @capability_bounding_set.join(' ') %>
<% end -%>

0 comments on commit a98cb1a

Please sign in to comment.