phantomjs: Install Ghostscript fonts

This commit is contained in:
Ossi Salmi 2013-06-14 11:57:26 +03:00
parent ce80b2d874
commit 734fbfdace

View file

@ -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}",