]> gitweb.fluxo.info Git - hydra.git/commitdiff
Copyright info and minor fixes
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Jan 2012 12:13:03 +0000 (10:13 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 5 Jan 2012 12:13:03 +0000 (10:13 -0200)
30 files changed:
share/hydra/deploy
share/hydra/import-key
share/hydra/mass
share/hydra/module-update
share/hydra/module-verify
share/hydra/newkeys
share/hydra/nodes
share/hydra/puppet-finger
share/hydra/register
share/hydractl/backports
share/hydractl/backup-copy-site
share/hydractl/backup-copy-sites
share/hydractl/backup-restore
share/hydractl/backup-restore-gitosis
share/hydractl/backup-restore-site
share/hydractl/backup-restore-svn
share/hydractl/backup-site
share/hydractl/backup-sites
share/hydractl/init
share/hydractl/ms-mailkey
share/hydractl/provision
share/hydractl/puppet-finger
share/hydractl/puppet-install
share/hydractl/puppet-reset-agent
share/hydractl/puppet-reset-master
share/hydractl/puppet-reset-stored
share/hydractl/puppet-trigger
share/hydractl/remove-dep
share/hydractl/requirements
share/hydractl/upgrade

index 2c7ec31e33532c09f857753d49220959277e5d79..190028c9183b671aab77f5afe62404bd6833fe0f 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Deploy hydra suite on multiple nodes.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load
 source $APP_BASE/lib/hydra/functions || exit 1
index 3cddaef686fbff2bba20f242c1c1a32d7efc6b69..5658728f31120a0153ddda4e0ba2fce5e27e614a 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Import a key into nodes.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load
 source $APP_BASE/lib/hydra/functions || exit 1
index 9bd83f9545372b045311115cf6751977fca46281..7afe598b33a93ded3818a3de0a0c5f3a6739754f 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Execute commands on multiple nodes.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Issue commands with pssh
 function mass_pssh {
index 1b0563e7a686b6548757a6d9d3ec60a7e7af0ba3..8b6c741dcaf9107e20784f391527b61b5b9bd67c 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Update a puppet module
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load
 source $APP_BASE/lib/hydra/functions || exit 1
index 2d0587bc685e3599f28f1ab4a3141883c4aa7ef0..cdc6b294f3a2becb2df5c4e7eb6605b07ce50e36 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Verify a puppet module
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load
 source $APP_BASE/lib/hydra/functions || exit 1
index 63d82543a027fce430c3828c6d7d481b7b67d12e..b69720856eec5b2e3bf45366af3d5179719661fc 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Create keys for new nodes.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 function hydra_newkeys {
   # Generates ssh and gpg keys for new nodes
index 84eb7f0a0b558aa1d96e2cb147b5c4147e4e5b3b..455b00b5088612e3905bd81f79c624b8753d1931 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Node tool.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Get a list of puppet node files
 function hydra_node_files {
index 0381535d3fc158488c2bf0044deb15b1197781c7..a96800be13f4fbb75c82bd4ee6459bcb88539803 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Check puppet fingerprints, hydra perspective.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load
 source $APP_BASE/lib/hydra/functions || exit 1
index 40a139085e18d28412ee53fabb55d2816b1315da..48b027e3da91ee6ac6427edb0d21462cef75cd2b 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Register an existing hydra
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load
 source $APP_BASE/lib/hydra/functions || exit 1
index 44437ddb2d9faa34231b3273c4bb76514f92be82..1f0b91e402fbd93e9162faf331875e394c5901b7 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Add backports to sources.list.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Get distro codename.
 DISTRO="`lsb_release -cs`"
index 8eccecdab38504e5ad088a8d03951404d8b1df77..b94ee84da7a95f2bef3b903e15c67f6464dc831f 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Copy a site backup between servers.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index 19b41d171e4b6f6189501c04cde3ad7990338da9..aebfcaf82bbc5355e9697f6441e55099d6aa5605 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Copy multiple sites.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Basic parameters.
 SERVER="$1"
index 438d1a648a5d567d5e8c87f6b703c619bfc28989..85a3d4ffe27ed9215f50c07413d0c4ccb5f692bd 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Backup restoration.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index 826dd6e206f05d194104b1f6824bf53397398406..a10b95f3bb40ff30518ecaab98f2cef6df12354a 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Gitosis backup restoration.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index 55fec8e0aa4ef24f080d2cc68630e1f1e93e2dcb..8643a5ce8e4932bacd4baf0d1d535f674bd58f24 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Restore a website from backup.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index 1529348ad6941a9b8c69080effb41f8c3b51454d..1425fdf227bb82eb64553027209f2c62d54620ad 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Subversion backup restoration.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index 914e3e4671729023d7b376182f20e95ea09c8231..77bc0234d3c47952dd3e5c5d167012aa449a66dd 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Backup a site.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index 883566ef73da235928e147f8921c49c3460166b3..438564b222e613e656687860eeef4b9431d42e13 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Pack multiple websites.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 if [ -z "$1" ]; then
   sites="`ls /var/sites`"
index 3ce9a8b3873c280c6b0d5412b260d558ec0723ab..cc14d328222e9e2d720db4913b75a50ca5d50f97 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Bootstrap a new hydra using the current host as a starting point.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 hydractl puppet-install
 
index d1323b732ce77368cf60c0ec3a4aa4c6811a0c2e..a7b69f62785d682e0d418c60dd3477f1381dbc95 100755 (executable)
@@ -1,3 +1,19 @@
 #!/bin/bash
-# Email monkeysphere key
+#
+# Email monkeysphere key.
+#
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
+
 /usr/bin/mail -s "monkeysphere host pgp key for $HOSTNAME" root < /var/lib/monkeysphere/host_keys.pub.pgp
index 09fa799f6a0253828aa8edafccaab6d270d1081d..f12bb5a4278c3f64aaac9305d6cdf1132d6bdf3e 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # System installer.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index cb84335886179f30c98ca08155b0b0a95d6f08e0..af83cc987bb728daefef937da762c5a3ea48dd47 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Check puppet fingerprints, hydractl perspective.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load
 source $APP_BASE/lib/hydra/functions || exit 1
index 0d0e1417c287dbb662ea98a1902b28aad260db3f..63027b041bd318ab225e6a06dd4676242d30ca33 100755 (executable)
@@ -1,4 +1,20 @@
 #!/bin/bash
+#
+# Install puppet and puppetmaster.
+#
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 apt-get update
 apt-get install puppet puppetmaster
index eb7181e2a98d0f05d85fd0dc381f1d7a8e17f6e7..1aff2d8244a30e5362e910f9ba6d77ceb02bdaa9 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Reset puppet SSL setup and register again.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 /etc/init.d/puppet stop
 rm -rf /var/lib/puppet/ssl
index 5a4386e08be761f0b3fdd8a231673b896ce25eea..a1e0e5e7d9cbca58fed4ec5a1f2b785548c6216f 100755 (executable)
@@ -2,6 +2,19 @@
 #
 # Reset puppet master and start over again.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Stop services  
 /etc/init.d/puppet stop
index 090917ff48b8cef7980a27b27d58be159718389b..ec7cea725c3253d8a9a36ea6a39069cdf44fff2e 100755 (executable)
@@ -1,7 +1,20 @@
 #!/bin/bash
 #
-# Reset puppet stored configs
+# Reset puppet stored configs.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index cb399d12f96bd9d3b1c61467bd5616ec2660a331..1f964dbe5a95e0554cddc0b99a8b2518e22797f0 100755 (executable)
@@ -1,4 +1,20 @@
 #!/bin/bash
+#
+# Triggers puppet agend execution.
+#
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 if [ -e '/var/run/puppet/agent.pid' ]; then
   kill -USR1 `cat /var/run/puppet/agent.pid`
index e38f452d6310087916201ba1223c9158094b5ac2..f5f253700b0f349b837a9b092bc5a9ae559ed1fe 100755 (executable)
@@ -6,6 +6,20 @@
 # http://www.heirbaut.nl/2011/02/06/remove-build-dependencies-after-apt-get-build-dep/
 # http://www.webupd8.org/2010/10/undo-apt-get-build-dep-remove-build.html
 # http://mikebeach.org/2011/04/undo-apt-get-build-dep/
+#
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 # Load.
 source $APP_BASE/lib/hydra/functions || exit 1
index dbfcf7f56353c69a2fe9a73a043384e93b1589bb..ccebab834e18f8663020da246c30cfdffe211427 100755 (executable)
@@ -2,8 +2,21 @@
 #
 # Get all needed requirements.
 #
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
-REQUIREMENTS="lsb_releas facter"
+REQUIREMENTS="lsb-release facter"
 
 # Check for requirements.
 for req in "$REQUIREMENTS"; do
index f129b790b3945022a817dea42a3f58a7d07e5659..81c38ae188d25cc15ca5eaf579a58953fd9ae481 100755 (executable)
@@ -1,3 +1,19 @@
 #!/bin/bash
+#
+# Run a system upgrade.
+#
+# 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, either version 3 of the
+# License, or (at your option) any later version.
+#
+# 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
+# <http://www.gnu.org/licenses/>.
 
 aptitude safe-upgrade -y