Persistent sysctls broken due to missing .conf suffix

Kayobe provides support for setting arbitrary sysctls on hosts. These
should be persistent, but the configuration file used
(/etc/sysctl.d/kayobe) does not have the required .conf extension, so
the file is ignored.

This change adds a .conf suffix to make the file
/etc/sysctl.d/kayobe.conf.

Change-Id: I222250a91bc28aed9577293534cf481579992f52
Story: 2002972
Task: 22980
This commit is contained in:
Mark Goddard 2018-07-13 19:22:11 +01:00
parent 8f76845f51
commit 8ad23be9eb
2 changed files with 7 additions and 1 deletions

View File

@ -5,5 +5,5 @@
- sysctl
roles:
- role: sysctl
sysctl_file: "/etc/sysctl.d/kayobe"
sysctl_file: "/etc/sysctl.d/kayobe.conf"
sysctl_set: "yes"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue where persistent sysctls were not being applied after a
reboot. See `story 2002972
<https://storyboard.openstack.org/#!/story/2002972>`__ for details.