summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-08-13 13:45:54 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-08-13 13:45:54 -0400
commit0a9c53afb0e124c96a5421491d548b39de2e9571 (patch)
tree17a3706d1f60b55191c1472159898dff48cb08b3
parent31952586ba56d076a10c1d08d710d7d1f44580db (diff)
downloadcobbler-0a9c53afb0e124c96a5421491d548b39de2e9571.tar.gz
cobbler-0a9c53afb0e124c96a5421491d548b39de2e9571.tar.xz
cobbler-0a9c53afb0e124c96a5421491d548b39de2e9571.zip
At Spot's suggestion, make sure all source code files include the correct GPLv2+ license header,
as Cobbler is GPLv2. Also finally remove serializer_shelve, which is replaced by serializer_catalog.
-rw-r--r--cobbler/action_acl.py14
-rw-r--r--cobbler/action_buildiso.py14
-rw-r--r--cobbler/action_check.py14
-rw-r--r--cobbler/action_import.py16
-rw-r--r--cobbler/action_litesync.py14
-rw-r--r--cobbler/action_replicate.py14
-rw-r--r--cobbler/action_reposync.py14
-rw-r--r--cobbler/action_status.py14
-rw-r--r--cobbler/action_sync.py14
-rw-r--r--cobbler/action_validate.py16
-rw-r--r--cobbler/api.py16
-rw-r--r--cobbler/cexceptions.py16
-rw-r--r--cobbler/cobblerd.py32
-rw-r--r--cobbler/collection.py16
-rw-r--r--cobbler/collection_distros.py16
-rw-r--r--cobbler/collection_profiles.py16
-rw-r--r--cobbler/collection_repos.py16
-rw-r--r--cobbler/collection_systems.py16
-rw-r--r--cobbler/commands.py16
-rw-r--r--cobbler/config.py16
-rw-r--r--cobbler/demo_connect.py17
-rw-r--r--cobbler/item_distro.py16
-rw-r--r--cobbler/item_image.py16
-rw-r--r--cobbler/item_profile.py16
-rw-r--r--cobbler/item_repo.py16
-rw-r--r--cobbler/item_system.py16
-rw-r--r--cobbler/kickgen.py14
-rw-r--r--cobbler/manage_ctrl.py14
-rw-r--r--cobbler/module_loader.py16
-rw-r--r--cobbler/modules/authn_configfile.py16
-rw-r--r--cobbler/modules/authn_denyall.py14
-rw-r--r--cobbler/modules/authn_ldap.py14
-rw-r--r--cobbler/modules/authn_spacewalk.py14
-rw-r--r--cobbler/modules/authn_testing.py14
-rw-r--r--cobbler/modules/authz_allowall.py16
-rw-r--r--cobbler/modules/authz_ownership.py14
-rw-r--r--cobbler/modules/cli_distro.py16
-rw-r--r--cobbler/modules/cli_profile.py16
-rw-r--r--cobbler/modules/cli_repo.py16
-rw-r--r--cobbler/modules/cli_system.py16
-rw-r--r--cobbler/modules/manage_bind.py14
-rw-r--r--cobbler/modules/manage_dnsmasq.py14
-rw-r--r--cobbler/modules/manage_isc.py14
-rw-r--r--cobbler/modules/serializer_catalog.py16
-rw-r--r--cobbler/modules/serializer_shelve.py154
-rw-r--r--cobbler/modules/serializer_yaml.py16
-rw-r--r--cobbler/pxegen.py15
-rw-r--r--cobbler/remote.py38
-rw-r--r--cobbler/serializable.py16
-rw-r--r--cobbler/serializer.py16
-rw-r--r--cobbler/services.py34
-rw-r--r--cobbler/settings.py16
-rw-r--r--cobbler/templar.py14
-rw-r--r--cobbler/template_api.py14
-rw-r--r--cobbler/utils.py16
-rw-r--r--cobbler/yumgen.py14
56 files changed, 670 insertions, 378 deletions
diff --git a/cobbler/action_acl.py b/cobbler/action_acl.py
index f1b73af5..35a4f204 100644
--- a/cobbler/action_acl.py
+++ b/cobbler/action_acl.py
@@ -5,12 +5,20 @@ line as non-root.
Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/action_buildiso.py b/cobbler/action_buildiso.py
index 1324719b..62ac38d2 100644
--- a/cobbler/action_buildiso.py
+++ b/cobbler/action_buildiso.py
@@ -5,12 +5,20 @@ for all cobbler profiles currently in memory.
Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/action_check.py b/cobbler/action_check.py
index 900ec202..b0ffe90c 100644
--- a/cobbler/action_check.py
+++ b/cobbler/action_check.py
@@ -5,12 +5,20 @@ serving up content. This is the code behind 'cobbler check'.
Copyright 2006, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/action_import.py b/cobbler/action_import.py
index 497c6a9f..9bb84d00 100644
--- a/cobbler/action_import.py
+++ b/cobbler/action_import.py
@@ -3,15 +3,23 @@ Enables the "cobbler import" command to seed cobbler
information with available distribution from rsync mirrors
and mounted DVDs.
-Copyright 2006-2007, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
from cexceptions import *
diff --git a/cobbler/action_litesync.py b/cobbler/action_litesync.py
index a109cdb8..039e2edb 100644
--- a/cobbler/action_litesync.py
+++ b/cobbler/action_litesync.py
@@ -7,12 +7,20 @@ been created.
Copyright 2006, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
diff --git a/cobbler/action_replicate.py b/cobbler/action_replicate.py
index 51e20926..e0d2e830 100644
--- a/cobbler/action_replicate.py
+++ b/cobbler/action_replicate.py
@@ -5,12 +5,20 @@ Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
Scott Henson <shenson@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index f6f71014..ea15dd5f 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -5,12 +5,20 @@ Initial support for rsync, perhaps reposync coming later.
Copyright 2006-2007, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/action_status.py b/cobbler/action_status.py
index 5f8444bb..3b45ebdc 100644
--- a/cobbler/action_status.py
+++ b/cobbler/action_status.py
@@ -5,12 +5,20 @@ Reports on kickstart activity by examining the logs in
Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index 80e5ba19..79637af0 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -5,12 +5,20 @@ This is the code behind 'cobbler sync'.
Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/action_validate.py b/cobbler/action_validate.py
index c0b1f4ac..f9645f30 100644
--- a/cobbler/action_validate.py
+++ b/cobbler/action_validate.py
@@ -1,15 +1,23 @@
"""
Validates rendered kickstart files.
-Copyright 2007, Red Hat, Inc
+Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/api.py b/cobbler/api.py
index 62a23549..b16307a6 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -3,15 +3,23 @@ python API module for Cobbler
see source for cobbler.py, or pydoc, for example usage.
CLI apps and daemons should import api.py, and no other cobbler code.
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import config
diff --git a/cobbler/cexceptions.py b/cobbler/cexceptions.py
index dba2857a..bc511279 100644
--- a/cobbler/cexceptions.py
+++ b/cobbler/cexceptions.py
@@ -1,15 +1,23 @@
"""
Custom exceptions for Cobbler
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import exceptions
diff --git a/cobbler/cobblerd.py b/cobbler/cobblerd.py
index 065e99e2..5bb83f5e 100644
--- a/cobbler/cobblerd.py
+++ b/cobbler/cobblerd.py
@@ -1,14 +1,24 @@
-# cobbler daemon for logging remote syslog traffic during kickstart
-#
-# Copyright 2007, Red Hat, Inc
-# Michael DeHaan <mdehaan@redhat.com>
-#
-# This software may be freely redistributed under the terms of the GNU
-# general public license.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+"""
+cobbler daemon for logging remote syslog traffic during kickstart
+
+Copyright 2007, Red Hat, Inc
+Michael DeHaan <mdehaan@redhat.com>
+
+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 2 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
+"""
import sys
import socket
diff --git a/cobbler/collection.py b/cobbler/collection.py
index 04d891a0..32e53106 100644
--- a/cobbler/collection.py
+++ b/cobbler/collection.py
@@ -1,15 +1,23 @@
"""
Base class for any serializable list of things...
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import exceptions
diff --git a/cobbler/collection_distros.py b/cobbler/collection_distros.py
index 5857b9aa..ee02ce99 100644
--- a/cobbler/collection_distros.py
+++ b/cobbler/collection_distros.py
@@ -2,15 +2,23 @@
A distro represents a network bootable matched set of kernels
and initrd files
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import utils
diff --git a/cobbler/collection_profiles.py b/cobbler/collection_profiles.py
index f88291e7..e86a353b 100644
--- a/cobbler/collection_profiles.py
+++ b/cobbler/collection_profiles.py
@@ -4,15 +4,23 @@ For instance, FC5 with a kickstart file specifying OpenOffice
might represent a 'desktop' profile. For Virt, there are many
additional options, with client-side defaults (not kept here).
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import item_profile as profile
diff --git a/cobbler/collection_repos.py b/cobbler/collection_repos.py
index 91e06679..f3f1c1ce 100644
--- a/cobbler/collection_repos.py
+++ b/cobbler/collection_repos.py
@@ -3,15 +3,23 @@ Repositories in cobbler are way to create a local mirror of a yum repository.
When used in conjunction with a mirrored kickstart tree (see "cobbler import")
outside bandwidth needs can be reduced and/or eliminated.
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import item_repo as repo
diff --git a/cobbler/collection_systems.py b/cobbler/collection_systems.py
index 8a967bee..21ee1912 100644
--- a/cobbler/collection_systems.py
+++ b/cobbler/collection_systems.py
@@ -2,15 +2,23 @@
Systems are hostnames/MACs/IP names and the associated profile
they belong to.
-Copyright 2006, Red Hat, Inc
+Copyright 2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import item_system as system
diff --git a/cobbler/commands.py b/cobbler/commands.py
index cbd7cdd8..ab42a81f 100644
--- a/cobbler/commands.py
+++ b/cobbler/commands.py
@@ -1,15 +1,23 @@
"""
Command line handling for Cobbler.
-Copyright 2007, Red Hat, Inc
+Copyright 2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import optparse
diff --git a/cobbler/config.py b/cobbler/config.py
index 97b32300..a28df18d 100644
--- a/cobbler/config.py
+++ b/cobbler/config.py
@@ -1,15 +1,23 @@
"""
Config.py is a repository of the Cobbler object model
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/demo_connect.py b/cobbler/demo_connect.py
index 94fa390c..b9d5192e 100644
--- a/cobbler/demo_connect.py
+++ b/cobbler/demo_connect.py
@@ -1,14 +1,23 @@
#!/usr/bin/python
"""
-Copyright 2007, Red Hat, Inc
+Copyright 2007-2008, Red Hat, Inc
+Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
from xmlrpclib import ServerProxy
diff --git a/cobbler/item_distro.py b/cobbler/item_distro.py
index 744bb6db..077dcba0 100644
--- a/cobbler/item_distro.py
+++ b/cobbler/item_distro.py
@@ -2,15 +2,23 @@
A cobbler distribution. A distribution is a kernel, and initrd, and potentially
some kernel options.
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
diff --git a/cobbler/item_image.py b/cobbler/item_image.py
index 7d878562..87f730a5 100644
--- a/cobbler/item_image.py
+++ b/cobbler/item_image.py
@@ -2,15 +2,23 @@
A Cobbler Image. Tracks a virtual or physical image, as opposed to a answer
file (kickstart) led installation.
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import utils
diff --git a/cobbler/item_profile.py b/cobbler/item_profile.py
index 0e16f46b..90c16e4c 100644
--- a/cobbler/item_profile.py
+++ b/cobbler/item_profile.py
@@ -1,15 +1,23 @@
"""
A Cobbler Profile. A profile is a reference to a distribution, possibly some kernel options, possibly some Virt options, and some kickstart data.
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import utils
diff --git a/cobbler/item_repo.py b/cobbler/item_repo.py
index 99fedb3a..cb3f9311 100644
--- a/cobbler/item_repo.py
+++ b/cobbler/item_repo.py
@@ -1,15 +1,23 @@
"""
A Cobbler repesentation of a yum repo.
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import utils
diff --git a/cobbler/item_system.py b/cobbler/item_system.py
index 15d8fae8..a80fdbb5 100644
--- a/cobbler/item_system.py
+++ b/cobbler/item_system.py
@@ -1,15 +1,23 @@
"""
A Cobbler System.
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import utils
diff --git a/cobbler/kickgen.py b/cobbler/kickgen.py
index c3d06347..62881946 100644
--- a/cobbler/kickgen.py
+++ b/cobbler/kickgen.py
@@ -5,12 +5,20 @@ This is the code behind 'cobbler sync'.
Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/manage_ctrl.py b/cobbler/manage_ctrl.py
index a01910ad..10d44e8b 100644
--- a/cobbler/manage_ctrl.py
+++ b/cobbler/manage_ctrl.py
@@ -5,12 +5,20 @@ This is the code behind 'cobbler sync'.
Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/module_loader.py b/cobbler/module_loader.py
index 69b12548..a7be1f68 100644
--- a/cobbler/module_loader.py
+++ b/cobbler/module_loader.py
@@ -3,16 +3,24 @@
"""
Module loader, adapted for cobbler usage
-Copyright 2006-2007, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Adrian Likins <alikins@redhat.com>
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/authn_configfile.py b/cobbler/modules/authn_configfile.py
index be453be0..1f4cdb26 100644
--- a/cobbler/modules/authn_configfile.py
+++ b/cobbler/modules/authn_configfile.py
@@ -2,15 +2,23 @@
Authentication module that uses /etc/cobbler/auth.conf
Choice of authentication module is in /etc/cobbler/modules.conf
-Copyright 2007, Red Hat, Inc
+Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/authn_denyall.py b/cobbler/modules/authn_denyall.py
index 91e27d40..c31b402c 100644
--- a/cobbler/modules/authn_denyall.py
+++ b/cobbler/modules/authn_denyall.py
@@ -5,12 +5,20 @@ Used to disable the WebUI by default.
Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/authn_ldap.py b/cobbler/modules/authn_ldap.py
index ff317508..d30e87d0 100644
--- a/cobbler/modules/authn_ldap.py
+++ b/cobbler/modules/authn_ldap.py
@@ -3,12 +3,20 @@ Authentication module that uses ldap
Settings in /etc/cobbler/authn_ldap.conf
Choice of authentication module is in /etc/cobbler/modules.conf
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/authn_spacewalk.py b/cobbler/modules/authn_spacewalk.py
index d1ae7928..26364004 100644
--- a/cobbler/modules/authn_spacewalk.py
+++ b/cobbler/modules/authn_spacewalk.py
@@ -5,12 +5,20 @@ Any org_admin or kickstart_admin can get in.
Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/authn_testing.py b/cobbler/modules/authn_testing.py
index cd74cdf3..49fb8a7b 100644
--- a/cobbler/modules/authn_testing.py
+++ b/cobbler/modules/authn_testing.py
@@ -5,12 +5,20 @@ Unsafe demo. Allows anyone in with testing/testing.
Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/authz_allowall.py b/cobbler/modules/authz_allowall.py
index 10d4b17d..890f144f 100644
--- a/cobbler/modules/authz_allowall.py
+++ b/cobbler/modules/authz_allowall.py
@@ -2,15 +2,23 @@
Authorization module that allows everything, which is the default
for new cobbler installs.
-Copyright 2007, Red Hat, Inc
+Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/authz_ownership.py b/cobbler/modules/authz_ownership.py
index fbd00f92..e9eace77 100644
--- a/cobbler/modules/authz_ownership.py
+++ b/cobbler/modules/authz_ownership.py
@@ -7,12 +7,20 @@ allow certain users/groups to access those specific objects.
Copyright 2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/cli_distro.py b/cobbler/modules/cli_distro.py
index 853b51d4..665394c4 100644
--- a/cobbler/modules/cli_distro.py
+++ b/cobbler/modules/cli_distro.py
@@ -1,15 +1,23 @@
"""
Distro CLI module.
-Copyright 2007, Red Hat, Inc
+Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/cli_profile.py b/cobbler/modules/cli_profile.py
index 25ca6355..3c73a980 100644
--- a/cobbler/modules/cli_profile.py
+++ b/cobbler/modules/cli_profile.py
@@ -1,15 +1,23 @@
"""
Profile CLI module.
-Copyright 2007, Red Hat, Inc
+Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/cli_repo.py b/cobbler/modules/cli_repo.py
index 28ddadaa..4d620b39 100644
--- a/cobbler/modules/cli_repo.py
+++ b/cobbler/modules/cli_repo.py
@@ -1,15 +1,23 @@
"""
Repo CLI module.
-Copyright 2007, Red Hat, Inc
+Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/cli_system.py b/cobbler/modules/cli_system.py
index fbf40cb2..3d983636 100644
--- a/cobbler/modules/cli_system.py
+++ b/cobbler/modules/cli_system.py
@@ -1,15 +1,23 @@
"""
System CLI module.
-Copyright 2007, Red Hat, Inc
+Copyright 2007-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/manage_bind.py b/cobbler/modules/manage_bind.py
index 70a60328..7741f167 100644
--- a/cobbler/modules/manage_bind.py
+++ b/cobbler/modules/manage_bind.py
@@ -5,12 +5,20 @@ Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
John Eckersberg <jeckersb@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/modules/manage_dnsmasq.py b/cobbler/modules/manage_dnsmasq.py
index 9c03bcd7..f002bf25 100644
--- a/cobbler/modules/manage_dnsmasq.py
+++ b/cobbler/modules/manage_dnsmasq.py
@@ -6,12 +6,20 @@ Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
John Eckersberg <jeckersb@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/modules/manage_isc.py b/cobbler/modules/manage_isc.py
index 6ccec70d..1e9ddec7 100644
--- a/cobbler/modules/manage_isc.py
+++ b/cobbler/modules/manage_isc.py
@@ -5,12 +5,20 @@ Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
John Eckersberg <jeckersb@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/modules/serializer_catalog.py b/cobbler/modules/serializer_catalog.py
index 82924095..aa957fef 100644
--- a/cobbler/modules/serializer_catalog.py
+++ b/cobbler/modules/serializer_catalog.py
@@ -1,15 +1,23 @@
"""
Serializer code for cobbler
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/modules/serializer_shelve.py b/cobbler/modules/serializer_shelve.py
deleted file mode 100644
index adbee836..00000000
--- a/cobbler/modules/serializer_shelve.py
+++ /dev/null
@@ -1,154 +0,0 @@
-"""
-Serializer code for cobbler
-
-Copyright 2007, Red Hat, Inc
-Michael DeHaan <mdehaan@redhat.com>
-
-NOTE: as it stands, the performance of this serializer is not great
- nor has it been throughly tested. It is, however, about 4x faster
- than the YAML version. It could be optimized further.
-
-This software may be freely redistributed under the terms of the GNU
-general public license.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-"""
-
-## FIXME: serializer needs a close() call
-## FIXME: investigate locking
-
-import distutils.sysconfig
-import os
-import sys
-import glob
-import traceback
-from utils import _
-import os
-import shelve
-import time
-#import gdbm # FIXME: check if available in EL4?
-import bsddb
-
-plib = distutils.sysconfig.get_python_lib()
-mod_path="%s/cobbler" % plib
-sys.path.insert(0, mod_path)
-
-import cexceptions
-import utils
-
-DATABASES = {}
-
-def open_db(collection_type):
- if DATABASES.has_key(collection_type):
- return DATABASES[collection_type]
- ending = collection_type
- if not ending.endswith("s"):
- ending = ending + "s"
- while 1:
- try:
- filename = "/var/lib/cobbler/%s.shelve" % ending
-
- internal_db = bsddb.btopen( filename, 'c', 0644 )
-
-
- #internal_db = gdbm.open(filename, 'c', 0644)
- database = shelve.BsdDbShelf(internal_db)
- DATABASES[collection_type] = database
- return database
- except:
- traceback.print_exc()
- print "- can't access %s right now, waiting..." % filename
- time.sleep(1)
- continue
-
-def register():
- """
- The mandatory cobbler module registration hook.
- """
- return "serializer"
-
-def serialize(obj):
- """
- Save an object to disk. Object must "implement" Serializable.
- Will create intermediate paths if it can. Returns True on Success,
- False on permission errors.
- """
-
- # FIXME: this needs to understand deletes
- # FIXME: create partial serializer and don't use this
- fd = open_db(obj.collection_type())
-
- for entry in obj:
- fd[entry.name] = entry.to_datastruct()
- # fd.sync()
- return True
-
-def serialize_item(obj, item):
- fd = open_db(obj.collection_type())
- fd[item.name] = item.to_datastruct()
- # fd.sync()
- return True
-
-# NOTE: not heavily tested
-def serialize_delete(obj, item):
- fd = open_db(obj.collection_type())
- if fd.has_key(item.name):
- del fd[item.name]
- # fd.sync()
- return True
-
-def deserialize_raw(collection_type):
- fd = open_db(collection_type)
- datastruct = []
- # FIXME: see if we can call items() directly
- for (key,value) in fd.iteritems():
- datastruct.append(value)
- # fd.close()
- return datastruct
-
-def deserialize_item_raw(collection_type, item_name):
- fd = open_db(collection_type)
- data = fd.get(item_name)
- fd.close()
- return data
-
-def deserialize(obj,topological=False):
- """
- Populate an existing object with the contents of datastruct.
- Object must "implement" Serializable. Returns True assuming
- files could be read and contained decent YAML. Otherwise returns
- False.
- """
- fd = open_db(obj.collection_type())
-
- datastruct = []
- for (key,value) in fd.iteritems():
- datastruct.append(value)
-
- # fd.close()
-
- if topological and type(datastruct) == list:
- # in order to build the graph links from the flat list, sort by the
- # depth of items in the graph. If an object doesn't have a depth, sort it as
- # if the depth were 0. It will be assigned a proper depth at serialization
- # time. This is a bit cleaner implementation wise than a topological sort,
- # though that would make a shiny upgrade.
- datastruct.sort(__depth_cmp)
- obj.from_datastruct(datastruct)
- return True
-
-def deserialize_item_raw(collection_type, item_name):
- # this new fn is not really implemented performantly in this module.
- # yet.
- data = deserialize_raw(collection_type)
- return data.get(item_name, None)
-
-def __depth_cmp(item1, item2):
- if not item1.has_key("depth"):
- return 1
- if not item2.has_key("depth"):
- return -1
- return cmp(item1["depth"],item2["depth"])
-
diff --git a/cobbler/modules/serializer_yaml.py b/cobbler/modules/serializer_yaml.py
index 0e3a23ab..91fe7646 100644
--- a/cobbler/modules/serializer_yaml.py
+++ b/cobbler/modules/serializer_yaml.py
@@ -1,15 +1,23 @@
"""
Serializer code for cobbler
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import distutils.sysconfig
diff --git a/cobbler/pxegen.py b/cobbler/pxegen.py
index 47f89eac..9eebd095 100644
--- a/cobbler/pxegen.py
+++ b/cobbler/pxegen.py
@@ -5,12 +5,20 @@ This is the code behind 'cobbler sync'.
Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
@@ -368,7 +376,6 @@ class PXEGen:
# CD-ROM ISO or virt-clone image? We can't PXE boot it.
kernel_path = None
initrd_path = None
- print "DEBUG: do not support (%s)" % image.image_type
# ---
# choose a template
if arch in [ "standard", "x86", "i386", "i386", "x86_64" ] or (arch is None and system is None):
diff --git a/cobbler/remote.py b/cobbler/remote.py
index 632c6fc9..dcff604d 100644
--- a/cobbler/remote.py
+++ b/cobbler/remote.py
@@ -1,17 +1,27 @@
-# Interface for Cobbler's XMLRPC API(s).
-# there are two:
-# a read-only API that koan uses
-# a read-write API that requires logins
-#
-# Copyright 2007, Red Hat, Inc
-# Michael DeHaan <mdehaan@redhat.com>
-#
-# This software may be freely redistributed under the terms of the GNU
-# general public license.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+"""
+Interface for Cobbler's XMLRPC API(s).
+there are two:
+ a read-only API that koan uses
+ a read-write API that requires logins
+
+Copyright 2007-2008, Red Hat, Inc
+Michael DeHaan <mdehaan@redhat.com>
+
+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 2 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
+"""
import sys
import socket
diff --git a/cobbler/serializable.py b/cobbler/serializable.py
index ad9e64e1..ba54b2e7 100644
--- a/cobbler/serializable.py
+++ b/cobbler/serializable.py
@@ -2,15 +2,23 @@
Serializable interface, for documentation purposes.
Collections and Settings both support this interface.
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
from utils import _
diff --git a/cobbler/serializer.py b/cobbler/serializer.py
index d3c2fb08..7cfd412e 100644
--- a/cobbler/serializer.py
+++ b/cobbler/serializer.py
@@ -2,15 +2,23 @@
Serializer code for cobbler
Now adapted to support different storage backends
-Copyright 2006-2007, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import errno
diff --git a/cobbler/services.py b/cobbler/services.py
index e332ee37..e2236a51 100644
--- a/cobbler/services.py
+++ b/cobbler/services.py
@@ -1,15 +1,25 @@
-# Mod Python service functions for Cobbler's public interface
-# (aka cool stuff that works with wget)
-#
-# Copyright 2007 Albert P. Tobey <tobert@gmail.com>
-# additions: Michael DeHaan <mdehaan@redhat.com>
-#
-# This software may be freely redistributed under the terms of the GNU
-# general public license.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+"""
+Mod Python service functions for Cobbler's public interface
+(aka cool stuff that works with wget)
+
+based on code copyright 2007 Albert P. Tobey <tobert@gmail.com>
+additions: 2007-2008 Michael DeHaan <mdehaan@redhat.com>
+
+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 2 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
+"""
import exceptions
import xmlrpclib
diff --git a/cobbler/settings.py b/cobbler/settings.py
index 929394fc..f9da4d66 100644
--- a/cobbler/settings.py
+++ b/cobbler/settings.py
@@ -1,15 +1,23 @@
"""
Cobbler app-wide settings
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import serializable
diff --git a/cobbler/templar.py b/cobbler/templar.py
index 67422c3d..40d44a85 100644
--- a/cobbler/templar.py
+++ b/cobbler/templar.py
@@ -6,12 +6,20 @@ some additional magic around that to deal with snippets/etc.
Copyright 2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os
diff --git a/cobbler/template_api.py b/cobbler/template_api.py
index 906d8bff..14e5f924 100644
--- a/cobbler/template_api.py
+++ b/cobbler/template_api.py
@@ -5,12 +5,20 @@ such function and is now used to implement Cobbler's SNIPPET:: syntax.
Written by Daniel Guernsey <danpg102@gmail.com>
Contributions by Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import Cheetah.Template
diff --git a/cobbler/utils.py b/cobbler/utils.py
index 5acc682f..d55cf149 100644
--- a/cobbler/utils.py
+++ b/cobbler/utils.py
@@ -1,15 +1,23 @@
"""
Misc heavy lifting functions for cobbler
-Copyright 2006, Red Hat, Inc
+Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import sys
diff --git a/cobbler/yumgen.py b/cobbler/yumgen.py
index 248f095b..6a20723d 100644
--- a/cobbler/yumgen.py
+++ b/cobbler/yumgen.py
@@ -5,12 +5,20 @@ This is the code behind 'cobbler sync'.
Copyright 2006-2008, Red Hat, Inc
Michael DeHaan <mdehaan@redhat.com>
-This software may be freely redistributed under the terms of the GNU
-general public license.
+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 2 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA
"""
import os