--- orchestra-2.10.orig/debian/ubuntu-orchestra-client.preinst +++ orchestra-2.10/debian/ubuntu-orchestra-client.preinst @@ -0,0 +1,19 @@ +#!/bin/sh -e + +if [ -s /etc/hostname ]; then + # hostname file exists, is not empty, read hostname + hostname=$(cat /etc/hostname) + if ! grep -qs "\W$hostname" /etc/hosts; then + # hostname does not exist in /etc/hosts + if grep -qs "127\.0\.1\.1\W" /etc/hosts; then + # 127.0.1.1 exists, so append to line + sed -i "s/\(127\.0\.1\.1.*\)/\1 $hostname/" /etc/hosts + else + # 127.0.1.1 does not exist, so add entire line + echo "127.0.1.1 $hostname" >> /etc/hosts + fi + fi +fi + +#DEBHELPER# +exit 0 --- orchestra-2.10.orig/debian/ubuntu-orchestra-common.dirs +++ orchestra-2.10/debian/ubuntu-orchestra-common.dirs @@ -0,0 +1 @@ +/var/lib/orchestra --- orchestra-2.10.orig/debian/ubuntu-orchestra-management-server.preinst +++ orchestra-2.10/debian/ubuntu-orchestra-management-server.preinst @@ -0,0 +1,19 @@ +#!/bin/sh -e + +if [ -s /etc/hostname ]; then + # hostname file exists, is not empty, read hostname + hostname=$(cat /etc/hostname) + if ! grep -qs "\W$hostname" /etc/hosts; then + # hostname does not exist in /etc/hosts + if grep -qs "127\.0\.1\.1\W" /etc/hosts; then + # 127.0.1.1 exists, so append to line + sed -i "s/\(127\.0\.1\.1.*\)/\1 $hostname/" /etc/hosts + else + # 127.0.1.1 does not exist, so add entire line + echo "127.0.1.1 $hostname" >> /etc/hosts + fi + fi +fi + +#DEBHELPER# +exit 0 --- orchestra-2.10.orig/debian/ubuntu-orchestra-provisioning-server.config +++ orchestra-2.10/debian/ubuntu-orchestra-provisioning-server.config @@ -0,0 +1,9 @@ +#!/bin/sh -e + +# Only ask this question on new installs and reconfigures +if ([ "$1" = "configure" ] && [ -z "$2" ]) || [ "$1" = "reconfigure" ]; then + . /usr/share/debconf/confmodule + db_input high ubuntu-orchestra-provisioning-server/dnsmasq-enabled || true + db_go +fi +#DEBHELPER# --- orchestra-2.10.orig/debian/ubuntu-orchestra-logging-server.install +++ orchestra-2.10/debian/ubuntu-orchestra-logging-server.install @@ -0,0 +1 @@ +logging-server/* / --- orchestra-2.10.orig/debian/ubuntu-orchestra-provisioning-server.postinst +++ orchestra-2.10/debian/ubuntu-orchestra-provisioning-server.postinst @@ -0,0 +1,115 @@ +#!/bin/sh -e + +# Background an ISO import immediately +run-one orchestra-import-isos &> /dev/null & + +if ([ "$1" = "configure" ] && [ -z "$2" ]) || [ "$1" = "reconfigure" ]; then + user=orchestra + home="/var/lib/$user" + # Add user + if ! getent passwd "$user" > /dev/null 2>&1; then + adduser --system --shell /bin/bash --home "$home" --group "$user" + fi + # Create home + [ -d "$home" ] || mkdir -p "$home" + chown -R $user:$user "$home" + if ! [ -f "$home/.ssh/id_rsa" ]; then + # Generate SSH keys + if [ ! -f "$home/.ssh/id_rsa" ]; then + su "$user" -c "ssh-keygen -N '' -t rsa -f $home/.ssh/id_rsa" + fi + fi + # Only update dnsmasq on new installs and reconfigures + . /usr/share/debconf/confmodule + db_version 2.0 + db_get ubuntu-orchestra-provisioning-server/dnsmasq-enabled || true + if [ "$RET" = "true" ]; then + + # Ask debconf questions + db_input high ubuntu-orchestra-provisioning-server/default-gateway || true + db_go + db_input high ubuntu-orchestra-provisioning-server/dnsmasq-domain-name || true + db_go + + # Setup dnsmasq + sed -i -e "s/^manage_dns:.*$/manage_dns: 1/" \ + -e "s/^manage_dhcp:.*$/manage_dhcp: 1/" /etc/cobbler/settings + sed -i -e "s/^module = manage_bind/module = manage_dnsmasq/" \ + -e "s/^module = manage_isc/module = manage_dnsmasq/" /etc/cobbler/modules.conf + + # Setup Default Gateway + db_get ubuntu-orchestra-provisioning-server/default-gateway || true + ipaddr="$RET" + if [ -n "$ipaddr" ]; then + # If template has $next_server as default gateway, set it to $ipaddr + if grep -qs "^dhcp-option=3,\$next_server$" /etc/cobbler/dnsmasq.template; then + sed -i -e "s/^dhcp-option=3,\$next_server/dhcp-option=3,$ipaddr/" /etc/cobbler/dnsmasq.template + # If template already has an IP as default gateway, change it to $ipaddr + elif grep -qs "^dhcp-option=3,.*..*..*..*$" /etc/cobbler/dnsmasq.template; then + sed -i -e "s/^dhcp-option=3,.*..*..*..*/dhcp-option=3,$ipaddr/" /etc/cobbler/dnsmasq.template + fi + fi + #TODO: If nothing is given should we assume that we should set it back to default? + + # Setup Domain Name + db_get ubuntu-orchestra-provisioning-server/dnsmasq-domain-name || true + domain="$RET" + if [ -n "$domain" ]; then + # if the domain hasn't been set, set it to $domain + if grep -qs "^#domain=.*$" /etc/cobbler/dnsmasq.template; then + sed -i -e "s/^#domain=.*/domain=$domain/" /etc/cobbler/dnsmasq.template + # if the domain has been set, change it to $domain + elif grep -qs "^domain=.*$" /etc/cobbler/dnsmasq.template; then + sed -i -e "s/^domain=.*$/domain=$domain/" /etc/cobbler/dnsmasq.template + fi + fi + + else + # Undo dnsmasq setup + sed -i -e "s/^manage_dns:.*$/manage_dns: 0/" \ + -e "s/^manage_dhcp:.*$/manage_dhcp: 0/" /etc/cobbler/settings + #sed -i -e "s/^module = manage_dnsmasq.*# dns$/module = manage_bind/" \ + # -e "s/^module = manage_dnsmasq.*# dhcp$/module = manage_isc/" /etc/cobbler/modules.conf + + # Undo default gateway setup. If template has an IP addr, change it back to $next_server + if grep -qs "^dhcp-option=3,.*..*..*..*$" /etc/cobbler/dnsmasq.template; then + sed -i -e "s/^dhcp-option=3,.*..*..*..*/dhcp-option=3,\$next_server/" /etc/cobbler/dnsmasq.template + fi + + # Undo domain. + if grep -qs "^domain=.*$" /etc/cobbler/dnsmasq.template; then + sed -i -e "s/^domain=.*$/#domain=/" /etc/cobbler/dnsmasq.template + fi + fi + invoke-rc.d cobbler restart || true + + # symlink the config file + if [ -e /usr/share/orchestra/apache2/conf.d/ensemble-dav.conf -a \ + ! -e /etc/apache2/conf.d/ensemble_webdav.conf ]; then + ln -s /usr/share/orchestra/apache2/conf.d/ensemble-dav.conf /etc/apache2/conf.d/ensemble_webdav.conf + fi + + # Enable and configure webdav + a2enmod dav_fs + a2enmod dav + mkdir -p /var/lib/webdav/formulas + chown -R www-data:www-data /var/lib/webdav/ + # Need to restart apache to pickup web configs + if [ -f /usr/sbin/apache2ctl ]; then + # Do this otherwise will not return from configure step + apache2ctl restart || true + elif [ -f /etc/init.d/apache2 ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d apache2 restart || true + else + /etc/init.d/apache2 restart || true + fi + fi + + # Configure Squid + ln -sf /usr/share/orchestra/conf/squid.conf /etc/squid/squid.conf + invoke-rc.d squid restart +fi + +#DEBHELPER# +exit 0 --- orchestra-2.10.orig/debian/ubuntu-orchestra-provisioning-server.links +++ orchestra-2.10/debian/ubuntu-orchestra-provisioning-server.links @@ -0,0 +1,2 @@ +usr/share/orchestra/conf/apache_orchestra etc/apache2/sites-available/orchestra-provisioning +var/lib/orchestra/kickstarts/ensemble.preseed var/lib/cobbler/kickstarts/ensemble.preseed --- orchestra-2.10.orig/debian/copyright +++ orchestra-2.10/debian/copyright @@ -0,0 +1,41 @@ +This package was debianized by Dustin Kirkland +Wed Jan 12 12:43:20 CST 2011 + +It was downloaded from: http://launchpad.net/orchestra + +Upstream Authors: + Chuck Short + Dave Walker + Dustin Kirkland + Juan Negron + Marc Cluet + +Copyright: + Copyright (C) 2011 Canonical Ltd. + + All rights reserved. + +License: + + Ubuntu Orchestra Services + Copyright (C) 2011 Canonical Ltd. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, version 3 of the + License. + + This program 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +The Ubuntu packaging: + Copyright (C) 2011 Canonical Ltd. + released under the GPL-3. + +On Debian systems, the complete text of the GNU General Public +License, version 3, can be found in /usr/share/common-licenses/GPL-3. --- orchestra-2.10.orig/debian/changelog +++ orchestra-2.10/debian/changelog @@ -0,0 +1,641 @@ +orchestra (2.10-0ubuntu1) oneiric; urgency=low + + * Fix late_command to import client keys (LP: #837541): + - orchestra/utils/keys.py. + - provisioning-server: modify orchestra_rsyslog_client_config snippet; + add orchestra_rsyslog_obtain_keys. + - ensemble.preseed: use orchestra_rsyslog_obtain_keys snippet; + additionally, set password for default user. + * orchestra/utils/keys.py: Encode late command not template. + * Set the default GW if DNS/DHCP is managed by orchestra (LP: #838243): + - debian/ubuntu-orchestra-provisioning-server.postinst: Handle the GW + configuration. Ask debconf question only after DHCP/DNS question is + answered. + - debian/ubuntu-orchestra-provisioning-server.templates: Add debconf + question. + * Set the domain name for DHCP when managed by orchestra (LP: #834172): + - debian/ubuntu-orchestra-provisioning-server.postinst: Add logic to + set/unset hostname. + - debian/ubuntu-orchestra-provisioning-server.templates: Add + dnsmasq-domain-name template. + + -- Andres Rodriguez Thu, 01 Sep 2011 19:59:56 -0400 + +orchestra (2.9-0ubuntu1) oneiric; urgency=low + + * debian/ubuntu-orchestra-provisioning-server.postinst: Re-enable + orchestra-import-isos. + * provisioning-server/usr/share/orchestra/conf/squid.conf: Change + to better settings + + -- Andres Rodriguez Wed, 24 Aug 2011 14:13:16 -0400 + +orchestra (2.8-0ubuntu1) oneiric; urgency=low + + [ Dustin Kirkland ] + * debian/control: LP: #825406 + - recommend ntp on both clients and server; arguably, we could point + orchestra clients at the orchestra server, but if we go that route, + we'd need to ensure we satisfy #104525 + * === added directory client/etc, === added directory + client/etc/sudoers.d, client/etc/sudoers.d/orchestra, debian/ubuntu- + orchestra-client.postinst: + - add the orchestra user to the client, give sudo access to power + management administrative utilities + + [ Andres Rodriguez ] + * debian/ubuntu-orchestra-logging-server.postinst: Fix $home path; + Fix path to certtool cfg file. change ownership of ssl files to + syslog. (LP: #832335) + * debian/ubuntu-orchestra-provisioning-server.postinst: + - Do not comment at end of changed modules settings in + cobbler. (LP: #828288) + - Only create ensemble-dav.conf symlink when necessary. + - Use apache2ctl to restart otherwise it never returns from + configure. (LP: #832331) + * debian/ubuntu-orchestra-provisioning-server.postrm: + - Use apache2ctl to restart otherwise it never returns from purge + step. (LP: #832337) + * Change logging server to use TLS instead (LP: #832341): + - logging-server/etc/rsyslog.d/99-orchestra.conf: Update config file + to use TLS instead. + - logging-server/usr/share/orchestra/rsyslog/orchestra-server.conf: + Update with sample config for TLS. + - debian/control: Depends/Recommends on rsyslog-gnutls. + * debian/ubuntu-orchestra-client.postinst: Correctly set server for + rsyslog and add missing 'fi'. + * client/etc/rsyslog.d/99-orchestra.conf: Add based on file installed in + usr/share. This way it will not "cat" a file on postinst. (LP: #832344) + * orchestra/utils/keys.py: Add util to handle zip and encode key to be + used by rsyslog's cobbler snippet to install keys on client + machine. (LP: #832347) + - debian/{control,rules}: Use dh_python2. + - debian/ubuntu-orchestra-common.install: Add and Install files. + - provisioning-server/var/lib/cobbler/snippets: + + orchestra_rsyslog_client_config: Import orchestra python module. + * Fix some lintian warnings + + -- Andres Rodriguez Tue, 23 Aug 2011 17:03:54 -0400 + +orchestra (2.7-0ubuntu1) oneiric; urgency=low + + * Move installation and configuration of webdav for ensemble to the + provisioning server. + - debian/ubuntu-orchestra-management-server.{postinst,postrm}: remove + * provisioning-server/var/lib/ + - cobbler/snippets/orchestra_rsyslog_client_config: Add rsyslog + client config to set the syslog server automatically. + - orchestra/kickstarts/ensemble.preseed: Load above snippet + + -- Andres Rodriguez Fri, 12 Aug 2011 15:01:17 -0400 + +orchestra (2.6-0ubuntu1) oneiric; urgency=low + + [ Andres Rodriguez ] + + [ Dustin Kirkland ] + * debian/control, debian/ubuntu-orchestra-logging-server.postinst, + debian/ubuntu-orchestra-provisioning-server.postinst, logging- + server/usr/share/orchestra/rsyslog/certtool.cfg: + - re-add ssl/ssh key generation + + -- Dustin Kirkland Thu, 11 Aug 2011 16:52:40 -0500 + +orchestra (2.5-0ubuntu1) oneiric; urgency=low + + * debian/control: + - ubuntu-orchestra-client Depends on python-software-properties. + - remove Depends on ensemble. + * provisioning-server/var/lib/orchestra/kickstarts/ensemble.preseed: + - Install ubuntu-orchestra-client instead of manually specifying packages. + * provisioning-server/usr/share/orchestra/examples/ensemble/environments.yaml + - Install sample ensemble environments.yaml file for orchestra. + * Remove dotdee: + - debian/control: Drop Depends on dotdee. + - management-server/etc: Removed. + * debian/ubuntu-orchestra-provisioning-server.templates: Change template + name to dnsmasq-enabled + + -- Andres Rodriguez Thu, 11 Aug 2011 15:30:08 -0400 + +orchestra (2.4-0ubuntu1) oneiric; urgency=low + + [ Andres Rodriguez ] + * Remove puppet dotdee config, orchestra pupppet.conf.d/ files, manifests, + and cloud-init stuff. + * debian/ + - control: Drop Recommends on ubuntu-orchestra-modules, Recommends on + dnsmasq. + - ubuntu-orchestra-provisioning-server.links: Symlink ensemble preseed + into cobbler kickstarts path. + * provisioning-server/usr/sbing/orchestra-import-isos, + provisioning-server/etc/orchestra/import_isos: + - Add logic to create ensemble sub-profile and add ksopts. + + [ Dustin Kirkland ] + * debian/control, provisioning-server/etc/orchestra/import_isos, + provisioning-server/usr/sbin/orchestra-import-isos: + - the common logic for importing iso's have been moved over to the + cobbler-ubuntu-import tool in cobbler + * debian/control, debian/ubuntu-orchestra-management-server.postinst, + debian/ubuntu-orchestra-provisioning-server.postinst: + - fix the squid configuration, move it to provisioning server + * debian/ubuntu-orchestra-management-server.postinst: + - debconf not needed here + * provisioning-server/usr/sbin/orchestra-import-isos: + - remove unneeded imports and profile additions + + -- Andres Rodriguez Thu, 11 Aug 2011 14:05:20 -0400 + +orchestra (2.3-0ubuntu1) oneiric; urgency=low + + [ Juan L. Negron ] + * debian/control: + - Added facter and facter-customfacts-plugin dependencies. + (LP: #814042). + + [ Dustin Kirkland ] + * debian/control: + - And then removed facter dependencies, LP: #821608 + * debian/ubuntu-orchestra-client.postinst, debian/ubuntu-orchestra- + management-server.config, debian/ubuntu-orchestra-management- + server.postinst, debian/ubuntu-orchestra-management-server.postrm, + debian/ubuntu-orchestra-management-server.templates, debian/ubuntu- + orchestra-management-server.upstart, debian/ubuntu-orchestra- + provisioning-server.postinst: + - deprecate some puppet and fact specific code + * debian/ubuntu-orchestra-provisioning-server.config, debian/ubuntu- + orchestra-provisioning-server.postinst, debian/ubuntu-orchestra- + provisioning-server.templates: + - add dnsmasq debconf/configuration + * debian/control, debian/ubuntu-orchestra-management-server.postinst, + debian/ubuntu-orchestra-provisioning-server.preinst, provisioning- + server/usr/share/man/man8/orchestra-import-isos.8, provisioning- + server/usr/share/orchestra/conf/squid.conf, provisioning- + server/var/lib/cobbler/snippets/orchestra_proxy, provisioning- + server/var/lib/orchestra/kickstarts/ensemble.preseed, provisioning- + server/var/lib/orchestra/kickstarts/ubuntu-natty-x86_64.seed: + - replace squid-deb-proxy with just basic squid, configured to + our needs (s-d-q turned out to be fragile quite often) + * provisioning-server/usr/sbin/orchestra-import-isos: + - avoid errors overwriting existing distros + - set mem to 512MB, disk to 40G + + [ Andres Rodriguez and Dustin Kirkland ] + * debian/ubuntu-orchestra-management-server.postinst: + - enable/config webdav + * === added directory management-server/etc/apache2, === added + directory management-server/etc/apache2/conf.d, management- + server/etc/apache2/conf.d/dav.conf, management- + server/etc/apache2/conf.d/ensemble-dav.conf, provisioning- + server/var/lib/cobbler/snippets/orchestra_disable_pxe, provisioning- + server/var/lib/cobbler/snippets/orchestra_ensemble_late_command, + provisioning-server/var/lib/orchestra/kickstarts/ensemble.preseed: + - ensemble preseed and webdav configuration files + + -- Dustin Kirkland Wed, 10 Aug 2011 14:29:20 -0500 + +orchestra (2.1-0ubuntu1) oneiric; urgency=low + + * debian/control, provisioning-server/etc/orchestra/ubuntu-orchestra- + client.preseed: + - move the packages needed in the client to the client meta package + * docs/build.sh, docs/buildtool/Apache.xml, + docs/buildtool/buildtool.xml, docs/buildtool/Capistrano.xml, + docs/buildtool/DistCC.xml, docs/buildtool/Gearman.xml, + docs/buildtool/GlusterFS.xml, docs/buildtool/Hadoop.xml, + docs/buildtool/HAProxy.xml, docs/buildtool/Introduction.xml, + docs/buildtool/MongoDB.xml, docs/buildtool/MPI.xml, + docs/buildtool/MySQLEBS.xml, docs/buildtool/Provisioner.xml, + docs/buildtool/Recipes.xml, docs/buildtool/Roles.xml, + docs/buildtool/Tomcat.xml, docs/buildtool/Workload.xml, + docs/libs/admon/caution.png, docs/libs/admon/important.png, + docs/libs/admon/note.png, docs/libs/admon/tip.png, + docs/libs/admon/warning.png, docs/libs/authors/edubuntu- + documentation-project.xml, docs/libs/authors/ubuntu-documentation- + project.xml, docs/libs/callouts/10.png, docs/libs/callouts/1.png, + docs/libs/callouts/2.png, docs/libs/callouts/3.png, + docs/libs/callouts/4.png, docs/libs/callouts/5.png, + docs/libs/callouts/6.png, docs/libs/callouts/7.png, + docs/libs/callouts/8.png, docs/libs/callouts/9.png, + docs/libs/C/ccbysa.xml, docs/libs/C/contributors.xml, + docs/libs/C/legalnotice.xml, docs/libs/draft-watermark- + customisation.xsl, docs/libs/fo-cust.xsl, docs/libs/global.ent, + docs/libs/gnome-menus-C.ent, docs/libs/img/applications-office.svg, + docs/libs/img/bg-content.png, docs/libs/img/bg-page.png, + docs/libs/img/cap-bottom.png, docs/libs/img/cap-top.png, + docs/libs/img/dialog-password.png, docs/libs/img/distributor- + logo.svg, docs/libs/img/empathy.png, docs/libs/img/evolution.svg, + docs/libs/img/firefox-3.5.png, docs/libs/img/f-spot.png, + docs/libs/img/gnome-apt.svg, docs/libs/img/gnome-help.svg, + docs/libs/img/gnome-netstatus-disconn.svg, docs/libs/img/gnome- + volume-control.svg, docs/libs/img/headerlogo.png, + docs/libs/img/header.png, docs/libs/img/help-about.png, + docs/libs/img/network-wired.svg, docs/libs/img/network-wireless.svg, + docs/libs/img/rhythmbox.png, docs/libs/img/tab_off_ns1.png, + docs/libs/img/tab_off_ns2.png, docs/libs/img/tab_on_ns1.png, + docs/libs/img/tab_on_ns2.png, docs/libs/img/ubuntuheader.png, + docs/libs/img/ubuntuone-client.png, docs/libs/img/u-header.png, + docs/libs/img/update-manager.svg, docs/libs/index.css, + docs/libs/navig/home.png, docs/libs/navig/next.png, + docs/libs/navig/prev.png, docs/libs/navig/toc-blank.png, + docs/libs/navig/toc-minus.png, docs/libs/navig/toc-plus.png, + docs/libs/navig/up.png, docs/libs/shipped-docs, docs/libs/ubuntu- + banner.xsl, docs/libs/ubuntu-book.css, docs/libs/ubuntu.css, + docs/libs/ubuntu-html-chunk-cust.xsl, docs/libs/ubuntu-html-single- + cust.xsl, docs/libs/ubuntu-installguide-html-chunk-cust.xsl, + docs/libs/ubuntu-pdf.xsl, docs/libs/udp-pdf.xsl, + docs/libs/writeOwnerStatus.xsl, docs/libs/xinclude.mod, docs/README, + === removed directory docs/buildtool, === removed directory + docs/libs, === removed directory docs/libs/admon, === removed + directory docs/libs/authors, === removed directory docs/libs/C, === + removed directory docs/libs/callouts, === removed directory + docs/libs/img, === removed directory docs/libs/navig: + - removed all of this documentation from trunk + - it is now available in lp:orchestra/1.x where it's actually + pertinent + + -- Dustin Kirkland Fri, 15 Jul 2011 14:26:32 -0500 + +orchestra (2.0-0ubuntu1) oneiric; urgency=low + + * debian/control: + - migrating from the config management approach to the service + orchestration approach of Orchestra + + -- Dustin Kirkland Thu, 30 Jun 2011 16:06:23 +0000 + +orchestra (1.10-0ubuntu1) oneiric; urgency=low + + * debian/ubuntu-orchestra-provisioning-server.preinst: + - fix invalid debconf values, LP: #803461 + + -- Dustin Kirkland Thu, 30 Jun 2011 15:38:41 +0000 + +orchestra (1.9-0ubuntu1) oneiric; urgency=low + + [ Dustin Kirkland ] + * debian/ubuntu-orchestra-provisioning-server.postinst: + - background an ISO import at postinst + * provisioning-server/etc/orchestra/import_isos: + - import all supported Ubuntu isos + * provisioning-server/etc/orchestra/ubuntu-server.preseed => + provisioning-server/etc/orchestra/ubuntu-orchestra-client.preseed, + === removed symlink provisioning- + server/var/lib/cobbler/kickstarts/ubuntu-server.preseed, === target + was u../../../../etc/orchestra/ubuntu-server.preseed: + - add a default preseed as a config file, such that admins can modify + locally + - this file should probably be managed by dotdee + + -- Dustin Kirkland Wed, 29 Jun 2011 12:50:41 +0000 + +orchestra (1.8-0ubuntu1) oneiric; urgency=low + + [ Marc Cluet ] + * debian/control + - Removed predepend packages for monitoring and management server + * Readded preinst for management server + + -- Dustin Kirkland Tue, 28 Jun 2011 00:28:09 +0000 + +orchestra (1.7-0ubuntu1) oneiric; urgency=low + + [ Marc Cluet ] + * Created predepend packages for monitoring and management server + - Moved preinst scripts to predepend packages + * Modified fact population in provisioner to use fact-add + * Added install of mcollective nrpe plugins on orchestra-common + + -- Dustin Kirkland Mon, 27 Jun 2011 11:31:51 +0000 + +orchestra (1.6-0ubuntu1) oneiric; urgency=low + + [ Dustin Kirkland ] + * debian/ubuntu-orchestra-management-server.postinst: + - fix syntax error + + -- Juan L. Negron Wed, 08 Jun 2011 21:43:39 -0700 + +orchestra (1.5-0ubuntu1) oneiric; urgency=low + + [ Dustin Kirkland ] + * debian/ubuntu-orchestra-management-server.postinst, management- + server/etc/dotdee/etc/puppet/manifests/node.pp.d/10-header, + management-server/etc/dotdee/etc/puppet/manifests/site.pp.d/10- + header: + - use dotdee's comment character support to add the header + * debian/control, provisioning-server/etc/cron.d/orchestra-import- + isos: + - use run-one for the import iso cronjob + * debian/control: + - orchestra client recommends powernap, for automatic power management + - management server recommends modules + + [ Juan L. Negron ] + * debian/ubuntu-orchestra-management-server.postrm: + - undo the dotdee config management on remove + * management-server/etc/puppet/manifests/node.pp, management- + server/etc/puppet/manifests/site.pp: + * debian/ubuntu-orchestra-management-server.postinst, management- + server/etc/puppet/manifests/node.pp, management- + server/etc/puppet/manifests/site.pp: + - empty config files should be done in postinst so dotdee and + dpkg play nice. + * debian/ubuntu-orchestra-management-server.postinst: + - Fixed syntax error. + * debian/ubuntu-orchestra-management-server.postinst, management- + server/etc/puppet/manifests/site.pp, === renamed directory + management-server/etc/dotdee/etc/puppet/manifests/site.pp.d => + management-server/etc/dotdee/etc/puppet/manifests/modules.pp.d: + - Due to puppet bug 650, restructuring config files + * management-server/etc/puppet/manifests/site.pp => management- + server/etc/puppet/manifests/modules.pp: + * debian/ubuntu-orchestra-management-server.postinst: + - Creating the file to satisfy dotdee. + * management-server/etc/dotdee/etc/puppet/manifests/modules.pp.d/10- + header, management- + server/etc/dotdee/etc/puppet/manifests/modules.pp.d/90-footer: + - removing config files no longer needed + + -- Dustin Kirkland Wed, 08 Jun 2011 15:26:38 -0400 + +orchestra (1.5-0ubuntu1) oneiric; urgency=low + + [ Dustin Kirkland ] + * debian/ubuntu-orchestra-management-server.postinst, management- + server/etc/dotdee/etc/puppet/manifests/node.pp.d/10-header, + management-server/etc/dotdee/etc/puppet/manifests/site.pp.d/10- + header: + - use dotdee's comment character support to add the header + * debian/control, provisioning-server/etc/cron.d/orchestra-import- + isos: + - use run-one for the import iso cronjob + * debian/control: + - orchestra client recommends powernap, for automatic power management + - management server recommends modules + + [ Juan L. Negron ] + * debian/ubuntu-orchestra-management-server.postrm: + - undo the dotdee config management on remove + * management-server/etc/puppet/manifests/node.pp, management- + server/etc/puppet/manifests/site.pp: + * debian/ubuntu-orchestra-management-server.postinst, management- + server/etc/puppet/manifests/node.pp, management- + server/etc/puppet/manifests/site.pp: + - empty config files should be done in postinst so dotdee and + dpkg play nice. + * debian/ubuntu-orchestra-management-server.postinst: + - Fixed syntax error. + * debian/ubuntu-orchestra-management-server.postinst, management- + server/etc/puppet/manifests/site.pp, === renamed directory + management-server/etc/dotdee/etc/puppet/manifests/site.pp.d => + management-server/etc/dotdee/etc/puppet/manifests/modules.pp.d: + - Due to puppet bug 650, restructuring config files + * management-server/etc/puppet/manifests/site.pp => management- + server/etc/puppet/manifests/modules.pp: + * debian/ubuntu-orchestra-management-server.postinst: + - Creating the file to satisfy dotdee. + * management-server/etc/dotdee/etc/puppet/manifests/modules.pp.d/10- + header, management- + server/etc/dotdee/etc/puppet/manifests/modules.pp.d/90-footer: + - removing config files no longer needed + + -- Juan L. Negron Mon, 06 Jun 2011 15:52:51 -0700 + +orchestra (1.4-0ubuntu1) oneiric; urgency=low + + * debian/ubuntu-orchestra-management-server.postinst: + - actually, use --defaults-extra-file instead, per docs + + -- Dustin Kirkland Fri, 27 May 2011 16:50:59 -0500 + +orchestra (1.4-0ubuntu1~natty19) natty; urgency=low + + * Development build + + -- Juan L. Negron Wed, 08 Jun 2011 12:04:18 -0700 + +orchestra (1.4-0ubuntu1~natty18) natty; urgency=low + + * Development build + + -- Juan L. Negron Mon, 06 Jun 2011 15:55:47 -0700 + +orchestra (1.4-0ubuntu1~natty17) natty; urgency=low + + * Development build + + -- Juan L. Negron Mon, 06 Jun 2011 14:56:34 -0700 + +orchestra (1.4-0ubuntu1~natty16) natty; urgency=low + + * Development build + + -- Juan L. Negron Mon, 06 Jun 2011 14:03:58 -0700 + +orchestra (1.4-0ubuntu1~natty15) natty; urgency=low + + * Development build. + + -- Juan L. Negron Mon, 06 Jun 2011 09:54:32 -0700 + +orchestra (1.3-0ubuntu1) oneiric; urgency=low + + * debian/ubuntu-orchestra-management-server.postinst: + - fix security issue + - we should NOT pass passwords on the command line, as these are + visible in ps output + - instead: + + use debian.cnf for user/password info + + use dash's builtin echo for piping the puppet password to mysql + on stdin + + -- Dustin Kirkland Fri, 27 May 2011 16:42:25 -0500 + +orchestra (1.2-0ubuntu1) oneiric; urgency=low + + [ Juan L. Negron ] + * debian/ubuntu-orchestra-management-server.config, debian/ubuntu- + orchestra-management-server.postinst, debian/ubuntu-orchestra- + management-server.postrm, debian/ubuntu-orchestra-management- + server.templates: + - Removed puppetmaster configuration from orchestra-puppet-recipes + and added it to ubuntu-orchestra-management-server. + * Rebuilding new packages + * debian/ubuntu-orchestra-management-server.postinst, debian/ubuntu- + orchestra-management-server.postrm, debian/ubuntu-orchestra- + management-server.templates: + - Fixed lintian issues + * : Rebuilding orchestra packages after fixing lintian issues + + -- Dustin Kirkland Fri, 27 May 2011 10:11:33 -0500 + +orchestra (1.1-0ubuntu1) oneiric; urgency=low + + [ Dustin Kirkland ] + * === added directory debian, === added directory debian/source, + COPYING, debian/compat, debian/control, debian/copyright, + debian/rules, debian/source/format: initial packaging + * debian/control: + - have client recommend squid-deb-proxy-client + * debian/control: + - updated packaging to include the sitoolchain work + * debian/control, debian/ubuntu-orchestra-common.dirs, debian/ubuntu- + orchestra-common.postinst: + - add orchestra user, create ssh-keys, depend on tools needed + * debian/control, debian/ubuntu-orchestra-common.postinst: + - make sure user's homedir is there + * debian/control, debian/ubuntu-orchestra-common.links, debian/ubuntu- + orchestra-common.postinst: + - generate ssl certs, link them into /etc, make the ssh public key + visible by other users (such as cobbler) + * debian/control: + - comment out mcollective plugins that don't yet build in this ppa + * debian/ubuntu-orchestra-common.postinst => debian/ubuntu-orchestra- + provisioning-server.postinst: + - move the user generation from common to provisioning + * debian/ubuntu-orchestra-provisioning-server.install, debian/ubuntu- + orchestra-provisioning-server.postinst, debian/ubuntu-orchestra- + provisioning-server.links: + - install provisioning server files + - enable site, and rewrite module + * debian/ubuntu-orchestra-management-server.install, debian/ubuntu- + orchestra-provisioning-server.install: + - install management server files + * provisioning-server/usr/bin/orchestra-cobbler-profiles => + provisioning-server/usr/sbin/orchestra-import-isos, === renamed + directory provisioning-server/usr/bin => provisioning- + server/usr/sbin: + - update Marc's iso importer, move to sbin, rework a bit + * provisioning-server/usr/sbin/orchestra-import-isos: + - get this working with cobbler + * debian/ubuntu-orchestra-common.links, debian/ubuntu-orchestra- + provisioning-server.postinst: + - hard link the public key + - fix ownerships of the SSL private key + * debian/copyright: + - added Juan + Marc to copyright file + * debian/control: + - adjust control for + a) config management mode, and + b) service orchestration mode + - fix lintian warnings about articles in description + * debian/ubuntu-orchestra-monitoring-server.install: + - drop for now; nagios coming soon! + * debian/control, debian/ubuntu-orchestra-client.preinst, + debian/ubuntu-orchestra-management-server.preinst, debian/ubuntu- + orchestra-provisioning-server.preinst: + - fix lintian errors, add debhelper tokens and misc depends + * === added directory debian/po, debian/control, + debian/po/POTFILES.in, debian/po/templates.pot, debian/rules, + debian/ubuntu-orchestra-client.templates: + - make the debconf stuff translatable, fix lintian errors + * debian/ubuntu-orchestra-client.postinst, debian/ubuntu-orchestra- + provisioning-server.preinst: + - drop full paths to common utilities + * debian/ubuntu-orchestra-client.templates: + - fix linitian issues with the debconf text + * debian/control, debian/ubuntu-orchestra-monitoring-server.postinst: + - clean up some of the empty package lintian warnings + * debian/ubuntu-orchestra-client.postinst, debian/ubuntu-orchestra- + client.preinst, debian/ubuntu-orchestra-client.templates, + debian/ubuntu-orchestra-logging-server.postinst, debian/ubuntu- + orchestra-management-server.preinst, debian/ubuntu-orchestra- + provisioning-server.preinst: + - don't ignore pre/post inst errors, fix verbiage + * debian/control, debian/ubuntu-orchestra-client.postinst: + - fix lintian error about python depends, fix bashism + * === added directory provisioning-server/usr/share/man, === added + directory provisioning-server/usr/share/man/man8, provisioning- + server/usr/share/man/man8/orchestra-generate-cloud-init.8, + provisioning-server/usr/share/man/man8/orchestra-import-isos.8: + - add manpage documentation for provisioning utilities + * debian/control: note the empty meta pacakges + + [ Juan L. Negron ] + * Updating version and rebuilding packages + * debian/ubuntu-orchestra-management-server.upstart: + - fix RegEx for default puppetmaster configuration + * debian/ubuntu-orchestra-management-server.upstart: + - restart puppetmaster after reconfiguring + * debian/ubuntu-orchestra-management-server.upstart: + - puppetmaster is not an upstart job + * debian/ubuntu-orchestra-management-server.upstart: + - change permissions on puppetmaster configuration + * debian/ubuntu-orchestra-management-server.upstart: + - modified puppetmaster to usr the config file and + not a link. + * debian/ubuntu-orchestra-provisioning-server.postinst: + - Create the provisioner role + * management-server/etc/orchestra/puppet/puppet.conf.d/02_certname: + - Adding default certname + * Added ubuntu-orchestra-client postinst + * Modified control to reflect more dependencies on ubuntu-orchestra-common + * Created postinst for ubuntu-orchestra-client + * Modified user-data template to reflect changes + * debian/control: + - Fixed syntax error in control file + * Rebuilding package + * debian/control: + - Modifying monitoring server to recommend collectd. + * Rebuilding package + * Modified preinst scripts + * Modified postinst for orchestra-client and provisioning-server + * Fixed install scripts for orchestra-client and monitoring-server + * Rebuilding packages + * Updating version and rebuilding + + [ Marc Cluet ] + * Created new ubuntu-orchestra-logging server package + - Moved rsyslog dependencies from monitoring to logging + * Added debconf preseed on provisioning server preinst + * Modified postinst for orchestra-client and provisioning-server + * Fixed install scripts for orchestra-client and monitoring-server + * Added rsyslog integration (client and server) + * Added ubuntu-orchestra-monitoring-server + * Modified preinst templates for hostname discovery + * Added monitoring.ipaddress parameter on provisioning.conf + * Added preinst host sanity check to handle hostname resolvableness issues in + - ubuntu-orchestra-client + - ubuntu-orchestra-management-server + - ubuntu-orchestra-provisioning-server + * Fixed problem with just commenting collectd, removed lines + * Changed restart order on provisioner server postinst for + squid-deb-proxy + - Added ubuntu-orchestra-provisioning-server.postinst + - This deals with squid-deb-proxy server configuration + - Removed dependency on collectd on client + - Filled bug LP: #773420 to readd once properly configured + - Modified ubuntu-orchestra-client dependencies + - Added dependency for mcollective-plugins-provisioner + * Added ubuntu-orchestra-client postinst + * Modified control to reflect more dependencies on ubuntu-orchestra-common + * Created postinst for ubuntu-orchestra-client + * Modified user-data template to reflect changes + * Fixing cloud-init templates + * Removed puppetca mcollective plugins from client template + * Added runcmd in puppetdata to force certname on client + * cloud-init user-data.tpl + * Added runcmd commands to add initial facts + * Fixed /var/lib/orchestra/cloud-init/user-data.tpl + - Now it won't try to install mcollective-middleware + * Added new script orchestra-generate-cloud-init + * Renamed cloud-init templates in /usr/share/orchestra/cloud-init + * Created default cloud-init template in /var/lib/orchestra/cloud-init + * Fixed apache config for cloud-init service + * Added user-data binary + * Moved /etc/orchestra.conf.d to /etc/orchestra/conf.d + - Modified meta-data.py to reflect change + * Created /etc/orchestra/import_isos + - Modified /usr/sbin/orchestra-import-isos to reflect change + * Added apache2 meta-data configuration + * Added meta-data.py for meta-data generation + - Added provisioning.conf for provisioning-server + - debian/control + - Added mcollective-server-provisioner and mcollective-client as + dependencies for provisioner + - provisioning-server/usr/share/orchestra/cloud-init/orchestra-management-server.txt + - Removed dependency from management server + + -- Dustin Kirkland Wed, 25 May 2011 11:51:35 -0500 --- orchestra-2.10.orig/debian/ubuntu-orchestra-client.config +++ orchestra-2.10/debian/ubuntu-orchestra-client.config @@ -0,0 +1,6 @@ +#!/bin/sh -e +# A simplified version of debconf's own config script. +. /usr/share/debconf/confmodule +# Ask for the rsyslog host +db_input critical ubuntu-orchestra-client/rsyslog_host || true +db_go --- orchestra-2.10.orig/debian/ubuntu-orchestra-provisioning-server.templates +++ orchestra-2.10/debian/ubuntu-orchestra-provisioning-server.templates @@ -0,0 +1,23 @@ +Template: ubuntu-orchestra-provisioning-server/dnsmasq-enabled +Type: boolean +Default: true +_Description: Enable Orchestra managed DNS/DHCP: + Ubuntu Orchestra Provisioning Server can manage address and name + allocation for provisioned systems. If you manage your DNS and + DHCP elsewhere, you should disable this option. + +Template: ubuntu-orchestra-provisioning-server/default-gateway +Type: string +_Description: Set default Gateway for DHCP Clients: + Ubuntu Orchestra Provisioning Server manages DHCP for address + allocation for the provisioned systems. If the Provisioning + Server is NOT the default Gateway for the provisioned systems, + you should set the default Gateway here, otherwise leave this + blank. + +Template: ubuntu-orchestra-provisioning-server/dnsmasq-domain-name +Type: string +_Description: Set the domain name for DHCP Clients: + Ubuntu Orchestra Provisioning Server manages DHCP for address + allocation for the provisioned systems. If these systems are + required to be under a domain, you should enter it here. --- orchestra-2.10.orig/debian/ubuntu-orchestra-provisioning-server.install +++ orchestra-2.10/debian/ubuntu-orchestra-provisioning-server.install @@ -0,0 +1 @@ +provisioning-server/* / --- orchestra-2.10.orig/debian/ubuntu-orchestra-management-server.install +++ orchestra-2.10/debian/ubuntu-orchestra-management-server.install @@ -0,0 +1 @@ +management-server/* / --- orchestra-2.10.orig/debian/ubuntu-orchestra-common.links +++ orchestra-2.10/debian/ubuntu-orchestra-common.links @@ -0,0 +1,2 @@ +var/lib/orchestra/ssl-cert-orchestra.pem etc/ssl/certs/ssl-cert-orchestra.pem +var/lib/orchestra/ssl-cert-orchestra-pk.pem etc/ssl/private/ssl-cert-orchestra-pk.pem --- orchestra-2.10.orig/debian/ubuntu-orchestra-provisioning-server.postrm +++ orchestra-2.10/debian/ubuntu-orchestra-provisioning-server.postrm @@ -0,0 +1,24 @@ +#!/bin/sh -e + +if [ "$1" = "purge" ] ; then + + # Remove Ensemble storage configuration + rm -f /etc/apache2/conf.d/ensemble_webdav.conf + rm -rf /var/lib/webdav/formulas + + # Need to restart apache to pickup web configs + if [ -f /usr/sbin/apache2ctl ]; then + # Do this otherwise will not return from configure step + apache2ctl restart || true + elif [ -f /etc/init.d/apache2 ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d apache2 restart || true + else + /etc/init.d/apache2 restart || true + fi + fi + +fi + +#DEBHELPER# +exit 0 --- orchestra-2.10.orig/debian/ubuntu-orchestra-logging-server.postinst +++ orchestra-2.10/debian/ubuntu-orchestra-logging-server.postinst @@ -0,0 +1,38 @@ +#!/bin/sh -e + +case "$1" in + configure) + # Generate SSL certificates + if [ ! -d "/var/lib/orchestra/.ssl" ]; then + user=orchestra + home="/var/lib/$user" + mkdir -m 755 -p "$home" + mkdir -m 700 -p "$home/.ssl" + cert="ssl-cert-orchestra.pem" + pk="ssl-cert-orchestra-pk.pem" + ca="ssl-cert-orchestra-ca.pem" + openssl req -new -nodes -x509 -out "$home/.ssl/$cert" -keyout "$home/.ssl/$pk" -days 3650 -subj "/C=US/ST=TX/L=Austin/CN=localhost/emailAddress=root@localhost" + certtool --generate-certificate --generate-self-signed --load-privkey "$home/.ssl/$pk" --outfile "$home/$ca" --template /usr/share/orchestra/rsyslog/certtool.cfg + chown -R syslog:syslog "$home/.ssl" "$home/$ca" + fi + # Change dir permissions + chown syslog:syslog /var/log/orchestra + # Make sure rsyslog reads our config + invoke-rc.d rsyslog restart + ;; + + abort-upgrade|abort-remove|abort-deconfigure|triggered) + ;; + + *) + 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 --- orchestra-2.10.orig/debian/ubuntu-orchestra-logging-server.dirs +++ orchestra-2.10/debian/ubuntu-orchestra-logging-server.dirs @@ -0,0 +1 @@ +/var/log/orchestra --- orchestra-2.10.orig/debian/ubuntu-orchestra-client.templates +++ orchestra-2.10/debian/ubuntu-orchestra-client.templates @@ -0,0 +1,8 @@ +Template: ubuntu-orchestra-client/rsyslog_host +Type: string +_Description: Hostname or IP address of the rsyslog server: + Ubuntu Orchestra collects all logs into a central syslog for + management and statistics, this host is the same one that is + used for monitoring where the ubuntu-orchestra-monitoring-server + gathers this data. + --- orchestra-2.10.orig/debian/ubuntu-orchestra-common.install +++ orchestra-2.10/debian/ubuntu-orchestra-common.install @@ -0,0 +1 @@ +orchestra /usr/share/pyshared --- orchestra-2.10.orig/debian/ubuntu-orchestra-client.install +++ orchestra-2.10/debian/ubuntu-orchestra-client.install @@ -0,0 +1 @@ +client/* / --- orchestra-2.10.orig/debian/rules +++ orchestra-2.10/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +%: + dh $@ --with python2 --- orchestra-2.10.orig/debian/ubuntu-orchestra-provisioning-server.preinst +++ orchestra-2.10/debian/ubuntu-orchestra-provisioning-server.preinst @@ -0,0 +1,19 @@ +#!/bin/sh -e + +if [ -s /etc/hostname ]; then + # hostname file exists, is not empty, read hostname + hostname=$(cat /etc/hostname) + if ! grep -qs "\W$hostname" /etc/hosts; then + # hostname does not exist in /etc/hosts + if grep -qs "127\.0\.1\.1\W" /etc/hosts; then + # 127.0.1.1 exists, so append to line + sed -i "s/\(127\.0\.1\.1.*\)/\1 $hostname/" /etc/hosts + else + # 127.0.1.1 does not exist, so add entire line + echo "127.0.1.1 $hostname" >> /etc/hosts + fi + fi +fi + +#DEBHELPER# +exit 0 --- orchestra-2.10.orig/debian/control +++ orchestra-2.10/debian/control @@ -0,0 +1,119 @@ +Source: orchestra +Section: admin +Priority: optional +Maintainer: Ubuntu Server Team +Standards-Version: 3.9.1 +Build-Depends: debhelper (>= 7), po-debconf, python (>= 2.6.6-3~) +Homepage: http://launchpad.net/orchestra +X-Python-Version: >= 2.6 +Vcs-Bzr: http://bazaar.launchpad.net/~orchestra/orchestra/trunk + +Package: ubuntu-orchestra-common +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends}, + adduser, + openssh-client, + openssl, + gnutls-bin +Recommends: + ntp +Suggests: + po-debconf +Description: Ubuntu Orchestra common files + This package provides the common files used by the Ubuntu Orchestra + Services suite. + +Package: ubuntu-orchestra-server +Architecture: all +Depends: ${misc:Depends}, + ubuntu-orchestra-common +Recommends: + ubuntu-orchestra-provisioning-server, + ubuntu-orchestra-management-server, + ubuntu-orchestra-monitoring-server, + ubuntu-orchestra-logging-server +Description: Ubuntu Orchestra Services suite + This virtual package installs the dependencies necessary to provision, + manage, and monitor an Ubuntu-based data center. + . + It also includes some configuration necessary to make this work well + out of the box. + +Package: ubuntu-orchestra-client +Architecture: all +Depends: ${misc:Depends}, + byobu, + capistrano, + cloud-init, + openssh-server, + ubuntu-orchestra-common, + python-software-properties, + vim +Recommends: + nagios-nrpe-server, + powernap, + rsyslog, + rsyslog-gnutls +Description: Ubuntu Orchestra Client + This package installs the dependencies necessary on a client system + in order to be managed by the Ubuntu Orchestra Management Server. + . + It also includes some configuration necessary to make this work well + out of the box. + +Package: ubuntu-orchestra-logging-server +Architecture: all +Depends: ${misc:Depends}, + rsyslog, + rsyslog-gnutls, + ubuntu-orchestra-common +Description: Ubuntu Orchestra Logging Server + This package installs the dependencies necessary to log events in + an Ubuntu data center. + . + It also includes some configuration necessary to make this work well + out of the box. + +Package: ubuntu-orchestra-monitoring-server +Architecture: all +Depends: ${misc:Depends}, + nagios-statd-server, + ubuntu-orchestra-common +Recommends: nagios3-cgi, + nagios-nrpe-server +Description: Ubuntu Orchestra Monitoring Server + This virtual package installs the dependencies necessary to monitor an + Ubuntu data center. + . + It also includes some configuration necessary to make this work well + out of the box. + +Package: ubuntu-orchestra-provisioning-server +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, + cobbler, + distro-info, + run-one, + squid, + ubuntu-orchestra-common, +Recommends: dnsmasq +Description: Ubuntu Orchestra Provisioning Services suite + This package installs the dependencies necessary to provision Ubuntu + systems over the network. + . + It also includes some configuration necessary to make this work well + out of the box. + +Package: ubuntu-orchestra-management-server +Architecture: all +Depends: ${misc:Depends}, +#ensemble-provision-agent, + ubuntu-orchestra-common +Description: Ubuntu Orchestra Configuration Management Server + This package installs the dependencies necessary to comprehensively + manage and orchestrate Ubuntu data center using an Service Orchestration + framework. + . + It also includes some configuration necessary to make this work well + out of the box. --- orchestra-2.10.orig/debian/ubuntu-orchestra-client.postinst +++ orchestra-2.10/debian/ubuntu-orchestra-client.postinst @@ -0,0 +1,69 @@ +#!/bin/sh -e +# postinst script for orchestra-client +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# A simplified version of debconf's own config script. +. /usr/share/debconf/confmodule + +case "$1" in + configure) + if ([ "$1" = "configure" ] && [ -z "$2" ]) || [ "$1" = "reconfigure" ]; then + # Create the orchestra user + user=orchestra + home="/var/lib/$user" + # Add user + if ! getent passwd "$user" > /dev/null 2>&1; then + adduser --system --shell /bin/bash --home "$home" --group "$user" + fi + # Create home + [ -d "$home" ] || mkdir -p "$home" + chown -R $user:$user "$home" + chmod 440 /etc/sudoers.d/orchestra + + # rsylog configuration + db_get ubuntu-orchestra-client/rsyslog_host + if [ "${RET}z" != "z" ] + then + if [ ! -f "/etc/rsyslog.d/99-orchestra.conf" ] + then + cat /usr/share/orchestra/rsyslog/orchestra-client.conf | sed s/1.1.1.1/$RET/ > /etc/rsyslog.d/99-orchestra.conf + else + sed -i -e "s/^*.* @@(o).*..*..*..*:10514.*$/*.* @@(o)$RET:10514/" /etc/rsyslog.d/99-orchestra.conf + fi + fi + + # Make sure rsyslog reads our config + invoke-rc.d rsyslog restart + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure|triggered) + ;; + + *) + 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 --- orchestra-2.10.orig/debian/compat +++ orchestra-2.10/debian/compat @@ -0,0 +1 @@ +7 --- orchestra-2.10.orig/debian/po/templates.pot +++ orchestra-2.10/debian/po/templates.pot @@ -0,0 +1,34 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: orchestra@packages.debian.org\n" +"POT-Creation-Date: 2011-05-25 11:43-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../ubuntu-orchestra-client.templates:1001 +msgid "Hostname or IP address of the rsyslog server:" +msgstr "" + +#. Type: string +#. Description +#: ../ubuntu-orchestra-client.templates:1001 +msgid "" +" Ubuntu Orchestra collects all logs into a central syslog for\n" +" management and statistics, this host is the same one that is\n" +" used for monitoring where the ubuntu-orchestra-monitoring-server\n" +" gathers this data." +msgstr "" --- orchestra-2.10.orig/debian/po/POTFILES.in +++ orchestra-2.10/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] ubuntu-orchestra-client.templates --- orchestra-2.10.orig/debian/source/format +++ orchestra-2.10/debian/source/format @@ -0,0 +1 @@ +1.0