File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2020# limitations under the License.
2121#
2222
23- ohai 'reload ' do
23+ ohai 'client_reload ' do
2424 action :nothing
2525end
2626
2727package 'openssh-client' do
2828 package_name node [ 'ssh-hardening' ] [ 'sshclient' ] [ 'package' ]
2929 # we need to reload the package version, otherwise we get the version that was installed before cookbook execution
30- notifies :reload , 'ohai[reload ]' , :immediate
30+ notifies :reload , 'ohai[client_reload ]' , :immediate
3131end
3232
3333directory 'openssh-client ssh directory /etc/ssh' do
Original file line number Diff line number Diff line change 4040directory cache_dir
4141
4242# installs package name
43- ohai 'reload ' do
43+ ohai 'server_reload ' do
4444 action :nothing
4545end
4646
4747package 'openssh-server' do
4848 package_name node [ 'ssh-hardening' ] [ 'sshserver' ] [ 'package' ]
4949 # we need to reload the package version, otherwise we get the version that was installed before cookbook execution
50- notifies :reload , 'ohai[reload ]' , :immediate
50+ notifies :reload , 'ohai[server_reload ]' , :immediate
5151end
5252
5353# Handle addional SELinux policy on RHEL/Fedora for different UsePAM options
You can’t perform that action at this time.
0 commit comments