Project

General

Profile

« Previous | Next » 

Revision b111b2d8

Added by Greg Sutcliffe about 10 years ago

default_hostgroup: bump to 2.0.0

View differences:

plugins/ruby-foreman-default-hostgroup/debian/changelog
ruby-foreman-default-hostgroup (2.0.0) unstable; urgency=low
* Release 2.0.0
-- Greg Sutcliffe <gsutclif@redhat.com> Tue, 29 Apr 2014 13:27:00 +0000
ruby-foreman-default-hostgroup (1.1.0) unstable; urgency=low
* Release 1.1.0
plugins/ruby-foreman-default-hostgroup/debian/postinst
. /usr/share/debconf/confmodule
LOGFILE='/var/log/foreman-install.log'
PLUGIN='foreman_default_hostgroup'
# if this script aborts with an error dpkg can
# hang if daemons have been started
......
# Update gems
cd /usr/share/foreman
if [ ! -z "${DEBUG}" ]; then
bundle update foreman_default_hostgroup
if bundle show $PLUGIN >/dev/null 2>&1; then
bundle update $PLUGIN
else
bundle install
fi
else
bundle update foreman_default_hostgroup 2>&1 >> $LOGFILE
if bundle show $PLUGIN >/dev/null 2>&1; then
bundle update $PLUGIN 2>&1 >> $LOGFILE
else
bundle install 2>&1 >> $LOGFILE
fi
fi
# Own all the core files
plugins/ruby-foreman-default-hostgroup/foreman_default_hostgroup.rb
gem 'foreman_default_hostgroup', '1.1.0'
gem 'foreman_default_hostgroup', '2.0.0'

Also available in: Unified diff