Create /root/.my.cnf even when root passwd is not managed #125

Merged
merged 1 commit into from Oct 13, 2012

Projects

None yet

4 participants

@bodepd
Contributor
bodepd commented Oct 13, 2012

When the root password is not managed, it causes mysql to
fail b/c it does not create the /root/.my.cnf file (which causes
all mysql commands from the provider to fail)

Dan Bode Create /root/.my.cnf even when root passwd is not managed
When the root password is not managed, it causes mysql to
fail b/c it does not create the /root/.my.cnf file (which causes
all mysql commands from the provider to fail)
765b5c2
@ryanycoleman ryanycoleman merged commit 5a167c9 into puppetlabs:master Oct 13, 2012

I updated my submodule to this version and Mysql fails:

Could not find dependency Exec[set_mysql_rootpw] for File[/root/.my.cnf] at /tmp/vagrant-puppet/modules-0/mysql/manifests/config.pp:123
Member
hunner commented Oct 15, 2012

@alombarte Thanks so much for the report! Crowd-sourcing at its best :). It looks like #126 may address this.

No, thank you! It works and the /root/.my.cnf is created correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment