puppet-proxysql icon indicating copy to clipboard operation
puppet-proxysql copied to clipboard

proxy_mysql_user + ensure absent

Open bgriffinte opened this issue 3 years ago • 4 comments

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet:
  • Ruby:
  • Distribution:
  • Module version:

How to reproduce (e.g Puppet code you use)

I changed a user definition to 'ensure: absent' and started getting errors.

What are you seeing

Line 16 of proxy_mysql_user.rb emitted a Error: Failed to apply catalog: undefined method start_with?' for nil:NilClass` error.

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

I created a bogus password for the deleted user, and then it seemed to work fine.

bgriffinte avatar Jan 26 '21 21:01 bgriffinte