diff --git a/CHANGELOG b/CHANGELOG index 1865ece..dd1a57d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +* Wed Aug 21 2024 Steven Pritchard - 7.6.1 +- Fix unmask_rpc-gssd.service exec resource (#109) + * Mon Oct 23 2023 Steven Pritchard - 7.6.0 - [puppetsync] Add EL9 support diff --git a/manifests/base/service.pp b/manifests/base/service.pp index c592519..b039137 100644 --- a/manifests/base/service.pp +++ b/manifests/base/service.pp @@ -70,7 +70,7 @@ } exec { 'unmask_rpc-gssd.service': - command => '/usr/bin/systemctl mask rpc-gssd.service', + command => '/usr/bin/systemctl unmask rpc-gssd.service', onlyif => '/usr/bin/systemctl status rpc-gssd.service | /usr/bin/grep -qw masked', notify => Service['rpc-gssd.service'] } diff --git a/metadata.json b/metadata.json index a9537f6..5e44368 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "simp-nfs", - "version": "7.6.0", + "version": "7.6.1", "author": "SIMP Team", "summary": "manages NFS server and client, also PKI and stunnelling", "license": "Apache-2.0", diff --git a/spec/classes/base/service_spec.rb b/spec/classes/base/service_spec.rb index 721dec1..7a0d559 100644 --- a/spec/classes/base/service_spec.rb +++ b/spec/classes/base/service_spec.rb @@ -72,7 +72,7 @@ } ) } it { is_expected.to create_exec('unmask_rpc-gssd.service').with( { - :command => '/usr/bin/systemctl mask rpc-gssd.service', + :command => '/usr/bin/systemctl unmask rpc-gssd.service', :onlyif => '/usr/bin/systemctl status rpc-gssd.service | /usr/bin/grep -qw masked' } ) } end