Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-4604

puppet resource mysql_grant fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mysql
    • Labels:
      None
    • Environment:

      Ubuntu 16.10, PE 2017.1, puppetlabs/mysql 3.10.0

    • Template:
    • Team:
      Modules
    • Story Points:
      3
    • QA Risk Assessment:
      Needs Assessment

      Description

      clean install of ubuntu. mysql installed with puppet, 'puppet resource mysql_grant' returns "name must match user and table parameters"....doing the little diagnosis I can, given lack of ruby knowledge, I was able to debug that while self[:name], has a value, the rest of the array is empty, ie, :user, :table, etc.....commenting out line 37

      fail('name must match user and table parameters') if self[:name] != "#{self[:user]}/#{self[:table]}"
      

      allows module to work fine

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eric.putnam Eric Putnam
              Reporter:
              jfgibbins James G
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support