Puppet Class: phantomjs::params
- Defined in:
- manifests/params.pp
Overview
Class phantomjs::params
This class is meant to be called from module. It sets variables according to platform.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'manifests/params.pp', line 6
class phantomjs::params {
case $::osfamily {
'Debian': {
$package_name = 'phantomjs'
$package_develop = [
"build-essential",
"g++",
"flex",
"bison",
"gperf",
"ruby",
"perl",
"libsqlite3-dev",
"libfontconfig1-dev",
"libicu-dev",
"libfreetype6",
"libssl-dev",
"libpng-dev",
"libjpeg-dev",
"python",
"libx11-dev",
"libxext-dev"
]
$package_dependences = [
"git"
]
$app_name = "phantomjs"
$version_repository = "2.0"
}
'RedHat', 'Amazon': {
$package_name = 'phantomjs'
}
default: {
fail("${::operatingsystem} not supported")
}
}
}
|