Revision 8c353bd7
Added by Greg Sutcliffe over 10 years ago
plugins/wheezy/ruby-foreman-templates/debian/changelog | ||
---|---|---|
ruby-foreman-templates (1.3.2) unstable; urgency=low
|
||
|
||
* Initial Release.
|
||
|
||
-- Greg Sutcliffe <gsutclif@redhat.com> Fri, 06 Dec 2013 17:03:49 +0000
|
plugins/wheezy/ruby-foreman-templates/debian/compat | ||
---|---|---|
8
|
plugins/wheezy/ruby-foreman-templates/debian/control | ||
---|---|---|
Source: ruby-foreman-templates
|
||
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/theforeman/foreman_templates
|
||
|
||
Package: ruby-foreman-templates
|
||
Architecture: all
|
||
Depends: ${misc:Depends}, bundler
|
||
Description: Foreman Templates Plugin
|
||
This plugin will sync the contents of the Foreman Community Templates
|
||
repository (or a git repo of your choice) to your local Foreman instance.
|
plugins/wheezy/ruby-foreman-templates/debian/copyright | ||
---|---|---|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||
Upstream-Name: ruby-foreman-templates
|
||
Source: https://github.com/theforeman/foreman_templates
|
||
|
||
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/wheezy/ruby-foreman-templates/debian/install | ||
---|---|---|
foreman_templates.rb usr/share/foreman/bundler.d
|
plugins/wheezy/ruby-foreman-templates/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_templates
|
||
else
|
||
bundle update foreman_templates 2>&1 >> $LOGFILE
|
||
fi
|
||
|
||
# Own all the core files
|
||
chown -Rf foreman:foreman '/usr/share/foreman'
|
||
|
||
#DEBHELPER#
|
||
|
||
exit 0
|
plugins/wheezy/ruby-foreman-templates/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/wheezy/ruby-foreman-templates/debian/source/format | ||
---|---|---|
3.0 (native)
|
plugins/wheezy/ruby-foreman-templates/foreman_templates.rb | ||
---|---|---|
gem 'foreman_templates', '1.3.2'
|
Also available in: Unified diff
Add templates plugin to wheezy