Closed
Description
Thanks for this module!
I'm trying to use it on Ubuntu 10.04 LTS 2.
If I declare
class { 'mysql::server':
root_password => 'foo'
}
I get
err: /Stage[main]/Mysql::Server/Service[mysqld]/enable: change from false to true failed: Execution of '/usr/sbin/update-rc.d mysqld defaults' returned 1: update-rc.d: /etc/init.d/mysqld: file does not exist
notice: /Stage[main]/Mysql::Server/Exec[set_mysql_rootpw]: Dependency Service[mysqld] has failures: true
warning: /Stage[main]/Mysql::Server/Exec[set_mysql_rootpw]: Skipping because of failed dependencies
notice: /Stage[main]/Mysql::Server/File[/root/.my.cnf]: Dependency Service[mysqld] has failures: true
warning: /Stage[main]/Mysql::Server/File[/root/.my.cnf]: Skipping because of failed dependencies
notice: /Stage[main]/Mysql::Server/Exec[mysqld-restart]: Dependency Service[mysqld] has failures: true
warning: /Stage[main]/Mysql::Server/Exec[mysqld-restart]: Skipping because of failed dependencies
On Ubuntu the restart script is /etc/init.d/mysql rather than /etc/init.d/mysqld. I have tried aliasing but no luck.
I'm loathed to hack your lovely module just for Ubuntu!
Metadata
Metadata
Assignees
Labels
No labels