From 31cb5f55970db69d8ee1b00d4c204ea774167294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 6 Oct 2010 00:27:54 +0300 Subject: [PATCH] Changed Package["mysql"] resource to include mysql::client class instead in mythtv::backend class to prevent errors from defining mysql Package multiple times. --- mythtv/manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mythtv/manifests/init.pp b/mythtv/manifests/init.pp index 7c390e5..01d864f 100644 --- a/mythtv/manifests/init.pp +++ b/mythtv/manifests/init.pp @@ -30,11 +30,12 @@ class mythtv::backend { include user::system realize(User["mythtv"], Group["mythtv"]) + include mysql::client + package { ["mythtv-backend", "mythtv-setup", "mythtv-docs", - "perl-DBD-MySQL", - "mysql", ]: + "perl-DBD-MySQL", ]: ensure => installed, require => [ User["mythtv"], Group["mythtv"], ],