From e18cb361619e34182a0ace5c317b3a54dac8b7b6 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Mon, 31 Mar 2014 23:52:55 +0900 Subject: [PATCH] Add language spepcific font package to Jenkins slave Localized documents start to be generated in gate jobs and they require language specific font packages. This commit add language_fonts_packages parameter to accept language fonts. It adds Japanese and Korean font packages to Ubuntu build slave because gate jobs are now run on Ubuntu based hosts. Pakcages for RedHat flavor will be added in future if needed. Change-Id: Id4a0363e119f4458c270fb32bd428ebcfcc75225 Closes-Bug: #1278327 --- modules/jenkins/manifests/params.pp | 2 ++ modules/jenkins/manifests/slave.pp | 1 + 2 files changed, 3 insertions(+) diff --git a/modules/jenkins/manifests/params.pp b/modules/jenkins/manifests/params.pp index e8a4d4117a..12f5cc2526 100644 --- a/modules/jenkins/manifests/params.pp +++ b/modules/jenkins/manifests/params.pp @@ -29,6 +29,7 @@ class jenkins::params { $gnome_doc_package = 'gnome-doc-utils' $libtidy_package = 'libtidy' $gettext_package = 'gettext' + $language_fonts_packages = [] # for keystone ldap auth integration $libsasl_dev = 'cyrus-sasl-devel' $nspr_dev_package = 'nspr-devel' @@ -114,6 +115,7 @@ class jenkins::params { $gnome_doc_package = 'gnome-doc-utils' $libtidy_package = 'libtidy-0.99-0' $gettext_package = 'gettext' + $language_fonts_packages = ['fonts-takao', 'fonts-nanum'] # for keystone ldap auth integration $libsasl_dev = 'libsasl2-dev' $mysql_dev_package = 'libmysqlclient-dev' diff --git a/modules/jenkins/manifests/slave.pp b/modules/jenkins/manifests/slave.pp index 92a767a82b..7b68b5ed23 100644 --- a/modules/jenkins/manifests/slave.pp +++ b/modules/jenkins/manifests/slave.pp @@ -44,6 +44,7 @@ class jenkins::slave( $::jenkins::params::graphviz_package, # for generating graphs in docs $::jenkins::params::firefox_package, # for selenium tests $::jenkins::params::mod_wsgi_package, + $::jenkins::params::language_fonts_packages, $::jenkins::params::libcurl_dev_package, $::jenkins::params::ldap_dev_package, $::jenkins::params::librrd_dev_package, # for python-rrdtool, used by kwapi