phantomjs: Install Ghostscript fonts
This commit is contained in:
parent
ce80b2d874
commit
734fbfdace
1 changed files with 16 additions and 0 deletions
|
@ -21,6 +21,22 @@ class phantomjs {
|
|||
}
|
||||
}
|
||||
|
||||
case $::operatingsystem {
|
||||
"centos","redhat","fedora": {
|
||||
package { "urw-fonts":
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
"debian","ubuntu": {
|
||||
package { "gsfonts":
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("phantomjs not supported on ${::operatingsystem}")
|
||||
}
|
||||
}
|
||||
|
||||
file { "/usr/local/src/phantomjs.tar.bz2":
|
||||
ensure => present,
|
||||
source => "puppet:///files/packages/${phantomjs_package}",
|
||||
|
|
Loading…
Add table
Reference in a new issue