]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mysql/templates/default/apparmor.erb
civi version bump
[chef.git] / cookbooks / mysql / templates / default / apparmor.erb
index 1a0f6574bdce7620f8a89d75bede6ae14331324f..9239e880a6b55d8aff82d1581673ea826ff600ab 100644 (file)
@@ -1,4 +1,4 @@
 # DO NOT EDIT - This file is being maintained by Chef
 # DO NOT EDIT - This file is being maintained by Chef
-<% if node[:mysql][:settings][:mysqld][:secure_file_priv] -%>
+<% if node[:mysql][:settings][:mysqld]&.dig(:secure_file_priv) -%>
 <%= node[:mysql][:settings][:mysqld][:secure_file_priv] %>/* rw,
 <% end -%>
 <%= node[:mysql][:settings][:mysqld][:secure_file_priv] %>/* rw,
 <% end -%>