From 27bf1934839719ed032fc90d137453d3dc0ee99d Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 30 Jul 2015 14:48:59 -0400 Subject: [PATCH] added missing license headers fixes #508 --- database/postgresql/postgresql_lang.py | 18 ++++++++++++++++-- monitoring/bigpanda.py | 18 +++++++++++++++++- monitoring/circonus_annotation.py | 19 +++++++++++++++++-- monitoring/datadog_event.py | 16 ++++++++++++++++ monitoring/pagerduty.py | 16 ++++++++++++++++ monitoring/pingdom.py | 17 ++++++++++++++++- monitoring/stackdriver.py | 16 +++++++++++++++- monitoring/uptimerobot.py | 17 ++++++++++++++++- notification/campfire.py | 16 +++++++++++++++- notification/hipchat.py | 16 +++++++++++++++- notification/typetalk.py | 16 +++++++++++++++- system/locale_gen.py | 16 +++++++++++++++- 12 files changed, 189 insertions(+), 12 deletions(-) diff --git a/database/postgresql/postgresql_lang.py b/database/postgresql/postgresql_lang.py index f3b1baa4d9a..ccee93194ea 100644 --- a/database/postgresql/postgresql_lang.py +++ b/database/postgresql/postgresql_lang.py @@ -1,8 +1,22 @@ #!/usr/bin/python # -*- coding: utf-8 -*- - +# # (c) 2014, Jens Depuydt - +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' --- module: postgresql_lang diff --git a/monitoring/bigpanda.py b/monitoring/bigpanda.py index cd08ac9f29e..0139f3a598e 100644 --- a/monitoring/bigpanda.py +++ b/monitoring/bigpanda.py @@ -1,4 +1,20 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- + +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' --- @@ -6,7 +22,7 @@ module: bigpanda author: "Hagai Kariti (@hkariti)" short_description: Notify BigPanda about deployments version_added: "1.8" -description: +description: - Notify BigPanda when deployments start and end (successfully or not). Returns a deployment object containing all the parameters for future module calls. options: component: diff --git a/monitoring/circonus_annotation.py b/monitoring/circonus_annotation.py index 1585cd8080a..ae5c98c87a1 100644 --- a/monitoring/circonus_annotation.py +++ b/monitoring/circonus_annotation.py @@ -1,7 +1,22 @@ #!/usr/bin/python - +# -*- coding: utf-8 -*- +# # (c) 2014-2015, Epic Games, Inc. - +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . import requests import time import json diff --git a/monitoring/datadog_event.py b/monitoring/datadog_event.py index 406a5ea1865..25e8ce052b6 100644 --- a/monitoring/datadog_event.py +++ b/monitoring/datadog_event.py @@ -5,6 +5,22 @@ # # This module is proudly sponsored by iGeolise (www.igeolise.com) and # Tiny Lab Productions (www.tinylabproductions.com). +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . + DOCUMENTATION = ''' --- diff --git a/monitoring/pagerduty.py b/monitoring/pagerduty.py index b35cfbf4992..99a9be8a044 100644 --- a/monitoring/pagerduty.py +++ b/monitoring/pagerduty.py @@ -1,4 +1,20 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' diff --git a/monitoring/pingdom.py b/monitoring/pingdom.py index fd06a1217cb..4346e8ca6fe 100644 --- a/monitoring/pingdom.py +++ b/monitoring/pingdom.py @@ -1,5 +1,20 @@ #!/usr/bin/python - +# -*- coding: utf-8 -*- +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' module: pingdom diff --git a/monitoring/stackdriver.py b/monitoring/stackdriver.py index 570e6659ac0..7b3688cbefc 100644 --- a/monitoring/stackdriver.py +++ b/monitoring/stackdriver.py @@ -1,6 +1,20 @@ #!/usr/bin/python # -*- coding: utf-8 -*- - +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' module: stackdriver diff --git a/monitoring/uptimerobot.py b/monitoring/uptimerobot.py index 197c8877014..bdff8f1f134 100644 --- a/monitoring/uptimerobot.py +++ b/monitoring/uptimerobot.py @@ -1,5 +1,20 @@ #!/usr/bin/python - +# -*- coding: utf-8 -*- +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' module: uptimerobot diff --git a/notification/campfire.py b/notification/campfire.py index ea4df7c0ba8..68e64f1bc94 100644 --- a/notification/campfire.py +++ b/notification/campfire.py @@ -1,6 +1,20 @@ #!/usr/bin/python # -*- coding: utf-8 -*- - +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' --- module: campfire diff --git a/notification/hipchat.py b/notification/hipchat.py index f38461735c7..f565ca9cdfc 100644 --- a/notification/hipchat.py +++ b/notification/hipchat.py @@ -1,6 +1,20 @@ #!/usr/bin/python # -*- coding: utf-8 -*- - +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' --- module: hipchat diff --git a/notification/typetalk.py b/notification/typetalk.py index f6b84cb00e7..4f6ee28130b 100644 --- a/notification/typetalk.py +++ b/notification/typetalk.py @@ -1,6 +1,20 @@ #!/usr/bin/python # -*- coding: utf-8 -*- - +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . DOCUMENTATION = ''' --- module: typetalk diff --git a/system/locale_gen.py b/system/locale_gen.py index 1988ce4f3b0..410f1dfc23d 100644 --- a/system/locale_gen.py +++ b/system/locale_gen.py @@ -1,6 +1,20 @@ #!/usr/bin/python # -*- coding: utf-8 -*- - +# +# This file is part of Ansible +# +# Ansible is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible 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 Ansible. If not, see . import os import os.path from subprocess import Popen, PIPE, call