Hello guys,
I am not sure if this question has been asked, however I wasn't able to find something about it on Google, therefore, I am going to ask it here:
So, I have created 3 DBs using PuppetLabs MYSQL module, however, I don't know how to create the code to delete a database.
I have tried mysql::db { 'test':
ensure => 'absent',
}
but unfortunately it didn't worked, I've asked on the IRC channel and someone told me to use the 'destroy' function but I have no clue on how to use it, therefore, could someone point me in the right direction please?
Thank you,
Kind regards,
Sergiu