Skip to content
Commits on Aug 24, 2012
  1. @branan

    Merge pull request #107 from hunner/release_0.5.0

    branan committed
    Release 0.5.0
  2. @hunner

    Release 0.5.0

    hunner committed
    Changes:
    - Add puppetlabs/stdlib as requirement
    - Add validation for mysql privs in provider
    - Add `pidfile` parameter to mysql::config
    - Add `ensure` parameter to mysql::db
    - Add Amazon linux support
    - Change `bind_address` parameter to be optional in my.cnf template
    
    Bugfixes:
    - Quote root passwords
  3. @branan

    Merge pull request #106 from hunner/add_bind-address_unset

    branan committed
    Add bind address unset
  4. @hunner
  5. @branan

    Merge pull request #91 from reidmv/feature/master/priv_validation

    branan committed
    Add priv validation to database_grant provider
  6. @luishdez @hunner
Commits on Aug 23, 2012
  1. @bodepd

    Merge pull request #105 from derekhiggins/update-validate_re

    bodepd committed
    Change list passed into validate_re to a stringe
  2. @derekhiggins

    Change list passed into validate_re to a stringe

    derekhiggins committed
    The list was causing a syntax error on puppet puppet 2.6.17
Commits on Aug 22, 2012
  1. @hunner

    Merge pull request #101 from martasd/manage-db-status

    hunner committed
    Added an option to specify db status.
  2. @bodepd

    Merge pull request #102 from Mirantis/config-pidfile

    bodepd committed
    Parameterized pidfile; critical for successful first restart
  3. @jkff
Commits on Aug 21, 2012
  1. @martasd
  2. @bodepd

    Merge pull request #100 from mcary/patch-1

    bodepd committed
    Clarify how to grant specific privileges with database_grant
  3. @mcary

    Clarify how to grant specific privileges with database_grant

    mcary committed
    When I tried to use database_grant, I assumed the privilege 
    names would match the SQL GRANT command, for example, SELECT
    or CREATE TEMPORARY TABLES.  But in fact the privilege names
    are taken from columns of the mysql.db table.  As a result,
    a row was created in mysqld.db, but none of the privileges 
    I intended to grant were actually granted.
    
    Someone else filed a ticket with the same issue:
    http://projects.puppetlabs.com/issues/15808
    
    Document that how to specify individual privileges in
    README.md.
Commits on Aug 16, 2012
  1. @bodepd

    Merge pull request #97 from bodepd/revert

    bodepd committed
    Revert "Merge pull request #90 from emonty/master"
  2. @bodepd

    Revert "Merge pull request #90 from emonty/master"

    bodepd committed
    This reverts commit 063d724, reversing
    changes made to 9c10b3a.
  3. @bodepd

    Merge pull request #90 from emonty/master

    bodepd committed
    Add a bunch of new parameters
Commits on Aug 14, 2012
  1. @nanliu

    Merge pull request #96 from branan/missing_curly_brace

    nanliu committed
    Put that curly brace in the right place this time
  2. @branan
  3. @nanliu

    Merge pull request #95 from branan/missing_curly_brace

    nanliu committed
    Add a missing curly brace
  4. @branan

    Add a missing curly brace

    branan committed
  5. @bodepd

    Merge pull request #94 from hunner/amazon-linux

    bodepd committed
    Add support for Amazon Linux.
  6. @hunner

    Add support for Amazon Linux.

    Nick Osborn committed with hunner
Commits on Aug 12, 2012
  1. @emonty
  2. @emonty

    Add support for debian defaults file.

    emonty committed
    Debian defines a defaults file in /etc/mysql/debian.cnf that can be used
    for system admin tasks. Use it if it's there.
  3. @emonty

    Add apparmor support.

    emonty committed
Commits on Aug 9, 2012
  1. @bodepd

    Merge pull request #73 from razorsedge/mysqladmin_passwd

    bodepd committed
    Escape $root_password during execs.
  2. @razorsedge

    Escape $root_password during execs.

    razorsedge committed
    Some characters used in a password can cause the shell in an exec to do
    unexpected things unless the password is enclosed in single quotes.
    Updated the rspec tests to deal with the password quoting.
Commits on Aug 4, 2012
  1. @reidmv

    Add priv validation to database_grant provider

    reidmv committed
    The mysql database_grant provider currently has what is arguably a heinous
    design flaw. At present:
    
     1. The 'privileges' parameter for the database_grant type, mysql provider,
        does not expect the same syntax as the mysql Grant command ('SELECT',
        'UPDATE', 'DELETE', etc). Rather, it expects the user to supply column
        names used to store raw grants in the mysql.db or mysql.user tables
        internally ('Select_priv', 'Update_priv', 'Delete_priv', etc).
    
     2. If a user supplies `privileges => [ 'SELECT', 'INSERT' ]` instead of
        `privileges => [ 'Select_priv', 'Insert_priv' ]`, the provider fails
        silently and will continuously attempt to update the privileges with
        each successive puppet run. In the specific example provided, all privs
        for the user/db will be set to false since e.g. 'INSERT' does not match
        any valid privilege.
    
    Unfortunately it doesn't look simple to modify the provider such that the
    intuitive SELECT, DELETE, etc. keywords can be used without changing
    existing behavior. Leaving that alone for now, it *is* pretty simple to add
    a validation function that will at least fail cleanly if non-functional
    privilege values are supplied that don't mean anything to the provider. If
    the user is trying to use valid MySQL Grant syntax, the new validation
    procedure will recognize this and suggest a correction. Hopefully giving
    users this kind of warning will clue them in to what kind of input the
    provider expects.
Commits on Jul 30, 2012
  1. @emonty
Commits on Jul 24, 2012
  1. @bodepd

    Merge pull request #88 from branan/release_0.4.0

    bodepd committed
    Update module for 0.4.0
  2. @branan

    Update module for 0.4.0

    branan committed
Commits on Jul 23, 2012
  1. @bodepd

    Merge pull request #87 from branan/fix_rspec_211

    bodepd committed
    Fix negative tests on rspec 2.11
  2. @branan

    Fix negative tests on rspec 2.11

    branan committed
Commits on Jul 16, 2012
  1. @branan

    Merge pull request #82 from agerlic/escape_database_name

    branan committed
    escape database name
Something went wrong with that request. Please try again.