Added Ubuntu support for Adobe module.
This commit is contained in:
parent
f35133c73c
commit
a8b57d1569
1 changed files with 13 additions and 2 deletions
|
@ -6,6 +6,9 @@ class adobe::common {
|
||||||
"centos","fedora": {
|
"centos","fedora": {
|
||||||
include yum::repo::adobe
|
include yum::repo::adobe
|
||||||
}
|
}
|
||||||
|
"ubuntu": {
|
||||||
|
include apt::repo::partner
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("Adobe products via puppet not supported on ${operatingsystem}")
|
fail("Adobe products via puppet not supported on ${operatingsystem}")
|
||||||
}
|
}
|
||||||
|
@ -32,7 +35,11 @@ class adobe::air {
|
||||||
class adobe::flash {
|
class adobe::flash {
|
||||||
|
|
||||||
include adobe::common
|
include adobe::common
|
||||||
package { "flash-plugin":
|
package { "adobe-flash-plugin":
|
||||||
|
name => $operatingsystem ? {
|
||||||
|
"ubuntu" => "adobe-flashplugin",
|
||||||
|
default => "flash-plugin",
|
||||||
|
},
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
require => Class["adobe::common"],
|
require => Class["adobe::common"],
|
||||||
}
|
}
|
||||||
|
@ -45,7 +52,11 @@ class adobe::flash {
|
||||||
class adobe::reader {
|
class adobe::reader {
|
||||||
|
|
||||||
include adobe::common
|
include adobe::common
|
||||||
package { "AdobeReader_enu":
|
package { "acroread":
|
||||||
|
name => $operatingsystem ? {
|
||||||
|
"ubuntu" => "acroread",
|
||||||
|
default => "AdobeReader_enu",
|
||||||
|
},
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
require => Class["adobe::common"],
|
require => Class["adobe::common"],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue