Initial support for installing Adobe products (AIR, Flash and Reader)

This commit is contained in:
Timo Mkinen 2011-03-18 14:40:24 +02:00
parent aa6d8f49df
commit cfa30c24bb

53
adobe/manifests/init.pp Normal file
View file

@ -0,0 +1,53 @@
# Install common prequisites for Adobe products.
#
class adobe::common {
case $operatingsystem {
"centos","fedora": {
include yum::repo::adobe
}
default: {
fail("Adobe products via puppet not supported on ${operatingsystem}")
}
}
}
# Intall Adobe AIR.
#
class adobe::air {
include adobe::common
package { "adobeair":
ensure => installed,
require => Class["adobe::common"],
}
}
# Install Adobe Flash plugin for browsers.
#
class adobe::flash {
include adobe::common
package { "flash-plugin":
ensure => installed,
require => Class["adobe::common"],
}
}
# Install Adobe Reader.
#
class adobe::reader {
include adobe::common
package { "AdobeReader_enu":
ensure => installed,
require => Class["adobe::common"],
}
}