summaryrefslogtreecommitdiffstats
path: root/jjb/scripts
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@gmail.com>2018-09-16 14:15:55 -0500
committerEd Warnicke <hagbard@gmail.com>2018-09-16 14:15:55 -0500
commit8731159b2f29eff15b9f9419b3e9aaf8acd05d6c (patch)
tree4416f56e2ea11f6b309e1121e40566f0fd9a9436 /jjb/scripts
parent17e6a7a28382e1cc6f89eb1120b4bced3e1fe294 (diff)
Make sure to install facter on OpenSuse
Change-Id: I7fdd34157f2e37f32fec818a5a744f06c4c54437 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Diffstat (limited to 'jjb/scripts')
-rw-r--r--jjb/scripts/packagecloud_push.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/jjb/scripts/packagecloud_push.sh b/jjb/scripts/packagecloud_push.sh
index 765871a80..c38d03b02 100644
--- a/jjb/scripts/packagecloud_push.sh
+++ b/jjb/scripts/packagecloud_push.sh
@@ -7,6 +7,11 @@ echo "STARTING PACKAGECLOUD PUSH"
sleep 10
+if [ -f /usr/bin/zypper ]; then
+ echo "Since zypper exists, us it to install facter"
+ zypper -n install facter
+fi
+
FACTER_OS=$(/usr/bin/facter operatingsystem)
if [ -f ~/.packagecloud ]; then
case "$FACTER_OS" in