- From: millisami r <
>
- To: chef <
>
- Subject: [chef] Does mysql_database_user LWRP's action of database cookbook take a collection?
- Date: Tue, 21 May 2013 13:00:20 +0545
I used the below to create a mysql db user with grant privileges.
mysql_database_user node['wordpress']['db']['user'] do
connection mysql_connection_info
database_name node['wordpress']['db']['database']
privileges [:all]
password node['wordpress']['db']['password']
action [:create, :grant]
end
But it created only the user but the privileges are all set to No (N).
| localhost | wp_tov | *E7A226A4CA4516577207538E5693FD8E2D29818D | N | N | N
I even tried with separate LWRP for each `:create` and `:grant` action.
The result is same in both ways.
Am I doing something wrong?
- [chef] Does mysql_database_user LWRP's action of database cookbook take a collection?, millisami r, 05/21/2013
Archive powered by MHonArc 2.6.16.