Skip to content

Instantly share code, notes, and snippets.

@vStone
Created January 17, 2013 12:34
Show Gist options
  • Save vStone/4555646 to your computer and use it in GitHub Desktop.
Save vStone/4555646 to your computer and use it in GitHub Desktop.
Setting the initial root password using puppet-percona
## github.com/UnifiedPost/puppet-percona (development)
node /^perconadb/ {
$adminpass = 'skittles'
percona::mgmt_cnf {'/etc/.puppet.cnf':
password => $adminpass,
}
class {'percona::adminpass': password => $adminpass }
class {'percona':
server => true,
mgmt_cnf => '/etc/.puppet.cnf',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment