Skip to content

Commit

Permalink
Fix unmask_rpc-gssd.service exec resource
Browse files Browse the repository at this point in the history
Fixes #109
  • Loading branch information
silug committed Aug 22, 2024
1 parent 8ffdc26 commit 11f90bf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Wed Aug 21 2024 Steven Pritchard <[email protected]> - 7.6.1
- Fix unmask_rpc-gssd.service exec resource (#109)

* Mon Oct 23 2023 Steven Pritchard <[email protected]> - 7.6.0
- [puppetsync] Add EL9 support

Expand Down
2 changes: 1 addition & 1 deletion manifests/base/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}
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": "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",
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/base/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11f90bf

Please sign in to comment.