integ/config
Takamasa Takenaka 3d36309040 DRBD: Add hmac parameter to support peer auth
DRBD has its own authentication mechanism between drbd nodes.
To enable DRBD peer authentication, we need to specify the
following two parameters.
- cram-hmac    : The HMAC algorithm to enable peer authentication
- shared-secret: The shared secret used in peer authentication
in drdb resource configuration to enable DRBD peer authentication.

The parameter "secret" already exists in the current implementation.
This change adds a new parameter "hmac" to specify cram-hmac.
If this parameter is undefined, it will set "sha1" as
the current value for compatibility.

Story: 2011139
Task: 50254

Test Plan:
PASS: Confirm hmac and secret has proper values in drbd resource
      config when hmac and secret parameters are configured
PASS: Confirm drdb resource config has hmac default value and
      no secret when hmac and secret parameters are not configured.
PASS: SX fresh install finishes successfully.
PASS: SX upgrade finishes successfully.
PASS: DX fresh install finishes successfully.
PASS: DX upgrade finishes successfully.

Change-Id: I2f9e6394cf7e89a33befcd6a84dbe36215be4d6d
Signed-off-by: Luiz Felipe Kina <LuizFelipe.EiskeKina@windriver.com>
2024-06-21 16:13:18 +00:00
..
facter/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
puppet-5.5.22/debian debian: Use default ordering for Puppet 2022-05-02 11:51:28 +03:00
puppet-modules DRBD: Add hmac parameter to support peer auth 2024-06-21 16:13:18 +00:00