Changed Package["mysql"] resource to include mysql::client class instead in mythtv::backend class to prevent errors from defining mysql Package multiple times.

This commit is contained in:
Timo Mkinen 2010-10-06 00:27:54 +03:00
parent 2969c4f033
commit 31cb5f5597

View file

@ -30,11 +30,12 @@ class mythtv::backend {
include user::system include user::system
realize(User["mythtv"], Group["mythtv"]) realize(User["mythtv"], Group["mythtv"])
include mysql::client
package { ["mythtv-backend", package { ["mythtv-backend",
"mythtv-setup", "mythtv-setup",
"mythtv-docs", "mythtv-docs",
"perl-DBD-MySQL", "perl-DBD-MySQL", ]:
"mysql", ]:
ensure => installed, ensure => installed,
require => [ User["mythtv"], require => [ User["mythtv"],
Group["mythtv"], ], Group["mythtv"], ],