Initial support for installing Adobe products (AIR, Flash and Reader)
This commit is contained in:
parent
aa6d8f49df
commit
cfa30c24bb
1 changed files with 53 additions and 0 deletions
53
adobe/manifests/init.pp
Normal file
53
adobe/manifests/init.pp
Normal 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"],
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue