Project

General

Profile

« Previous | Next » 

Revision 2482eed5

Added by Greg Sutcliffe over 10 years ago

Add hooks plugin

View differences:

plugins/ruby-foreman-discovery/foreman_discovery.rb
gem 'foreman_discovery', '1.1.'
gem 'foreman_discovery', '1.1.1'
plugins/ruby-foreman-hooks/debian/changelog
ruby-foreman-hooks (0.3.3) unstable; urgency=low
* Initial Release.
-- Greg Sutcliffe <gsutclif@redhat.com> Mon, 16 Dec 2013 18:43:49 +0000
plugins/ruby-foreman-hooks/debian/compat
8
plugins/ruby-foreman-hooks/debian/control
Source: ruby-foreman-hooks
Section: ruby
Priority: extra
Maintainer: Greg Sutcliffe <gsutclif@redhat.com>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.3
Homepage: https://github.com/domcleal/foreman_hooks
Package: ruby-foreman-hooks
Architecture: all
Depends: ${misc:Depends}, bundler, foreman
Description: Foreman Hooks Plugin
Plugin engine for Foreman that enables running custom hook scripts on Foreman
events.
plugins/ruby-foreman-hooks/debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ruby-foreman-hooks
Source: https://github.com/domcleal/foreman_hooks
Files: *
Copyright: 2012-2013 Red Hat Inc. <foreman-dev@googlegroups.com>
License: GPL-3.0+
Files: debian/*
Copyright: 2013 Red Hat Inc. <foreman-dev@googlegroups.com>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
plugins/ruby-foreman-hooks/debian/install
foreman_hooks.rb usr/share/foreman/bundler.d
plugins/ruby-foreman-hooks/debian/postinst
#!/bin/sh
# postinst script for foreman-*
#
# see: dh_installdeb(1)
if [ ! -z "${DEBUG}" ]; then
set -x
else
set -e
fi
. /usr/share/debconf/confmodule
LOGFILE='/var/log/foreman-install.log'
# if this script aborts with an error dpkg can
# hang if daemons have been started
trap db_stop EXIT
# Update gems
cd /usr/share/foreman
if [ ! -z "${DEBUG}" ]; then
bundle update foreman_hooks
else
bundle update foreman_hooks 2>&1 >> $LOGFILE
fi
# Own all the core files
chown -Rf foreman:foreman '/usr/share/foreman'
#DEBHELPER#
exit 0
plugins/ruby-foreman-hooks/debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
plugins/ruby-foreman-hooks/debian/source/format
3.0 (native)
plugins/ruby-foreman-hooks/foreman_hooks.rb
gem 'foreman_hooks', '0.3.3'

Also available in: Unified diff