summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2015-01-10There is no need to call “super” here.mh
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
2013-05-20fix orderingmh
2013-05-20use the defaults file if availablemh
2013-05-20symbolize was removed in puppet 3 - See ↵mh
http://projects.puppetlabs.com/issues/16791
2013-01-02mysql 5.0 does not yet know about :trigger_privmh
2013-01-02get rid off trailing ,mh
2012-04-04Merge remote-tracking branch 'immerda/master'Micah Anderson
Conflicts: manifests/server/munin/default.pp manifests/server/nagios.pp
2012-01-22add the trigger privilege to the list of potential MYSQL_USER_PRIVSMicah Anderson
2012-01-16fix missing endMicah Anderson
2012-01-01Instead of doing an update table_priv, we need to do GRANT/REVOKE statementsMicah Anderson
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-01table privileges need to be handled with GRANT/REVOKE statements instead of ↵Micah Anderson
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-01change the type name and the table_name to be less confusingMicah Anderson
2012-01-01changed the matches regexp to be not greedy so other things like tables and ↵Micah Anderson
columns can be matched
2012-01-01table privileges don't have the name with _privs on the end, also the ↵Micah Anderson
actually available privileges are less than was originally thought, so I trimmed those down
2011-12-30add column grant to mysql_grantMicah Anderson
2011-12-30add table grant privilege handling to mysql_grantMicah Anderson
2011-05-12fix grant on newer mysql versionmh
MySQL introduced some new privileges in Versions > 5.1.6, add them to our set, so puppet still knows what :all is.
2010-08-11get rid off expensive which callmh
2010-07-21some minor updates to the providersmh
2009-10-31move plugin directory to fit new 0.25 stylemh