Skip to content

Commit

Permalink
Fixed database service resource
Browse files Browse the repository at this point in the history
Version 2.2+ of the puppetlabs-mysql moudule starts the MySQL database
with the Service resource name mysqld [1]. The puppet-heat module
lists a requirement for a Service resource with name mysql. This will
lead to an undefined resource error.

This patch corrects the dependency.

[1] https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/server/service.pp#L15

Change-Id: I2f60b610eab4d03552352108d0dfd4f2b796fc70
  • Loading branch information
Chris Hoge committed Apr 23, 2014
1 parent 2847d4d commit d1f32f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/db/mysql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
host => $host,
charset => $charset,
collate => $collate,
require => Service['mysql'],
require => Service['mysqld'],
}
} else {
mysql::db { $dbname:
Expand Down

0 comments on commit d1f32f7

Please sign in to comment.