debian/0000775000000000000000000000000012006176564007177 5ustar debian/rules0000775000000000000000000000041511602372464010255 0ustar #!/usr/bin/make -f %: dh $@ override_dh_installinit: dh_installinit -pmcollective-server-provisioner --error-handler=true override_dh_fixperms: dh_fixperms chmod 0755 debian/mcollective-server-provisioner/usr/share/mcollective-server-provisioner/mcprovision.rb debian/mcollective-plugins-provisioner.postrm0000775000000000000000000000017611600465614017012 0ustar #!/bin/sh -e set -e if [ -f "/etc/mcollective/server.cfg" ] then invoke-rc.d mcollective restart fi #DEBHELPER# exit 0 debian/control0000664000000000000000000000207612006176320010575 0ustar Source: mcollective-server-provisioner Section: admin Priority: extra Maintainer: Marc Cluet Build-Depends: debhelper (>= 7.0.50) Standards-Version: 3.9.2 Homepage: https://github.com/ripienaar/mcollective-server-provisioner Package: mcollective-server-provisioner Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ruby, mcollective-provisioner-common (= ${binary:Version}), mcollective Description: mcollective Server Provisioner The Server provisioner will provision machines that have the provisioner plugin and don't have a puppet certificate yet Package: mcollective-plugins-provisioner Architecture: all Depends: ${misc:Depends}, mcollective-provisioner-common (= ${binary:Version}) Description: mcollective Server Provisioner plugin Plugin necessary for the server provisioner to perform actions on the mcollective client Package: mcollective-provisioner-common Architecture: all Depends: ${misc:Depends}, mcollective, ruby Description: mcollective Server Provisioner common files Common files necessary for the provisioner operation debian/copyright0000664000000000000000000000311511600465614011126 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat Upstream-Name: mCollective Server Provisioner Upstream-Maintainer: Marc Cluet Upstream-Source: https://github.com/ripienaar/mcollective-server-provisioner Files: etc/provisioner.yaml provisioner.rb lib/mcprovision.rb lib/mcprovision/config.rb lib/mcprovision/node.rb lib/mcprovision/puppetmaster.rb lib/mcprovision/nodes.rb lib/mcprovision/util.rb lib/mcprovision/notifier.rb lib/mcprovision/runner.rb agent/provision.ddl agent/provision.rb README.markdown Copyright: (C) 2010-2011 R.I.Pienaar License: Apache 2.0 /usr/share/common-licenses/Apache-2.0 Files: debian/* Copyright: (C) 2010-2011 Marc Cluet License: GPL-2+ This package 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 2 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 2 can be found in "/usr/share/common-licenses/GPL-2". debian/mcollective-provisioner-common.install0000664000000000000000000000007411600465614016735 0ustar agent/*.ddl usr/share/mcollective/plugins/mcollective/agent debian/mcollective-plugins-provisioner.postinst0000775000000000000000000000017711600465614017352 0ustar #!/bin/sh -e set -e if [ -f "/etc/mcollective/server.cfg" ] then invoke-rc.d mcollective restart fi #DEBHELPER# exit 0 debian/docs0000664000000000000000000000002011600465614010036 0ustar README.markdown debian/mcollective-server-provisioner.install0000664000000000000000000000032611600465614016753 0ustar etc/provisioner.yaml usr/share/mcollective-server-provisioner/examples etc/provisioner.yaml etc/mcollective lib/* usr/lib/ruby/1.8 mcprovision.rb usr/share/mcollective-server-provisioner man/* usr/share/man/man1 debian/mcollective-server-provisioner.manpages0000664000000000000000000000002211600465614017071 0ustar man/mcprovision.1 debian/changelog0000664000000000000000000000121512006176564011050 0ustar mcollective-server-provisioner (0.0.1~git20110120-0ubuntu3) quantal; urgency=low * Switch depends from mcollective-middleware -> mcollective inline with mcollective packaging changes. -- James Page Wed, 01 Aug 2012 10:54:34 +0100 mcollective-server-provisioner (0.0.1~git20110120-0ubuntu2) oneiric; urgency=low * Fix install to automatically start the provisioner -- Marc Cluet Tue, 28 Jun 2011 01:54:58 -0700 mcollective-server-provisioner (0.0.1~git20110120-0ubuntu1) oneiric; urgency=low * Initial Release -- Marc Cluet Wed, 22 Jun 2011 08:47:08 -0700 debian/compat0000664000000000000000000000000211600465614010371 0ustar 7 debian/mcollective-server-provisioner.postrm0000775000000000000000000000023411600465614016632 0ustar #!/bin/sh -e set -e if [ "$1" = "purge" ] ; then ucfr --purge mcollective-server-provisioner /etc/mcollective/provisioner.yaml fi #DEBHELPER# exit 0 debian/mcollective-server-provisioner.upstart0000664000000000000000000000065711600465614017016 0ustar description "mcollective server provisioner" author "Marc Cluet " start on runlevel [2345] stop on runlevel [!2345] respawn pre-start script if [ ! -f "/etc/mcollective/provisioner.yaml" ] then logger "provisioner.rb: Config file missing, please consult examples on how to create one" exit 1 fi end script env RUBYLIB=/usr/local/lib/site_ruby/1.8:$RUBYLIB exec /usr/bin/mcprovision debian/source/0000775000000000000000000000000011600467152010472 5ustar debian/source/format0000664000000000000000000000001411600465614011701 0ustar 3.0 (quilt) debian/mcollective-plugins-provisioner.install0000664000000000000000000000007411600465614017126 0ustar agent/*.rb usr/share/mcollective/plugins/mcollective/agent debian/mcollective-server-provisioner.links0000664000000000000000000000011411600465614016420 0ustar usr/share/mcollective-server-provisioner/mcprovision.rb usr/bin/mcprovision