Nikolay Mahotkin 52e83e3eb8 Adding gearman plugin configuration to Jenkins
* Gearman plugin should be configured externally
 * It is needed for Nodepool integration

Change-Id: Idcc7d8a84a6c9c23c9d741475415ad6a032bd3df
2016-04-19 17:20:34 +03:00

11 lines
460 B
Bash

#!/bin/bash
# No error if already exists.
mkdir -p /etc/puppet/modules/configure_gearman
mkdir -p /etc/puppet/modules/configure_gearman/manifests/
mkdir -p /etc/puppet/modules/configure_gearman/templates/
cp configure_gearman/manifests/init.pp /etc/puppet/modules/configure_gearman/manifests/
cp configure_gearman/templates/hudson.plugins.gearman.GearmanPluginConfig.xml.erb /etc/puppet/modules/configure_gearman/templates/
puppet apply configure_gearman.pp