diff --git a/ansible/gather/roles/common/files/openstack-config-parser.py b/ansible/gather/roles/common/files/openstack-config-parser.py index 2673b0418..c56298f87 100644 --- a/ansible/gather/roles/common/files/openstack-config-parser.py +++ b/ansible/gather/roles/common/files/openstack-config-parser.py @@ -1,3 +1,16 @@ +#!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import sys # usage: openstack-config-parser.py [service] [config file] [output file] diff --git a/ansible/install/roles/collectd-openstack/files/collectd_gnocchi_status.py b/ansible/install/roles/collectd-openstack/files/collectd_gnocchi_status.py index e96bc8006..e282c634f 100644 --- a/ansible/install/roles/collectd-openstack/files/collectd_gnocchi_status.py +++ b/ansible/install/roles/collectd-openstack/files/collectd_gnocchi_status.py @@ -1,4 +1,15 @@ #!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """Collectd python plugin to read gnocchi status on an OpenStack Controller.""" from gnocchiclient.v1 import client from keystoneauth1.identity import v2 diff --git a/ansible/install/roles/collectd-openstack/files/collectd_rabbitmq_monitoring.py b/ansible/install/roles/collectd-openstack/files/collectd_rabbitmq_monitoring.py index 53ae0feb3..1465dd474 100644 --- a/ansible/install/roles/collectd-openstack/files/collectd_rabbitmq_monitoring.py +++ b/ansible/install/roles/collectd-openstack/files/collectd_rabbitmq_monitoring.py @@ -1,4 +1,15 @@ #!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. """Collectd python plugin to read rabbitmq metrics from rabbitmq management plugin.""" from pyrabbit.api import Client import collectd