Install haveged on nodepool diskimages

With centos we need to manually enabled epel to only install haveged,
this is why we cannot use package-installs.

Change-Id: I3dff1c1e136eada97d957cf7af8d80e13b651545
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-04-20 11:40:49 -04:00
parent 3805a00da8
commit cfcb690b0d
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
#
# See the License for the specific language governing permissions and
# limitations under the License.
# dib-lint: disable=setu setpipefail
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -e
if [ "$DISTRO_NAME" == "centos" ]; then
yum -y install --enablerepo=epel haveged
fi

View File

@ -21,3 +21,4 @@ puppet:
wget:
iputils-ping:
dnsutils:
haveged:

View File

@ -1,7 +1,8 @@
{
"distro": {
"fedora": {
"python3-dev": "python3-devel"
"python3-dev": "python3-devel",
"haveged": "haveged"
},
"gentoo": {
"build-essential": "",
@ -22,7 +23,8 @@
"ntp": "ntp ntp-perl",
"python-dev": "python-devel",
"python3-dev": "",
"uuid-runtime": ""
"uuid-runtime": "",
"haveged": ""
},
"suse": {
"dnsutils": "bind-utils",