On Oct 31, 3:09 pm, Dan Bode <
d...@puppetlabs.com> wrote:
> I am not quite sure if mysql supports that. Could you open a ticket here:
http://projects.puppetlabs.com/projects/modulesand explain what the
I'll put that in once I can think of a way to implement it.
I've run into some strange behavior where every run seems to result in
some changes to the rights on a database user.
I've run "puppetd --test --debug -v " dozens of times and the results
are never the same, anywhere between 1 to 3 of the grants I've defined
will get alerted.
Here's my test case (messing with phpMyAdmin)...
mysql::db { 'phpmyadmin':
user => 'pma_ctrl_user',
password => '****',
host => 'localhost',
grant => [ 'select_priv', 'insert_priv', 'delete_priv',
'alter_priv' ],
charset => 'utf8',
}
database_grant { 'pma_ctrl_user@localhost/mysql.db':
privileges => ['select_priv'],
}
database_grant { 'pma_ctrl_user@localhost/mysql.host':
privileges => ['select_priv'],
}
database_grant { 'pma_ctrl_user@localhost/mysql.tables_priv':
privileges => ['select_priv'],
}
And this is an example of what looks like a successful execution of
the command...
Using pastebin cause it's impossible to read if pasted here.
One run -
http://pastebin.com/Ey8qt08T
A run about 10 minutes later -
http://pastebin.com/JNX0daVt
Each time the changes differ. Also is the "Executing .. " debug
output from puppet not verbatim? I've tried pasting that into the
terminal which does not work.
Thanks
- Trey