Project

General

Profile

« Previous | Next » 

Revision 29cf2ebd

Added by Michael Moll almost 6 years ago

add core packages for Ubuntu/bionic

View differences:

debian/bionic/foreman-installer/build_vars.sh
UPSTREAM=develop
debian/bionic/foreman-installer/changelog
foreman-installer (1.19.0-1) stable; urgency=low
* Initial release for Ubuntu/bionic
-- Michael Moll <mmoll@mmoll.at> Sat, 30 Jun 2018 13:31:29 +0200
debian/bionic/foreman-installer/compat
7
debian/bionic/foreman-installer/control
Source: foreman-installer
Section: ruby
Priority: optional
Maintainer: Greg Sutcliffe <gsutclif@redhat.com>
Build-Depends: debhelper (>= 7.0.50~), asciidoc, rake, libxml2-utils,
xsltproc, docbook-xsl, git, ca-certificates, ruby-dev,
puppet-agent-puppet-strings | ruby-puppet-strings, ruby-kafo (>= 1.0.5)
Standards-Version: 3.9.3
Homepage: https://github.com/theforeman/foreman-installer
XS-Ruby-Versions: all
Package: foreman-installer
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby,
ruby-kafo (>= 1.0.5),
puppet-agent (>= 1.9.0) | puppet (>= 4.9.0),
curl,
lsb-release
Description: Automated puppet-based installer for The Foreman
Foreman-installer is a set of puppet modules wrapped in ruby
library to provide a nice frontend menu for configuring it.
.
The installer can configure Foreman, Foreman Proxy, Puppet,
TFTP, DNS, and DHCP. All sections are optional and configurable.
debian/bionic/foreman-installer/copyright
This work was packaged for Debian by:
Greg Sutcliffe <greg.sutcliffe@gmail.com> on Sun, 05 May 2013
It was downloaded from:
https://github.com/theforeman/foreman-installer
Upstream Author(s):
Ohad Levy <ohadlevy@gmail.com>
Copyright:
Copyright (C) 2010-2013 Ohad Levy <ohadlevy@gmail.com>
License:
GPL-3
On any Debian system, you can find the complete text of the GNU GPL
(GNU General Public License) in the file '/usr/share/common-licenses/GPL-3'.
The Debian packaging is:
Copyright (C) 2013 Greg Sutcliffe <greg.sutcliffe@gmail.com>
and is licensed under the GPL version 3,
see "/usr/share/common-licenses/GPL-3".
debian/bionic/foreman-installer/postinst
#!/bin/sh
# postinst script for foreman-installer
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
foreman-installer --scenario foreman --migrations-only > /dev/null
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
debian/bionic/foreman-installer/rules
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEST=$$(pwd)/debian/foreman-installer
override_dh_auto_build:
rake build PREFIX=/usr LOCALSTATEDIR=/var SBINDIR=/usr/sbin SYSCONFDIR=/etc KAFO_MODULES_DIR=/usr/lib/ruby/vendor_ruby/kafo/modules --trace
override_dh_auto_install:
rake install PREFIX=${DEST}/usr LOCALSTATEDIR=${DEST}/var SBINDIR=${DEST}/usr/sbin SYSCONFDIR=${DEST}/etc --trace
%:
dh $@
debian/bionic/foreman-installer/source/format
3.0 (quilt)
debian/bionic/foreman-proxy/build_vars.sh
UPSTREAM=develop
debian/bionic/foreman-proxy/changelog
foreman-proxy (1.19.0-1) stable; urgency=low
* Initial release for Ubuntu/bionic
-- Michael Moll <mmoll@mmoll.at> Sat, 30 Jun 2018 13:31:29 +0200
debian/bionic/foreman-proxy/compat
7
debian/bionic/foreman-proxy/control
Source: foreman-proxy
Section: net
Priority: extra
Maintainer: Greg Sutcliffe <gsutclif@redhat.com>
Build-Depends: debhelper (>= 7.0.50~), dh-systemd (>= 1.5), rename
Standards-Version: 3.9.1
Homepage: http://theforeman.org/projects/smart-proxy
Vcs-Git: git://github.com/theforeman/smart-proxy.git
Vcs-Browser: https://github.com/theforeman/smart-proxy
Package: foreman-proxy
Architecture: all
Depends: ruby, rake, ruby-sinatra (>= 1.3.3), ruby-rack (>= 1.1.0), ruby-json, ruby-augeas, ruby-bundler-ext, ruby-concurrent (>= 1.0.0), ruby-concurrent (<< 2.0.0), ruby-rsec
Recommends: sudo, wget, ping, ruby-gssapi, ruby-rubyipmi (>= 0.10.0), ruby-rkerberos (>= 0.1.1), ruby-libvirt (>= 0.6.0), ruby-rb-inotify, foreman-debug
Description: RESTful proxies for DNS, DHCP, TFTP, and Puppet
Smart-Proxy is a project which provides a RESTful API to various sub-systems
like DNS, DHCP, TFTP, and Puppet.
.
Its goal is to provide API for a higher level orchestration tools.
Smart-Proxy provides an easy way to add or extended existing
sub-systems and APIs.
debian/bionic/foreman-proxy/copyright
This work was packaged for Debian by:
Greg Sutcliffe <greg.sutcliffe@gmail.com> on Sun, 05 May 2013
It was downloaded from:
http://theforeman.org/projects/smart-proxy
Upstream Author(s):
Ohad Levy <ohadlevy@gmail.com>
Copyright:
Copyright (C) 2010-2013 Ohad Levy <ohadlevy@gmail.com>
License:
GPL-3
On any Debian system, you can find the complete text of the GNU GPL
(GNU General Public License) in the file '/usr/share/common-licenses/GPL-3'.
The Debian packaging is:
Copyright (C) 2013 Greg Sutcliffe <greg.sutcliffe@gmail.com>
and is licensed under the GPL version 3,
see "/usr/share/common-licenses/GPL-3".
debian/bionic/foreman-proxy/default
# Defaults for smart-proxy initscript
# sourced by /etc/init.d/foreman-proxy
DAEMON_USER="foreman-proxy:foreman-proxy"
DAEMON_HOME="/usr/share/foreman-proxy"
DAEMON_ARGS=""
debian/bionic/foreman-proxy/dirs
etc/foreman-proxy
usr/share/foreman-proxy/logs
var/log/foreman-proxy
debian/bionic/foreman-proxy/docs
README.md
debian/bionic/foreman-proxy/foreman-proxy.init
#!/bin/sh
### BEGIN INIT INFO
# Provides: foreman-proxy
# Required-Start: $network $local_fs $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: RESTful proxies for DNS, DHCP, TFTP, and Puppet
# Description: Smart-Proxy is a project which provides a RESTful API to various sub-systems
# like DNS, DHCP, TFTP, and Puppet.
### END INIT INFO
# Author: Jochen Schalanda <jochen@schalanda.name>
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC=foreman-proxy
NAME=foreman-proxy
DAEMON=/usr/share/$NAME/bin/smart-proxy
DAEMON_ARGS=""
PIDFILE=/var/run/$NAME/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
SETTINGS=/etc/$NAME/settings.yml
# Exit if the package is not installed
[ -x $DAEMON ] || exit 0
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
#
# Function that starts the daemon/service
#
do_start()
{
PIDFILE_DIR=$(dirname $PIDFILE)
if [ ! -x $PIDFILE_DIR ]; then
mkdir -p $PIDFILE_DIR && chown $DAEMON_USER $PIDFILE_DIR
fi
TMP_DIR=/usr/share/$NAME/tmp
if [ ! -x $TMP_DIR ]; then
mkdir -p $TMP_DIR && chown $DAEMON_USER $TMP_DIR
fi
if ! egrep -q '^:daemon:\s*true' $SETTINGS; then
echo "$NAME: :daemon is not true in $SETTINGS; not starting service" >&2
return 6
fi
# Return
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
export USE_GEMS=false # No need for rubygems here
start-stop-daemon --start --quiet --chuid $DAEMON_USER --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
}
#
# Function that stops the daemon/service
#
do_stop()
{
# Return
# 0 if daemon has been stopped
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks
# and if the daemon is only ever run from this initscript.
# If the above conditions are not satisfied then add some other code
# that waits for the process to drop all resources that could be
# needed by services started subsequently. A last resort is to
# sleep for some time.
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
[ "$?" = 2 ] && return 2
# Many daemons don't delete their pidfiles when they exit.
rm -f $PIDFILE
return "$RETVAL"
}
#
# Function that sends a SIGHUP to the daemon/service
#
do_reload() {
#
# If the daemon can reload its configuration without
# restarting (for example, when it is sent a SIGHUP),
# then implement that here.
#
start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
return 0
}
do_logrotate() {
start-stop-daemon --stop --signal USR1 --quiet --pidfile $PIDFILE
return $?
}
case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
status)
status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $?
;;
#reload|force-reload)
#
# If do_reload() is not implemented then leave this commented out
# and leave 'force-reload' as an alias for 'restart'.
#
#log_daemon_msg "Reloading $DESC" "$NAME"
#do_reload
#log_end_msg $?
#;;
logrotate)
log_daemon_msg "Rotating logs $DESC" "$NAME"
do_logrotate
log_end_msg $?
;;
restart|force-reload)
#
# If the "reload" option is implemented then remove the
# 'force-reload' alias
#
log_daemon_msg "Restarting $DESC" "$NAME"
do_stop
case "$?" in
0|1)
do_start
case "$?" in
0) log_end_msg 0 ;;
1) log_end_msg 1 ;; # Old process is still running
*) log_end_msg 1 ;; # Failed to start
esac
;;
*)
# Failed to stop
log_end_msg 1
;;
esac
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload|logrotate}" >&2
exit 3
;;
esac
:
debian/bionic/foreman-proxy/foreman-proxy.tmpfile
d /run/foreman-proxy 0755 foreman-proxy foreman-proxy -
debian/bionic/foreman-proxy/install
foreman-proxy etc
bin usr/share/foreman-proxy
bundler.d usr/share/foreman-proxy
config.ru usr/share/foreman-proxy
extra/migrate_settings.rb usr/share/foreman-proxy/extra
extra/migrations usr/share/foreman-proxy/extra
Gemfile.in usr/share/foreman-proxy
lib usr/share/foreman-proxy
modules usr/share/foreman-proxy
Rakefile usr/share/foreman-proxy
sbin usr
smart_proxy.gemspec usr/share/foreman-proxy
tasks usr/share/foreman-proxy
VERSION usr/share/foreman-proxy
extra/foreman-debug-proxy usr/share/foreman/script/foreman-debug.d
extra/systemd/foreman-proxy.service lib/systemd/system
debian/bionic/foreman-proxy/links
etc/foreman-proxy usr/share/foreman-proxy/config
debian/bionic/foreman-proxy/logrotate
/var/log/foreman-proxy/migrate_settings.log
/var/log/foreman-proxy/proxy.log
{
missingok
notifempty
create 0644 foreman-proxy foreman-proxy
sharedscripts
rotate 5
compress
daily
postrotate
[ -e /etc/init.d/foreman-proxy ] && /etc/init.d/foreman-proxy logrotate >/dev/null 2>&1 || true
endscript
}
debian/bionic/foreman-proxy/patches/series
settings_yml_defaults.patch
debian/bionic/foreman-proxy/patches/settings_yml_defaults.patch
--- a/config/settings.yml.example
+++ b/config/settings.yml.example
@@ -1,4 +1,7 @@
---
+#replace default location of "settings.d"
+:settings_directory: /etc/foreman-proxy/settings.d
+
# SSL Setup
# If enabled, all communication would be verified via SSL
# NOTE that both certificates need to be signed by the same CA in order for this to work
@@ -21,7 +24,7 @@
#- foreman.prod.domain
#- foreman.dev.domain
#to deny access to all hosts use:
-#:trusted_hosts: []
+:trusted_hosts: []
# verify a DNS reverse lookup against it's forward lookup
# 1.1.1.1 -> foreman.mycompany.com -> 1.1.1.1
@@ -38,16 +41,16 @@
#:foreman_ssl_key: ssl/private_keys/fqdn.pem
# by default smart_proxy runs in the foreground. To enable running as a daemon, uncomment 'daemon' setting
-#:daemon: true
+:daemon: true
# Only used when 'daemon' is set to true.
# Uncomment and modify if you want to change the default pid file '/var/run/foreman-proxy/foreman-proxy.pid'
#:daemon_pid: /var/run/foreman-proxy/foreman-proxy.pid
# host and ports configuration
# an array of interfaces to bind ports to (possible values: *, localhost, 0.0.0.0)
-#:bind_host: ['*']
+:bind_host: ['localhost']
# http is disabled by default. To enable, uncomment 'http_port' setting
-#:http_port: 8000
+:http_port: 8000
# https is enabled if certificate, CA certificate, and private key are present in locations specifed by
# ssl_certificate, ssl_ca_file, and ssl_private_key correspondingly
# default values for https_port is 8443
debian/bionic/foreman-proxy/postinst
#!/bin/sh
# postinst script for smart-proxy
#
# see: dh_installdeb(1)
set -e
USERNAME="foreman-proxy"
GROUPNAME="foreman-proxy"
FOREMAN_HOME="/usr/share/foreman-proxy"
CONFIGDIR="/etc/foreman-proxy"
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
getent group $GROUPNAME >/dev/null || groupadd -r $GROUPNAME
getent passwd $USERNAME >/dev/null || \
useradd -r -g $GROUPNAME -d $FOREMAN_HOME -s /usr/sbin/nologin -c "Foreman Proxy daemon user" $USERNAME
mkdir -p "$FOREMAN_HOME/tmp"
mkdir -p "/var/log/foreman-proxy"
mkdir -p "/var/run/foreman-proxy"
chown $USERNAME:$GROUPNAME "$FOREMAN_HOME/tmp"
chown $USERNAME:$GROUPNAME "$FOREMAN_HOME/logs"
chown $USERNAME:$GROUPNAME "/var/log/foreman-proxy"
chown $USERNAME:$GROUPNAME "/var/run/foreman-proxy"
chown $USERNAME:root "$FOREMAN_HOME/config.ru"
TEMP=$(mktemp -d)
trap "rm -rf $TEMP" EXIT
(
cd $TEMP
if ruby $FOREMAN_HOME/extra/migrate_settings.rb -t . > /var/log/foreman-proxy/migrate_settings.log 2>&1; then
(
cd result && for f in migration_state settings.yml settings.d/*.yml; do
[ -e "$f" ] && cat $f > ${CONFIGDIR}/$f
done
)
# from monolithic to split config files
egrep -q '^:settings_directory' ${CONFIGDIR}/settings.yml || \
sed -i "/^---/ a #replace default location of \"settings.d\"\n:settings_directory: ${CONFIGDIR}/settings.d\n" \
${CONFIGDIR}/settings.yml
fi
)
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
debian/bionic/foreman-proxy/preinst
#!/bin/sh
# preinst script for smart-proxy
#
# see: dh_installdeb(1)
set -e
USERNAME="foreman-proxy"
GROUPNAME="foreman-proxy"
FOREMAN_HOME="/usr/share/foreman-proxy"
CONFIGDIR="/etc/foreman-proxy"
case "$1" in
install)
;;
upgrade)
if [ ! -L $FOREMAN_HOME/config ]; then
# Update /etc to handle changes in links (it was a single file, now it's the whole dir)
cp -Lr $FOREMAN_HOME/config/* $CONFIGDIR/ || true # copying symlinks onto themselves counts as a fail
rm -rf $FOREMAN_HOME/config
ln -snf $CONFIGDIR $FOREMAN_HOME/config
fi
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
debian/bionic/foreman-proxy/prerm
#!/bin/sh
# prerm script for smart-proxy
#
# see: dh_installdeb(1)
set -e
USERNAME="foreman-proxy"
GROUPNAME="foreman-proxy"
FOREMAN_HOME="/usr/share/foreman-proxy"
CONFIGDIR="/etc/foreman-proxy"
case "$1" in
upgrade)
;;
remove)
rm -rf $FOREMAN_HOME/tmp
rm -f /var/log/foreman-proxy/proxy.log
rm -f /var/log/foreman-proxy/foreman-proxy.log
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
debian/bionic/foreman-proxy/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
build:
cp -a config foreman-proxy # dh_install doesn't rename things
rename 's/.example//' foreman-proxy/* foreman-proxy/settings.d/*
touch foreman-proxy/migration_state
mv Gemfile Gemfile.in
rm -f bundler.d/development.rb bundler.d/test.rb bundler.d/windows.rb
dh $@
%:
dh $@ --with=systemd
debian/bionic/foreman-proxy/source/format
3.0 (quilt)
debian/bionic/foreman/build_vars.sh
UPSTREAM=develop
debian/bionic/foreman/changelog
foreman (1.19.0-1) stable; urgency=low
* Initial release for Ubuntu/bionic
-- Michael Moll <mmoll@mmoll.at> Sat, 30 Jun 2018 13:31:29 +0200
debian/bionic/foreman/compat
9
debian/bionic/foreman/control
Source: foreman
Maintainer: Greg Sutcliffe <greg.sutcliffe@gmail.com>
Section: web
Priority: extra
Standards-Version: 3.9.1
Build-Depends: debhelper (>= 9.20160709), bundler (>= 1.3), ruby2.5-dev, git | git-core,
zlib1g-dev, default-libmysqlclient-dev, libpq-dev, pkg-config, libvirt-dev,
libsqlite3-dev, build-essential, curl, nodejs (>= 8.9),
python, libsystemd-dev, libcurl4-openssl-dev, libxml2-dev, tzdata
Homepage: http://www.theforeman.org/
Package: foreman
Architecture: any
Section: web
Priority: extra
Depends: ruby, ruby2.5, bundler (>= 1.3), zlib1g-dev,
ruby2.5-dev, build-essential,
rake (>=0.8.4), ${misc:Depends}
Recommends: foreman-proxy, foreman-debug (= ${binary:Version}), python-minimal
Conflicts: ruby-activerecord-deprecated-finders, ruby-foreman-tasks (<< 0.10.1), ruby-sequel-pg
Description: Systems management web interface
Foreman is aimed to be a single address for all machines life cycle management.
.
- Foreman integrates with Puppet and acts as web front end to it.
- Foreman takes care of bare bone provisioning until the point puppet is
running, allowing Puppet to do what it does best.
- Foreman shows you Systems Inventory (based on Facter) and provides real time
information about hosts status based on Puppet reports.
- Foreman creates everything you need when adding a new machine to your
network. Its goal being automatically managing everything you would
normally manage manually - that would eventually include DNS, DHCP,
TFTP, PuppetCA, CMDB and everything else you might consider useful.
- With Foreman you can always rebuild your machines from scratch.
- Foreman is designed to work in a large enterprise, where multiple domains,
subnets and puppetmasters are required.
In many cases, Foreman could help remote provisions where no experienced
technicians are available.
Package: foreman-postgresql
Architecture: all
Section: web
Priority: extra
Replaces: foreman-pgsql
Provides: foreman-pgsql
Conflicts: foreman-pgsql
Depends: foreman (= ${binary:Version}), libpq-dev, ${misc:Depends}
Description: metapackage providing PostgreSQL dependencies for Foreman
This package provides PostgreSQL dependencies for Foreman, a
flexible systems management web application. Install this
one if you want to use a PostgreSQL database with Foreman.
.
The foreman package should be installed along with this package.
Package: foreman-sqlite3
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), libsqlite3-dev , ${misc:Depends}
Description: metapackage providing sqlite dependencies for Foreman
This package provides sqlite dependencies for Foreman, a
flexible systems management web application. Install this
one if you want to use a SQLite database with Foreman.
.
The foreman package should be installed along with this package.
Package: foreman-console
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing console dependencies for Foreman
This package provides console dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-devel
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing development dependencies for Foreman
This package provides development dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-compute
Architecture: all
Section: web
Priority: extra
Recommends: foreman-ec2
Depends: foreman (= ${binary:Version}), libcurl4-openssl-dev, libxml2-dev, ${misc:Depends}
Description: metapackage providing fog dependencies for Foreman,
adding OpenStack and Rackspace compute resource support.
This package provides fog dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-ec2
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing EC2 dependencies for Foreman
This package provides Amazon EC2 dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-libvirt
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), pkg-config, libvirt-dev, ${misc:Depends}
Recommends: genisoimage
Description: metapackage providing libvirt dependencies for Foreman
This package provides libvirt dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-mysql2
Architecture: all
Section: web
Priority: extra
Replaces: foreman-mysql
Provides: foreman-mysql
Conflicts: foreman-mysql
Depends: foreman (= ${binary:Version}), default-libmysqlclient-dev, ${misc:Depends}
Description: metapackage providing mysql2 dependencies for Foreman
This package provides mysql2 dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-openstack
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing OpenStack dependencies for Foreman
This package provides OpenStack dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-ovirt
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), foreman-compute (= ${binary:Version}), libcurl4-openssl-dev, libxml2-dev, ${misc:Depends}
Description: metapackage providing ovirt dependencies for Foreman
This package provides ovirt dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-rackspace
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing Rackspace dependencies for Foreman
This package provides Rackspace dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-test
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing test dependencies for Foreman
This package provides test dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-assets
Architecture: any
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), nodejs (>= 8.9), ${misc:Depends}
Description: metapackage providing Rails asset dependencies for Foreman
This package provides asset dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-vmware
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing vmware dependencies for Foreman
This package provides vmware dependencies for Foreman, a
flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-cli
Architecture: all
Section: ruby
Priority: optional
Depends: ruby-hammer-cli, ruby-hammer-cli-foreman
Description: metapackage providing hammer CLI for Foreman
This package provides Hammer CLI preconfigured with a module
containing foreman commands.
Package: foreman-gce
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing GCE dependencies for Foreman
This package provides Google Compute Engine dependencies for Foreman,
a flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-debug
Architecture: all
Section: ruby
Priority: extra
Depends: rsync
Description: provides support utility foreman-debug.
.
The foreman package should be installed along with this package.
Package: foreman-telemetry
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), ${misc:Depends}
Description: metapackage providing telemetry dependencies for Foreman
This package provides telemetry dependencies for Foreman,
a flexible systems management web application.
.
The foreman package should be installed along with this package.
Package: foreman-journald
Architecture: all
Section: web
Priority: extra
Depends: foreman (= ${binary:Version}), libsystemd-dev, ${misc:Depends}
Description: metapackage providing journald dependencies for Foreman
This package provides journald logging dependencies for Foreman,
a flexible systems management web application.
.
The foreman package should be installed along with this package.
debian/bionic/foreman/copyright
This package was debianized by Greg Sutcliffe <greg.sutcliffe@gmail.com>
on Sun, 18 Jul 2010 10:09:29 +0302
It was downloaded from: http://www.theforeman.org/
Upstream Author(s):
Ohad Levy
Paul Kelly
Copyright:
Copyright (C) 2009-2013 by Ohad Levy and Paul Kelly
License: GPL-3
On any Debian system, you can find the complete text of the GNU GPL
(GNU General Public License) in the file '/usr/share/common-licenses/GPL-3'.
Packaging:
Copyright (C) 2013 by Greg Sutcliffe <greg.sutcliffe@gmail.com>
released under the GPL-3, see '/usr/share/common-licenses/GPL-3'.
debian/bionic/foreman/database.yml.mysql2-example
production:
adapter: mysql2
database: foreman
username: foreman
password: password
host: localhost
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
debian/bionic/foreman/database.yml.pgsql-example
production:
adapter: postgresql
username: foreman
database: foreman
password: password
host: localhost
encoding: unicode
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
debian/bionic/foreman/database.yml.sqlite3-example
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
debian/bionic/foreman/dirs
etc/foreman
etc/foreman/plugins
var/cache/foreman
var/lib/foreman
var/lib/foreman/plugins
var/log/foreman
var/log/foreman/plugins
debian/bionic/foreman/docs
README.md
debian/bionic/foreman/dynflowd.service
[Unit]
Description=Foreman jobs daemon
Documentation=https://theforeman.org
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
User=foreman
TimeoutSec=90
WorkingDirectory=/usr/share/foreman
ExecStart=/usr/bin/dynflowd start
ExecStop=/usr/bin/dynflowd stop
EnvironmentFile=-/etc/default/dynflowd
[Install]
WantedBy=multi-user.target
Alias=ruby-foreman-tasks.service
debian/bionic/foreman/foreman-assets.install
bundler.d/assets.rb /usr/share/foreman/bundler.d
package.json /usr/share/foreman
package-lock.json /usr/share/foreman
node_modules /usr/share/foreman
webpack /usr/share/foreman
debian/bionic/foreman/foreman-assets.postinst
#!/bin/sh
# postinst script for foreman-*
#
# see: dh_installdeb(1)
[ -n "${DEBUG}" ] && set -x
set -e
. /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
BUNDLE=bundle
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
# Update gems
export HOME=/usr/share/foreman
cd /usr/share/foreman
if [ ! -z "${DEBUG}" ]; then
$BUNDLE update --local
else
$BUNDLE update --local 2>&1 >> $LOGFILE
fi
# Own all the core files
chown -Rf foreman:foreman '/usr/share/foreman'
# make webpack file executable
chmod 755 '/usr/share/foreman/node_modules/webpack/bin/webpack.js'
#DEBHELPER#
exit 0
debian/bionic/foreman/foreman-compute.install
bundler.d/fog.rb /usr/share/foreman/bundler.d
debian/bionic/foreman/foreman-compute.postinst
#!/bin/sh
# postinst script for foreman-*
#
# see: dh_installdeb(1)
[ -n "${DEBUG}" ] && set -x
set -e
. /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
BUNDLE=bundle
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
# Update gems
export HOME=/usr/share/foreman
cd /usr/share/foreman
if [ ! -z "${DEBUG}" ]; then
$BUNDLE update --local
else
$BUNDLE update --local 2>&1 >> $LOGFILE
fi
# Own all the core files
chown -Rf foreman:foreman '/usr/share/foreman'
#DEBHELPER#
exit 0
debian/bionic/foreman/foreman-console.install
bundler.d/console.rb /usr/share/foreman/bundler.d
debian/bionic/foreman/foreman-console.postinst
#!/bin/sh
# postinst script for foreman-*
#
# see: dh_installdeb(1)
[ -n "${DEBUG}" ] && set -x
set -e
. /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
BUNDLE=bundle
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
# Update gems
export HOME=/usr/share/foreman
cd /usr/share/foreman
if [ ! -z "${DEBUG}" ]; then
$BUNDLE update --local
else
$BUNDLE update --local 2>&1 >> $LOGFILE
fi
# Own all the core files
chown -Rf foreman:foreman '/usr/share/foreman'
#DEBHELPER#
exit 0
debian/bionic/foreman/foreman-debug.dirs
usr/share/foreman/script/foreman-debug.d/
debian/bionic/foreman/foreman-debug.install
script/foreman-debug usr/sbin
debian/bionic/foreman/foreman-development.install
bundler.d/development.rb /usr/share/foreman/bundler.d
debian/bionic/foreman/foreman-development.postinst
#!/bin/sh
# postinst script for foreman-*
#
# see: dh_installdeb(1)
[ -n "${DEBUG}" ] && set -x
set -e
. /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
BUNDLE=bundle
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
# Update gems
export HOME=/usr/share/foreman
cd /usr/share/foreman
if [ ! -z "${DEBUG}" ]; then
$BUNDLE update --local
else
$BUNDLE update --local 2>&1 >> $LOGFILE
fi
# Own all the core files
chown -Rf foreman:foreman '/usr/share/foreman'
#DEBHELPER#
exit 0
debian/bionic/foreman/foreman-ec2.install
bundler.d/ec2.rb /usr/share/foreman/bundler.d
debian/bionic/foreman/foreman-ec2.postinst
#!/bin/sh
# postinst script for foreman-*
#
# see: dh_installdeb(1)
[ -n "${DEBUG}" ] && set -x
set -e
. /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
BUNDLE=bundle
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
# Update gems
export HOME=/usr/share/foreman
cd /usr/share/foreman
if [ ! -z "${DEBUG}" ]; then
$BUNDLE update --local
else
$BUNDLE update --local 2>&1 >> $LOGFILE
fi
# Own all the core files
chown -Rf foreman:foreman '/usr/share/foreman'
#DEBHELPER#
exit 0
debian/bionic/foreman/foreman-gce.install
bundler.d/gce.rb /usr/share/foreman/bundler.d
debian/bionic/foreman/foreman-gce.postinst
#!/bin/sh
# postinst script for foreman-*
#
# see: dh_installdeb(1)
[ -n "${DEBUG}" ] && set -x
set -e
. /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
BUNDLE=bundle
[ -h /usr/bin/foreman-ruby ] && BUNDLE="/usr/bin/foreman-ruby /usr/bin/bundle"
# Update gems
export HOME=/usr/share/foreman
cd /usr/share/foreman
if [ ! -z "${DEBUG}" ]; then
$BUNDLE update --local
else
$BUNDLE update --local 2>&1 >> $LOGFILE
fi
# Own all the core files
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff