Sha256: 65bf572098285a4e0dcfb47983d6c4ad7cb79d46cdf4815d4c5fa0fc5b231eaf

Contents?: true

Size: 512 Bytes

Versions: 14

Compression:

Stored size: 512 Bytes

Contents

# Generated by Chef. Local modifications will be overwritten.
<% @db_info.each do |env,db| -%>
# Privileges for databases in <%= env %>
GRANT ALL ON <%= db['database'] %>.* TO '<%= db['username'] %>'@'localhost' IDENTIFIED BY '<%= db['password'] %>';
GRANT ALL ON <%= db['database'] %>.* TO '<%= db['username'] %>'@'<%= node['fqdn'] %>' IDENTIFIED BY '<%= db['password'] %>';
GRANT ALL ON <%= db['database'] %>.* TO '<%= db['username'] %>'@'%' IDENTIFIED BY '<%= db['password'] %>';
<% end -%>
flush privileges;

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
fast_food-0.1.2 chef/cookbooks/database/templates/default/app_grants.sql.erb
fast_food-0.1.1 chef/cookbooks/database/templates/default/app_grants.sql.erb
fast_food-0.1.0 chef/cookbooks/database/templates/default/app_grants.sql.erb
server_maint-0.0.8 lib/cookbooks/database/templates/default/app_grants.sql.erb
server_maint-0.0.7 lib/cookbooks/database/templates/default/app_grants.sql.erb
server_maint-0.0.6 lib/cookbooks/database/templates/default/app_grants.sql.erb
server_maint-0.0.5 lib/cookbooks/database/templates/default/app_grants.sql.erb
server_maint-0.0.4 lib/cookbooks/database/templates/default/app_grants.sql.erb
elzar-0.2.0 chef/cookbooks/database/templates/default/app_grants.sql.erb
elzar-0.1.2 chef/cookbooks/database/templates/default/app_grants.sql.erb
elzar-0.1.1 chef/cookbooks/database/templates/default/app_grants.sql.erb
elzar-0.1.0 chef/cookbooks/database/templates/default/app_grants.sql.erb
elzar-0.0.2 chef/cookbooks/database/templates/default/app_grants.sql.erb
elzar-0.0.1 cookbooks/database/templates/default/app_grants.sql.erb