From cfa30c24bb07b50fa93ac11fcf715f7bc4c4810d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Fri, 18 Mar 2011 14:40:24 +0200 Subject: [PATCH] Initial support for installing Adobe products (AIR, Flash and Reader) --- adobe/manifests/init.pp | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 adobe/manifests/init.pp diff --git a/adobe/manifests/init.pp b/adobe/manifests/init.pp new file mode 100644 index 0000000..94b7b7c --- /dev/null +++ b/adobe/manifests/init.pp @@ -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"], + } + +}