Revision 7e2ca313
Added by Greg Sutcliffe about 10 years ago
debian/trusty/foreman-installer/build_vars.sh | ||
---|---|---|
UPSTREAM=1.5.0-RC2
|
debian/trusty/foreman-installer/changelog | ||
---|---|---|
foreman-installer (1.5.0~rc2-1) stable; urgency=low
|
||
|
||
* 1.5.0 RC2 released
|
||
|
||
-- Greg Sutcliffe <greg.sutcliffe@gmail.com> Mon, 28 Apr 2014 16:52:00 +0100
|
||
|
||
foreman-installer (1.5.0~rc1-1) stable; urgency=low
|
||
|
||
* 1.5.0 RC1 released
|
||
|
||
-- Daniel Lobato Garcia <elobatocs@gmail.com> Fri, 18 Apr 2014 17:45:00 +0100
|
debian/trusty/foreman-installer/compat | ||
---|---|---|
7
|
debian/trusty/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, git, ca-certificates, ruby-dev
|
||
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-interpreter,
|
||
ruby-kafo (>= 0.4.0),
|
||
puppet (>= 2.7.0)
|
||
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/trusty/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/trusty/foreman-installer/rules | ||
---|---|---|
#!/usr/bin/make -f
|
||
export DH_VERBOSE=1
|
||
export DEST=$$(pwd)/debian/foreman-installer
|
||
|
||
override_dh_auto_build:
|
||
# These hacks need to go...
|
||
type librarian-puppet >/dev/null 2>&1 || gem install librarian-puppet --no-ri --no-rdoc
|
||
ruby -rpuppet -etrue >/dev/null 2>&1 || gem install puppet --no-ri --no-rdoc
|
||
# This is the real bit
|
||
rake build PREFIX=/usr SBINDIR=/usr/sbin SYSCONFDIR=/etc KAFO_MODULES_DIR=/usr/lib/ruby/vendor_ruby/kafo/modules --trace
|
||
|
||
override_dh_auto_install:
|
||
# These hacks need to go...
|
||
type librarian-puppet >/dev/null 2>&1 || gem install librarian-puppet --no-ri --no-rdoc
|
||
ruby -rpuppet -etrue >/dev/null 2>&1 || gem install puppet --no-ri --no-rdoc
|
||
# This is the real bit
|
||
rake install PREFIX=${DEST}/usr SBINDIR=${DEST}/usr/sbin SYSCONFDIR=${DEST}/etc --trace
|
||
|
||
%:
|
||
dh $@
|
debian/trusty/foreman-installer/source/format | ||
---|---|---|
3.0 (quilt)
|
debian/trusty/foreman-proxy/build_vars.sh | ||
---|---|---|
UPSTREAM=1.5.0-RC2
|
debian/trusty/foreman-proxy/changelog | ||
---|---|---|
foreman-proxy (1.5.0~rc2-1) stable; urgency=low
|
||
|
||
* 1.5.0 RC2 released
|
||
|
||
-- Greg Sutcliffe <greg.sutcliffe@gmail.com> Mon, 28 Apr 2014 16:52:00 +0100
|
||
|
||
foreman-proxy (1.5.0~rc1-1) stable; urgency=low
|
||
|
||
* 1.5.0 RC1 released
|
||
|
||
-- Daniel Lobato Garcia <elobatocs@gmail.com> Fri, 18 Apr 2014 17:45:00 +0100
|
debian/trusty/foreman-proxy/compat | ||
---|---|---|
7
|
debian/trusty/foreman-proxy/control | ||
---|---|---|
Source: foreman-proxy
|
||
Section: net
|
||
Priority: extra
|
||
Maintainer: Greg Sutcliffe <gsutclif@redhat.com>
|
||
Build-Depends: debhelper (>= 7.0.50~)
|
||
Standards-Version: 3.9.1
|
||
Homepage: http://theforeman.org/projects/smart-proxy
|
||
Vcs-Git: git://github.com/ohadlevy/smart-proxy.git
|
||
Vcs-Browser: https://github.com/ohadlevy/smart-proxy
|
||
|
||
Package: foreman-proxy
|
||
Architecture: all
|
||
Depends: ruby1.9.1|ruby-interpreter, rake, ruby-sinatra, ruby-json, ruby-rkerberos (>= 0.1.1)
|
||
Recommends: sudo, wget, ping
|
||
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/trusty/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/trusty/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/trusty/foreman-proxy/dirs | ||
---|---|---|
etc/foreman-proxy
|
||
usr/share/foreman-proxy/logs
|
||
var/log/foreman-proxy
|
debian/trusty/foreman-proxy/docs | ||
---|---|---|
README
|
debian/trusty/foreman-proxy/init.d | ||
---|---|---|
#!/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*false' $SETTINGS; then
|
||
echo "$NAME: :daemon is false 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
|
||
}
|
||
|
||
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 $?
|
||
#;;
|
||
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|restart|reload|force-reload}" >&2
|
||
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
|
||
exit 3
|
||
;;
|
||
esac
|
||
|
||
:
|
debian/trusty/foreman-proxy/install | ||
---|---|---|
bin usr/share/foreman-proxy
|
||
config usr/share/foreman-proxy
|
||
config.ru usr/share/foreman-proxy
|
||
lib usr/share/foreman-proxy
|
||
public usr/share/foreman-proxy
|
||
Rakefile usr/share/foreman-proxy
|
||
tasks usr/share/foreman-proxy
|
||
views usr/share/foreman-proxy
|
||
debian/settings.yml etc/foreman-proxy
|
debian/trusty/foreman-proxy/links | ||
---|---|---|
etc/foreman-proxy/settings.yml usr/share/foreman-proxy/config/settings.yml
|
debian/trusty/foreman-proxy/logrotate | ||
---|---|---|
/var/log/foreman-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 restart >/dev/null 2>&1 || true
|
||
endscript
|
||
}
|
debian/trusty/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"
|
||
|
||
# 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" $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"
|
||
;;
|
||
|
||
abort-upgrade|abort-remove|abort-deconfigure)
|
||
;;
|
||
|
||
*)
|
||
echo "postinst called with unknown argument \`$1'" >&2
|
||
exit 1
|
||
;;
|
||
esac
|
||
|
||
# dh_installdeb will replace this with shell code automatically
|
||
# generated by other debhelper scripts.
|
||
|
||
#DEBHELPER#
|
||
|
||
exit 0
|
debian/trusty/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
|
||
|
||
%:
|
||
dh $@
|
debian/trusty/foreman-proxy/settings.yml | ||
---|---|---|
---
|
||
# 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
|
||
# see http://theforeman.org/projects/smart-proxy/wiki/SSL for more information
|
||
#:ssl_certificate: ssl/certs/fqdn.pem
|
||
#:ssl_ca_file: ssl/certs/ca.pem
|
||
#:ssl_private_key: ssl/private_keys/fqdn.key
|
||
# the hosts which the proxy accepts connections from
|
||
# commenting the following lines would mean every verified SSL connection allowed
|
||
#:trusted_hosts:
|
||
#- foreman.prod.domain
|
||
#- foreman.dev.domain
|
||
|
||
# enable the daemon to run in the background
|
||
:daemon: true
|
||
:daemon_pid: /var/run/foreman-proxy/foreman-proxy.pid
|
||
|
||
# port used by the proxy
|
||
:port: 8443
|
||
|
||
# Enable TFTP management
|
||
:tftp: false
|
||
#:tftproot: /var/lib/tftpboot
|
||
# Defines the TFTP Servername to use, overrides the name in the subnet declaration
|
||
#:tftp_servername: tftp.domain.com
|
||
|
||
|
||
# Enable DNS management
|
||
:dns: false
|
||
#:dns_key: /etc/rndc.key
|
||
# use this setting if you are managing a dns server which is not localhost though this proxy
|
||
#:dns_server: dns.domain.com
|
||
|
||
# Enable DHCP management
|
||
:dhcp: false
|
||
# The vendor can be either isc or native_ms
|
||
:dhcp_vendor: isc
|
||
# dhcp_subnets is a Native MS implementation setting. It restricts the subnets queried to a
|
||
# subset, so as to reduce the query time.
|
||
#:dhcp_subnets: [192.168.205.0/255.255.255.128, 192.168.205.128/255.255.255.128]
|
||
# Settings for Ubuntu ISC
|
||
#:dhcp_config: /etc/dhcp3/dhcpd.conf
|
||
#:dhcp_leases: /var/lib/dhcp3/dhcpd.leases
|
||
# Settings for Redhat ISC
|
||
#:dhcp_config: /etc/dhcpd.conf
|
||
#:dhcp_leases: /var/lib/dhcpd/dhcpd.leases
|
||
#:dhcp_key_name: secret_key_name
|
||
#:dhcp_key_secret: secret_key
|
||
|
||
# enable PuppetCA management
|
||
:puppetca: false
|
||
#:ssldir: /var/lib/puppet/ssl
|
||
#:puppetdir: /etc/puppet
|
||
|
||
# enable Puppet management
|
||
:puppet: false
|
||
#:puppet_conf: /etc/puppet/puppet.conf
|
||
|
||
# Where our proxy log files are stored
|
||
# filename or STDOUT
|
||
:log_file: /var/log/foreman-proxy/foreman-proxy.log
|
||
# valid options are
|
||
# WARN, DEBUG, Error, FATAL, INFO, UNKNOWN
|
||
:log_level: INFO
|
debian/trusty/foreman-proxy/source/format | ||
---|---|---|
3.0 (native)
|
debian/trusty/foreman/build_vars.sh | ||
---|---|---|
UPSTREAM=1.5.0-RC2
|
debian/trusty/foreman/changelog | ||
---|---|---|
foreman (1.5.0~rc2-1) stable; urgency=low
|
||
|
||
* 1.5.0 RC2 released
|
||
|
||
-- Greg Sutcliffe <greg.sutcliffe@gmail.com> Mon, 28 Apr 2014 16:52:00 +0100
|
||
|
||
foreman (1.5.0~rc1-1) stable; urgency=low
|
||
|
||
* 1.5.0 RC1 released
|
||
|
||
-- Daniel Lobato Garcia <elobatocs@gmail.com> Fri, 18 Apr 2014 17:45:00 +0100
|
debian/trusty/foreman/compat | ||
---|---|---|
7
|
debian/trusty/foreman/control | ||
---|---|---|
Source: foreman
|
||
Maintainer: Greg Sutcliffe <greg.sutcliffe@gmail.com>
|
||
Section: web
|
||
Priority: extra
|
||
Standards-Version: 3.9.1
|
||
Build-Depends: debhelper (>= 7), cdbs, bundler (>= 1.2), ruby, ruby1.9.1-dev, git | git-core,
|
||
libxml2-dev, libxslt1-dev, libmysqlclient-dev, libpq-dev, pkg-config,
|
||
libvirt-dev, libsqlite3-dev, facter, build-essential
|
||
Homepage: http://www.theforeman.org/
|
||
|
||
Package: foreman
|
||
Architecture: any
|
||
Section: web
|
||
Priority: extra
|
||
Depends: rubygems1.8 | ruby1.9.1, bundler (>= 1.2), ruby-dev,
|
||
libxml2-dev, libxslt1-dev, facter, build-essential,
|
||
rake (>=0.8.4), ${misc:Depends}
|
||
Recommends: foreman-proxy
|
||
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, 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, 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, ${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, ${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
|
||
Replaces: foreman-fog
|
||
Provides: foreman-fog
|
||
Conflicts: foreman-fog
|
||
Depends: foreman, libxml2-dev, libxslt1-dev, ${misc:Depends}
|
||
Description: metapackage providing fog dependencies for Foreman (for Amazon EC2 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-libvirt
|
||
Architecture: all
|
||
Section: web
|
||
Priority: extra
|
||
Depends: foreman, foreman-compute, pkg-config, libvirt-dev, ${misc:Depends}
|
||
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, 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-ovirt
|
||
Architecture: all
|
||
Section: web
|
||
Priority: extra
|
||
Depends: foreman, foreman-compute, ${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-test
|
||
Architecture: all
|
||
Section: web
|
||
Priority: extra
|
||
Depends: foreman, ${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: all
|
||
Section: web
|
||
Priority: extra
|
||
Depends: foreman, ${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, foreman-compute, ${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, foreman-compute, ${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.
|
debian/trusty/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/trusty/foreman/database.yml | ||
---|---|---|
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/trusty/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/trusty/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/trusty/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/trusty/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/trusty/foreman/docs | ||
---|---|---|
README.md
|
debian/trusty/foreman/email.yaml.example | ||
---|---|---|
# Outgoing email settings
|
||
|
||
production:
|
||
delivery_method: :smtp
|
||
smtp_settings:
|
||
address: smtp.example.com
|
||
port: 25
|
||
domain: example.com
|
||
authentication: :none
|
debian/trusty/foreman/foreman-assets.install | ||
---|---|---|
bundler.d/assets.rb /usr/share/foreman/bundler.d
|
debian/trusty/foreman/foreman-assets.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 --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/trusty/foreman/foreman-compute.install | ||
---|---|---|
bundler.d/fog.rb /usr/share/foreman/bundler.d
|
debian/trusty/foreman/foreman-compute.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 --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/trusty/foreman/foreman-console.install | ||
---|---|---|
bundler.d/console.rb /usr/share/foreman/bundler.d
|
debian/trusty/foreman/foreman-console.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 --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/trusty/foreman/foreman-development.install | ||
---|---|---|
bundler.d/development.rb /usr/share/foreman/bundler.d
|
debian/trusty/foreman/foreman-development.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 --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/trusty/foreman/foreman-gce.install | ||
---|---|---|
bundler.d/gce.rb /usr/share/foreman/bundler.d
|
debian/trusty/foreman/foreman-libvirt.install | ||
---|---|---|
bundler.d/libvirt.rb /usr/share/foreman/bundler.d
|
debian/trusty/foreman/foreman-libvirt.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 --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/trusty/foreman/foreman-mysql2.install | ||
---|---|---|
bundler.d/mysql2.rb /usr/share/foreman/bundler.d
|
||
debian/database.yml.mysql2-example /etc/foreman
|
debian/trusty/foreman/foreman-mysql2.postinst | ||
---|---|---|
#!/bin/sh
|
||
# postinst script for foreman-mysql2
|
||
#
|
||
# 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 --local
|
||
else
|
||
bundle update --local 2>&1 >> $LOGFILE
|
||
fi
|
||
|
||
# Run a db:migrate and db:seed if the user has created a dbfile
|
||
if [ -f /usr/share/foreman/config/database.yml ]; then
|
||
if [ ! -z "${DEBUG}" ]; then
|
||
/usr/sbin/foreman-rake db:migrate || true
|
||
/usr/sbin/foreman-rake db:seed || true
|
||
else
|
||
/usr/sbin/foreman-rake db:migrate >> $LOGFILE 2>&1 || true
|
||
/usr/sbin/foreman-rake db:seed >> $LOGFILE 2>&1 || true
|
||
fi
|
||
fi
|
||
|
||
# Own all the core files
|
||
chown -Rf foreman:foreman '/usr/share/foreman'
|
||
|
||
#DEBHELPER#
|
||
|
||
exit 0
|
debian/trusty/foreman/foreman-ovirt.install | ||
---|---|---|
bundler.d/ovirt.rb /usr/share/foreman/bundler.d
|
debian/trusty/foreman/foreman-ovirt.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 --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/trusty/foreman/foreman-postgresql.install | ||
---|---|---|
bundler.d/postgresql.rb /usr/share/foreman/bundler.d
|
||
debian/database.yml.pgsql-example /etc/foreman
|
debian/trusty/foreman/foreman-postgresql.postinst | ||
---|---|---|
#!/bin/sh
|
||
# postinst script for foreman-pqsql
|
||
#
|
||
# 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 --local
|
||
else
|
||
bundle update --local 2>&1 >> $LOGFILE
|
||
fi
|
||
|
||
# Run a db:migrate and db:seed if the user has created a dbfile
|
||
if [ -f /usr/share/foreman/config/database.yml ]; then
|
||
if [ ! -z "${DEBUG}" ]; then
|
||
/usr/sbin/foreman-rake db:migrate || true
|
||
/usr/sbin/foreman-rake db:seed || true
|
||
else
|
||
/usr/sbin/foreman-rake db:migrate >> $LOGFILE 2>&1 || true
|
||
/usr/sbin/foreman-rake db:seed >> $LOGFILE 2>&1 || true
|
||
fi
|
||
fi
|
||
|
||
# Own all the core files
|
||
chown -Rf foreman:foreman '/usr/share/foreman'
|
||
|
||
#DEBHELPER#
|
||
|
||
exit 0
|
debian/trusty/foreman/foreman-sqlite3.install | ||
---|---|---|
bundler.d/sqlite.rb /usr/share/foreman/bundler.d
|
||
debian/database.yml.sqlite3-example /etc/foreman
|
debian/trusty/foreman/foreman-sqlite3.postinst | ||
---|---|---|
#!/bin/sh
|
||
# postinst script for foreman-sqlite3
|
||
#
|
||
# 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 --local
|
||
else
|
||
bundle update --local 2>&1 >> $LOGFILE
|
||
fi
|
||
|
||
# Run a db:migrate and db:seed if the user has created a dbfile
|
||
if [ -f /usr/share/foreman/config/database.yml ]; then
|
||
if [ ! -z "${DEBUG}" ]; then
|
||
/usr/sbin/foreman-rake db:migrate || true
|
||
/usr/sbin/foreman-rake db:seed || true
|
||
else
|
||
/usr/sbin/foreman-rake db:migrate >> $LOGFILE 2>&1 || true
|
||
/usr/sbin/foreman-rake db:seed >> $LOGFILE 2>&1 || true
|
||
fi
|
||
fi
|
||
|
||
# Own all the core files
|
||
chown -Rf foreman:foreman '/usr/share/foreman'
|
||
|
||
#DEBHELPER#
|
||
|
||
exit 0
|
debian/trusty/foreman/foreman-test.install | ||
---|---|---|
bundler.d/test.rb /usr/share/foreman/bundler.d
|
debian/trusty/foreman/foreman-test.postinst | ||
---|---|---|
#!/bin/sh
|
||
# postinst script for foreman-*
|
||
#
|
||
# see: dh_installdeb(1)
|
||
|
||
if [ ! -z "${DEBUG}" ]; then
|
||
set -x
|
||
else
|
||
set -e
|
||
fi
|
||
|
Also available in: Unified diff
Add specs for Ubuntu 14.04 LTS (aka trusty tahr)