From b615315775dcd3c5db76e881fd3b9e5ddaa8953f Mon Sep 17 00:00:00 2001 From: Dan Tsosie Date: Tue, 7 Jan 2014 22:01:59 -0700 Subject: [PATCH] Fix runit RPM file location for Chef provisionless Centos 5.9 Box Image --- CHANGELOG.md | 4 ++++ recipes/default.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c2558b..de220fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ runit Cookbook CHANGELOG ======================== This file is used to list changes made in each version of the runit cookbook. +v1.5.9 +------ +Fix runit RPM file location for Chef provisionless Centos 5.9 Box Image + v1.5.8 ------ Fixing string interpolation bug diff --git a/recipes/default.rb b/recipes/default.rb index 020dd4b..3702cec 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -72,7 +72,7 @@ cd runit-2.1.1 ./build.sh rpm_root_dir=`rpm --eval '%{_rpmdir}'` - rpm -ivh '/root/rpmbuild/RPMS/runit-2.1.1.rpm' + rpm -ivh "${rpm_root_dir}/runit-2.1.1.rpm" EOH action :run not_if rpm_installed