Added Ubuntu support for Adobe module.

This commit is contained in:
Timo Mkinen 2011-04-07 14:06:49 +03:00
parent f35133c73c
commit a8b57d1569

View file

@ -6,6 +6,9 @@ class adobe::common {
"centos","fedora": {
include yum::repo::adobe
}
"ubuntu": {
include apt::repo::partner
}
default: {
fail("Adobe products via puppet not supported on ${operatingsystem}")
}
@ -32,7 +35,11 @@ class adobe::air {
class adobe::flash {
include adobe::common
package { "flash-plugin":
package { "adobe-flash-plugin":
name => $operatingsystem ? {
"ubuntu" => "adobe-flashplugin",
default => "flash-plugin",
},
ensure => installed,
require => Class["adobe::common"],
}
@ -45,7 +52,11 @@ class adobe::flash {
class adobe::reader {
include adobe::common
package { "AdobeReader_enu":
package { "acroread":
name => $operatingsystem ? {
"ubuntu" => "acroread",
default => "AdobeReader_enu",
},
ensure => installed,
require => Class["adobe::common"],
}