debian/0000775000000000000000000000000011662722632007177 5ustar debian/cobbler-enlist-udeb.install0000664000000000000000000000002711662722332014404 0ustar cobbler-enlist usr/bin debian/copyright0000664000000000000000000000161611662722332011133 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: cobbler-enlist Files: * Copyright: 2011, Copyright (C) 2011 Canonical Ltd. License: GPL-3 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/cobbler-enlist.README.Debian0000664000000000000000000000031711662722332014141 0ustar cobbler-enlist Debian README ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warning: Please note that information is currently sent via insecure http, without using SSL. This issue is being tracked via Bug 833994. Thanks. debian/changelog0000664000000000000000000000362311662722365011060 0ustar cobbler-enlist (0.3-1) precise; urgency=low * Add support for multiple network interfaces (convert enlister->netif to linked list enlister->netifs). When no interfaces specified, defaults to registering all interfaces on the system. (LP: #868492) -- Adam Gandelman Mon, 21 Nov 2011 11:40:37 -0800 cobbler-enlist (0.2-1build2) precise; urgency=low * Rebuild for libxmlrpc-core-c3-udeb. -- Colin Watson Sat, 12 Nov 2011 11:06:17 +0000 cobbler-enlist (0.2-1build1) precise; urgency=low * Rebuild for libxmlrpc-core-c3. -- Colin Watson Mon, 07 Nov 2011 16:21:09 +0000 cobbler-enlist (0.2-1) oneiric; urgency=low * debian/cobbler-enlist-udeb.templates: Updated warning-note template to provide details, and a warning. (LP: #862567) * debian/cobbler-enlist-udeb.postinst: Provided speech-marks for execute stanza. * debian/cobbler-enlist.README.Debian: Initial document, including warning that enlistment is sent without encryption. (LP: #862567) -- Dave Walker (Daviey) Wed, 28 Sep 2011 00:43:36 +0100 cobbler-enlist (0.1-2) oneiric; urgency=low * debian/control: Bumped menu item number to 2350, inserting enlist to the correct menu stage. * debian/cobbler-enlist-udeb.templates: - Changed cobbler-server-password to be of type password. - Dropped cobbler-enlist/host-netif stanza, it's not currently used. - Renamed skip-halt-note -> halt-note, and changed type to note. * debian/cobbler-enlist-udeb.postinst: Added poweroff support, and removed host-netif stanza. * debian/po/templates.pot: Updated to reflect changes. -- Dave Walker (Daviey) Tue, 27 Sep 2011 12:18:45 +0100 cobbler-enlist (0.1-1) oneiric; urgency=low * Initial release. (LP: #831496) -- Dave Walker (Daviey) Tue, 02 Aug 2011 15:49:55 +0100 debian/cobbler-enlist.manpages0000664000000000000000000000002511662722332013612 0ustar man/cobbler-enlist.1 debian/po/0000775000000000000000000000000011662722632007615 5ustar debian/po/templates.pot0000664000000000000000000000616511662722332012344 0ustar # 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: cobbler-enlist@packages.debian.org\n" "POT-Creation-Date: 2011-09-29 18:16+0100\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: text #. Description #: ../cobbler-enlist-udeb.templates:1001 msgid "Enlist on Cobbler server" msgstr "" #. Type: string #. Description #: ../cobbler-enlist-udeb.templates:2001 msgid "Cobbler server address:" msgstr "" #. Type: string #. Description #: ../cobbler-enlist-udeb.templates:2001 msgid "" "Please provide the IP or hostname of the cobbler provisioning server that " "this host should be enlisted with." msgstr "" #. Type: string #. Description #: ../cobbler-enlist-udeb.templates:3001 msgid "Cobbler server username:" msgstr "" #. Type: string #. Description #: ../cobbler-enlist-udeb.templates:3001 msgid "" "Please provide the username of the cobbler provisioning server that this " "host should be enlisted with." msgstr "" #. Type: password #. Description #: ../cobbler-enlist-udeb.templates:4001 msgid "Cobbler server password:" msgstr "" #. Type: password #. Description #: ../cobbler-enlist-udeb.templates:4001 msgid "" "Please provide the password of the cobbler provisioning server that this " "host should be enlisted with." msgstr "" #. Type: string #. Description #: ../cobbler-enlist-udeb.templates:5001 msgid "Name of this host:" msgstr "" #. Type: string #. Description #: ../cobbler-enlist-udeb.templates:5001 msgid "Please provide the name of this host as it should be used." msgstr "" #. Type: string #. Description #: ../cobbler-enlist-udeb.templates:6001 msgid "Profile of this host:" msgstr "" #. Type: string #. Description #: ../cobbler-enlist-udeb.templates:6001 msgid "Please provide the configured profile that this host should be." msgstr "" #. Type: note #. Description #: ../cobbler-enlist-udeb.templates:7001 msgid "Cobbler Enlistment" msgstr "" #. Type: note #. Description #: ../cobbler-enlist-udeb.templates:7001 msgid "" "This process requires that you have an existing Ubuntu Orchestra " "Provisioning service." msgstr "" #. Type: note #. Description #: ../cobbler-enlist-udeb.templates:7001 msgid "" "Details of the Ubuntu Orchestra Provisioning service will be required to " "proceed." msgstr "" #. Type: note #. Description #: ../cobbler-enlist-udeb.templates:7001 msgid "" "The enlistment request will then be sent to Orchestra (Cobbler) server, and " "the system will turn off." msgstr "" #. Type: note #. Description #: ../cobbler-enlist-udeb.templates:7001 msgid "The system can be installed and deployed via Ubuntu Orchestra or Juju." msgstr "" #. Type: note #. Description #: ../cobbler-enlist-udeb.templates:7001 msgid "NOTE: this information is currently submitted unencrypted." msgstr "" debian/po/POTFILES.in0000664000000000000000000000007011662722332011364 0ustar [type: gettext/rfc822deb] cobbler-enlist-udeb.templates debian/cobbler-enlist.install0000664000000000000000000000002711662722332013467 0ustar cobbler-enlist usr/bin debian/control0000664000000000000000000000124411662722332010600 0ustar Source: cobbler-enlist Section: admin Priority: extra Maintainer: Dave Walker (Daviey) Build-Depends: debhelper (>= 8.0.0), po-debconf, libxmlrpc-core-c3-dev Standards-Version: 3.9.2 Homepage: http://ubuntu.com Package: cobbler-enlist Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Cobbler enlistment tool Tool for enlisting a host with a cobbler server. Package: cobbler-enlist-udeb XC-Package-Type: udeb Section: debian-installer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, configured-network XB-Installer-Menu-Item: 2350 Description: Enlist a host with a cobbler server (installer integration) debian/rules0000775000000000000000000000003711662722332010254 0ustar #!/usr/bin/make -f %: dh $@ debian/source/0000775000000000000000000000000011662722632010477 5ustar debian/source/format0000664000000000000000000000001411662722332011702 0ustar 3.0 (quilt) debian/cobbler-enlist-udeb.postinst0000664000000000000000000000314311662722332014623 0ustar #! /bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 # This conf script is capable of backing up db_capb backup # Show the about/warning note db_input high cobbler-enlist/warning-note || true STATE=1 while [ "$STATE" != 0 -a "$STATE" != 6 ]; do case "$STATE" in 1) db_input critical cobbler-enlist/cobbler-server-address || true db_get cobbler-enlist/cobbler-server-address serverurl=$RET ;; 2) db_input critical cobbler-enlist/cobbler-server-username || true db_get cobbler-enlist/cobbler-server-username username=$RET ;; 3) db_input critical cobbler-enlist/cobbler-server-password || true db_get cobbler-enlist/cobbler-server-password password=$RET ;; 4) db_input critical cobbler-enlist/host-name || true db_get cobbler-enlist/host-name hostname=$RET ;; 5) db_input critical cobbler-enlist/host-profile || true db_get cobbler-enlist/host-profile hostprofile=$RET ;; # Disabled, when re-enabling bump while loop to 7, add template. # 6) # db_input high cobbler-enlist/host-netif || true # db_get cobbler-enlist/host-netif # hostnetif=$RET # ;; esac if db_go; then STATE=$(($STATE + 1)) else STATE=$(($STATE - 1)) fi done cobbler-enlist --serverurl="$serverurl" \ --username="$username" \ --password="$password" \ --name="$hostname" \ --profile="$hostprofile" # --netif="$hostnetif" # Power off machine, we don't want to continue the install db_set debian-installer/exit/poweroff true /lib/debian-installer/exit debian/cobbler-enlist-udeb.templates0000664000000000000000000000301311662722332014732 0ustar Template: debian-installer/cobbler-enlist-udeb/title Type: text _Description: Enlist on Cobbler server Template: cobbler-enlist/cobbler-server-address Type: string _Description: Cobbler server address: Please provide the IP or hostname of the cobbler provisioning server that this host should be enlisted with. Template: cobbler-enlist/cobbler-server-username Type: string _Description: Cobbler server username: Please provide the username of the cobbler provisioning server that this host should be enlisted with. Template: cobbler-enlist/cobbler-server-password Type: password _Description: Cobbler server password: Please provide the password of the cobbler provisioning server that this host should be enlisted with. Template: cobbler-enlist/host-name Type: string _Description: Name of this host: Please provide the name of this host as it should be used. Template: cobbler-enlist/host-profile Type: string _Description: Profile of this host: Please provide the configured profile that this host should be. Template: cobbler-enlist/warning-note Type: note Default: false _Description: Cobbler Enlistment This process requires that you have an existing Ubuntu Orchestra Provisioning service. . Details of the Ubuntu Orchestra Provisioning service will be required to proceed. . The enlistment request will then be sent to Orchestra (Cobbler) server, and the system will turn off. . The system can be installed and deployed via Ubuntu Orchestra or Juju. . NOTE: this information is currently submitted unencrypted. debian/compat0000664000000000000000000000000211662722332010372 0ustar 8