Skip to content

Commit 073fd11

Browse files
Eric TuckerSean OMeara
authored andcommitted
[COOK-3943] Notify mysql restart on grants update
Signed-off-by: Sean OMeara <[email protected]>
1 parent a5ef5ea commit 073fd11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

recipes/_server_rhel.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
directory value do
1212
owner 'mysql'
1313
group 'mysql'
14-
mode '0775'
14+
mode '0755'
1515
action :create
1616
recursive true
1717
end
@@ -66,6 +66,7 @@
6666
execute 'install-grants' do
6767
command cmd
6868
action :nothing
69+
notifies :restart, 'service[mysql]', :immediately
6970
end
7071

7172
#----

0 commit comments

Comments
 (0)