mh
6be4faa81f
There is no need to call “super” here.
...
This patch avoid the following error:
Validate method failed for class sleep: implicit argument passing
of super from method defined by define_method() is not supported.
Specify all arguments explicitly.
See https://git.openstack.org/cgit/stackforge/puppet-vswitch/commit/?id=25afbfe58867fb39266a8862cfd6a3f8f38a9564
2015-01-10 02:05:11 +01:00
mh
0e8a73ecea
fix ordering
2013-05-20 14:36:59 +02:00
mh
86ef2c3dd2
use the defaults file if available
2013-05-20 14:32:43 +02:00
mh
1e8e9f472c
symbolize was removed in puppet 3 - See http://projects.puppetlabs.com/issues/16791
2013-05-20 14:05:00 +02:00
mh
2e57128b06
mysql 5.0 does not yet know about :trigger_priv
2013-01-02 18:19:06 +01:00
Micah Anderson
db8103b0ba
Merge remote-tracking branch 'immerda/master'
...
Conflicts:
manifests/server/munin/default.pp
manifests/server/nagios.pp
2012-04-04 12:22:09 -04:00
Micah Anderson
60bb96c9a1
add the trigger privilege to the list of potential MYSQL_USER_PRIVS
2012-01-22 23:48:33 -05:00
Micah Anderson
f2dd063f82
fix missing end
2012-01-16 15:48:31 -05:00
Micah Anderson
2fc3849818
Instead of doing an update table_priv, we need to do GRANT/REVOKE statements
...
When we are working with tables_priv we need to first get a downcased array of the currently set privileges, and a downcased array of the desired permissions.
Then we make a list of the permissions to revoke by subtracting the requested permissions from the currently set ones.
If the list of permissions to revoke is not empty, then we issue a REVOKE.
Then we make a list of the permissions to add by subtracting the requested permissions from the current set (no need to add select again if it is already there).
Then if the set of permissions to add is not empty, then we actually execute the statement.
2012-01-01 15:43:47 -05:00
Micah Anderson
7f10702c5a
table privileges need to be handled with GRANT/REVOKE statements instead of inserts of Y/N values into the table.
...
To handle this, this comment removes the create_row for table_privs, it also selects the actual value of the Table_priv so its value can be used instead of the method that is used for Y/N value settings
2012-01-01 15:35:44 -05:00
Micah Anderson
c650057bdc
change the type name and the table_name to be less confusing
2012-01-01 15:30:40 -05:00
Micah Anderson
d42aafd7a8
changed the matches regexp to be not greedy so other things like tables and columns can be matched
2012-01-01 15:29:09 -05:00
Micah Anderson
b869455c74
table privileges don't have the name with _privs on the end, also the actually available privileges are less than was originally thought, so I trimmed those down
2012-01-01 15:28:30 -05:00
Micah Anderson
ae6dab7c25
add column grant to mysql_grant
2011-12-30 12:39:27 -05:00
Micah Anderson
1faf0b322f
add table grant privilege handling to mysql_grant
2011-12-30 12:32:19 -05:00
mh
585cbc381b
fix grant on newer mysql version
...
MySQL introduced some new privileges in Versions > 5.1.6, add them
to our set, so puppet still knows what :all is.
2011-05-12 22:13:37 +02:00
mh
fd690bd339
some minor updates to the providers
2010-07-21 07:04:11 +02:00
mh
304b199b70
move plugin directory to fit new 0.25 style
2009-10-31 15:16:40 +01:00