Initial support for installing Google products (chrome and desktop).

This commit is contained in:
Timo Mkinen 2011-03-18 15:06:24 +02:00
parent cfa30c24bb
commit 52db72bb32

40
google/manifests/init.pp Normal file
View file

@ -0,0 +1,40 @@
# Install common prequisites for Google products.
#
class google::common {
case $operatingsystem {
"centos","fedora": {
include yum::repo::google
}
default: {
fail("Google products via puppet not supported on ${operatingsystem}")
}
}
}
# Install Google Chrome browser.
#
class google::chrome {
include google::common
package { "google-chrome":
ensure => installed,
require => Class["google::common"],
}
}
# Install Google Desktop.
#
class google::desktop {
include google::common
package { "google-desktop-linux":
ensure => installed,
require => Class["google::common"],
}
}