0

How do you remove a Puppetlabs MYSQL database using this module?

I have tried using the name of the database and ensure => 'absent' but with no luck.

Can someone please tell me what I am doing wrong?

P.S: I am able to create DBs using this module.

Sergiu
  • 2,928
  • 3
  • 27
  • 37

1 Answers1

1

I finally found a way of resolving this which is:

mysql_database { 'mysql':
  ensure  => 'absent',
  charset => 'latin1',
}

Hope this will help :)

Peter Souter
  • 5,110
  • 1
  • 33
  • 62
Sergiu
  • 2,928
  • 3
  • 27
  • 37