Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grant option requires a password hash or plain text password. #24

Open
nerdyness opened this issue Sep 5, 2015 · 0 comments
Open

Grant option requires a password hash or plain text password. #24

nerdyness opened this issue Sep 5, 2015 · 0 comments

Comments

@nerdyness
Copy link

The documentation mentions:

Databases and permissions.

percona::database { 'dbfoo':
 ensure => present;
}
percona::rights {'userbar on dbfoo':
 priv     => 'select_priv',
 host     => 'localhost',
 database => '*',
 password => 'default',
}
# You can ommit the user, host and database parameter if you use this format:
percona::rights {'user@localhost/dbname':
 priv => 'all'
}

However when I try this using:

  percona::rights {'[email protected].%/MyMusic%':
    priv => 'all'
  }

I get "Error: Could not retrieve catalog from remote server: Error 400 on SERVER: You must either provide the password hash to use or a plaintext password at /etc/puppet/modules/percona/manifests/rights.pp:97" as per this.

I didn't spend much time looking at this but do you agree this check is better suited after line 129 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant