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:
parent
2969c4f033
commit
31cb5f5597
1 changed files with 3 additions and 2 deletions
|
@ -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"], ],
|
||||||
|
|
Loading…
Add table
Reference in a new issue