diff --git a/LICENSE b/LICENSE index e06d20818..ecbfc770f 100644 --- a/LICENSE +++ b/LICENSE @@ -172,31 +172,3 @@ Apache License defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - 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. - diff --git a/deployment_scripts/puppet/manifests/base.pp b/deployment_scripts/puppet/manifests/base.pp index 329b23ccc..31c8da662 100644 --- a/deployment_scripts/puppet/manifests/base.pp +++ b/deployment_scripts/puppet/manifests/base.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # TODO(spasquier): fail if Neutron isn't used $lma_collector = hiera('lma_collector') diff --git a/deployment_scripts/puppet/manifests/ceph_osd.pp b/deployment_scripts/puppet/manifests/ceph_osd.pp index fa9ef5df1..adb82fbfa 100644 --- a/deployment_scripts/puppet/manifests/ceph_osd.pp +++ b/deployment_scripts/puppet/manifests/ceph_osd.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# $lma_collector_hash = hiera('lma_collector') if $lma_collector_hash['influxdb_mode'] != 'disabled' { diff --git a/deployment_scripts/puppet/manifests/cinder.pp b/deployment_scripts/puppet/manifests/cinder.pp index a05908e4d..aa4611446 100644 --- a/deployment_scripts/puppet/manifests/cinder.pp +++ b/deployment_scripts/puppet/manifests/cinder.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# include lma_collector::params $ceilometer = hiera('ceilometer') diff --git a/deployment_scripts/puppet/manifests/compute.pp b/deployment_scripts/puppet/manifests/compute.pp index 8ca4067d1..7fc39b19c 100644 --- a/deployment_scripts/puppet/manifests/compute.pp +++ b/deployment_scripts/puppet/manifests/compute.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# include lma_collector::params $ceilometer = hiera('ceilometer') diff --git a/deployment_scripts/puppet/manifests/controller.pp b/deployment_scripts/puppet/manifests/controller.pp index 6670ce42e..d37d0a189 100644 --- a/deployment_scripts/puppet/manifests/controller.pp +++ b/deployment_scripts/puppet/manifests/controller.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# include lma_collector::params $ceilometer = hiera('ceilometer') diff --git a/deployment_scripts/puppet/modules/heka/manifests/decoder/sandbox.pp b/deployment_scripts/puppet/modules/heka/manifests/decoder/sandbox.pp index 352bee317..6b509a133 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/decoder/sandbox.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/decoder/sandbox.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::decoder::sandbox ( $config_dir, $filename, diff --git a/deployment_scripts/puppet/modules/heka/manifests/encoder/es_json.pp b/deployment_scripts/puppet/modules/heka/manifests/encoder/es_json.pp index 235e84bdf..5a1743b6f 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/encoder/es_json.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/encoder/es_json.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::encoder::es_json ( $config_dir, $es_index_from_timestamp = false, diff --git a/deployment_scripts/puppet/modules/heka/manifests/encoder/payload.pp b/deployment_scripts/puppet/modules/heka/manifests/encoder/payload.pp index 22491cac5..d3e1b4598 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/encoder/payload.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/encoder/payload.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::encoder::payload ( $config_dir, $append_newlines = false, diff --git a/deployment_scripts/puppet/modules/heka/manifests/filter/sandbox.pp b/deployment_scripts/puppet/modules/heka/manifests/filter/sandbox.pp index 6e32edfc1..17174ed2e 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/filter/sandbox.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/filter/sandbox.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::filter::sandbox ( $config_dir, $filename, diff --git a/deployment_scripts/puppet/modules/heka/manifests/init.pp b/deployment_scripts/puppet/modules/heka/manifests/init.pp index f93057012..250f79e57 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/init.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/init.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # == Class: heka # # Install and configure the core of the Heka service. diff --git a/deployment_scripts/puppet/modules/heka/manifests/input/amqp.pp b/deployment_scripts/puppet/modules/heka/manifests/input/amqp.pp index bb0ae2475..3d70256a1 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/input/amqp.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/input/amqp.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::input::amqp ( $config_dir, $decoder, diff --git a/deployment_scripts/puppet/modules/heka/manifests/input/httplisten.pp b/deployment_scripts/puppet/modules/heka/manifests/input/httplisten.pp index bca50f01f..2ecfeb79b 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/input/httplisten.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/input/httplisten.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::input::httplisten ( $config_dir, $decoder, diff --git a/deployment_scripts/puppet/modules/heka/manifests/input/logstreamer.pp b/deployment_scripts/puppet/modules/heka/manifests/input/logstreamer.pp index 99efd7cb9..7f8ddff90 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/input/logstreamer.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/input/logstreamer.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::input::logstreamer( $config_dir, $decoder, diff --git a/deployment_scripts/puppet/modules/heka/manifests/input/process.pp b/deployment_scripts/puppet/modules/heka/manifests/input/process.pp index d7f2ffa48..885d0c18e 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/input/process.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/input/process.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::input::process ( $config_dir, $decoder, diff --git a/deployment_scripts/puppet/modules/heka/manifests/output/elasticsearch.pp b/deployment_scripts/puppet/modules/heka/manifests/output/elasticsearch.pp index ee7541860..d7f19f0e7 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/output/elasticsearch.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/output/elasticsearch.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::output::elasticsearch ( $config_dir, $server = undef, diff --git a/deployment_scripts/puppet/modules/heka/manifests/output/http.pp b/deployment_scripts/puppet/modules/heka/manifests/output/http.pp index 33327f5b7..3b84ae3cb 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/output/http.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/output/http.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::output::http ( $config_dir, $url, diff --git a/deployment_scripts/puppet/modules/heka/manifests/params.pp b/deployment_scripts/puppet/modules/heka/manifests/params.pp index 41efaea7d..c7f069df2 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/params.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/params.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class heka::params { $package_name = 'heka' $service_name = 'hekad' diff --git a/deployment_scripts/puppet/modules/heka/manifests/splitter/regex.pp b/deployment_scripts/puppet/modules/heka/manifests/splitter/regex.pp index 99520f833..5f9f88999 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/splitter/regex.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/splitter/regex.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::splitter::regex ( $config_dir, $delimiter, diff --git a/deployment_scripts/puppet/modules/heka/manifests/splitter/token.pp b/deployment_scripts/puppet/modules/heka/manifests/splitter/token.pp index 013707610..7dc74abe5 100644 --- a/deployment_scripts/puppet/modules/heka/manifests/splitter/token.pp +++ b/deployment_scripts/puppet/modules/heka/manifests/splitter/token.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define heka::splitter::token ( $config_dir, $delimiter, diff --git a/deployment_scripts/puppet/modules/heka/tests/init.pp b/deployment_scripts/puppet/modules/heka/tests/init.pp index 51a602e87..cf391e877 100644 --- a/deployment_scripts/puppet/modules/heka/tests/init.pp +++ b/deployment_scripts/puppet/modules/heka/tests/init.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # The baseline for module testing used by Puppet Labs is that each manifest # should have a corresponding test manifest that declares that class or defined # type. diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/base.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/base.pp index ae6559f94..f250d902f 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/base.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/base.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::collectd::base { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/ceph_osd.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/ceph_osd.pp index b524a3878..71cad3099 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/ceph_osd.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/ceph_osd.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::collectd::ceph_osd { include lma_collector::params diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/controller.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/controller.pp index c509496e2..c7a0ca6ce 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/controller.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/controller.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::collectd::controller ( $haproxy_socket = undef, $ceph_enabled = undef, diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi.pp index 49633ce5c..cb813dfeb 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::collectd::dbi { include lma_collector::params include lma_collector::collectd::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi_mysql_status.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi_mysql_status.pp index 8779e4626..c8e3e8e18 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi_mysql_status.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi_mysql_status.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define lma_collector::collectd::dbi_mysql_status ( $database = undef, $hostname = 'localhost', diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi_services.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi_services.pp index 9029b7163..28bc7cf60 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi_services.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/dbi_services.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define lma_collector::collectd::dbi_services ( $database = undef, $hostname = 'localhost', diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/mysql.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/mysql.pp index 3f41f083c..abc64a214 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/mysql.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/mysql.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::collectd::mysql ( $username = $lma_collector::params::mysql_username, $password = $lma_collector::params::mysql_password, diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/python_script.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/python_script.pp index b6c011a4e..78d129a62 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/python_script.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/python_script.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# define lma_collector::collectd::python_script { include collectd::params include lma_collector::params diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/service.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/service.pp index 7d5d3caf3..c6b7dec8f 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/service.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/collectd/service.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # Class: lma_collector::collectd::service # # Manages the collectd daemon diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/elasticsearch.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/elasticsearch.pp index 8b573d4b5..cb6f92859 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/elasticsearch.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/elasticsearch.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::elasticsearch ( $server = $lma_collector::params::elasticsearch_server, $port = $lma_collector::params::elasticsearch_port, diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/influxdb.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/influxdb.pp index ab42cfef0..44a4896ba 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/influxdb.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/influxdb.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::influxdb ( $server = $lma_collector::params::influxdb_server, $port = $lma_collector::params::influxdb_port, diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/init.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/init.pp index 61f938a13..31cd56075 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/init.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/init.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # == Class: lma_collector # # The lma_collector class is able to install the common components for running diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/libvirt.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/libvirt.pp index f8800c634..02809460a 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/libvirt.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/libvirt.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # Class lma_collector::logs::libvirt class lma_collector::logs::libvirt { diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/metrics.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/metrics.pp index 0e26a6d87..eda0054a0 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/metrics.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/metrics.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::logs::metrics { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/monitor.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/monitor.pp index 8c9f216d8..8c21b538d 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/monitor.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/monitor.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::logs::monitor { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/mysql.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/mysql.pp index 11133d6cf..0ca7bde40 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/mysql.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/mysql.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::logs::mysql { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/openstack.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/openstack.pp index f8ca0340f..4c0ce1c67 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/openstack.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/openstack.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::logs::openstack { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/ovs.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/ovs.pp index b38726299..f20ab2b07 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/ovs.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/ovs.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::logs::ovs { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/pacemaker.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/pacemaker.pp index fa7e7d403..80218c3a7 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/pacemaker.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/pacemaker.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::logs::pacemaker { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/rabbitmq.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/rabbitmq.pp index 1aa3474a7..ac2548a62 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/rabbitmq.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/rabbitmq.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::logs::rabbitmq { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/system.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/system.pp index add159b8c..d22d134ab 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/logs/system.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/logs/system.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::logs::system { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/metrics/pacemaker_resources.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/metrics/pacemaker_resources.pp index 43c769e01..ccd788a82 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/metrics/pacemaker_resources.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/metrics/pacemaker_resources.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::metrics::pacemaker_resources ( $interval = $lma_collector::params::pacemaker_resources_interval, ) inherits lma_collector::params { diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/metrics/service_heartbeat.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/metrics/service_heartbeat.pp index 494a1712f..6b62a1608 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/metrics/service_heartbeat.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/metrics/service_heartbeat.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::metrics::service_heartbeat ( $services, $timeout = $lma_collector::params::heartbeat_timeout, diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/mod_status.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/mod_status.pp index 790faadc6..939a0f293 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/mod_status.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/mod_status.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # Class: lma_collector::mod_status # # We don't use apache::mod_status because it requires to include the apache diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/cinder.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/cinder.pp index b69220b08..dda7fae39 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/cinder.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/cinder.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::notifications::cinder ( $topics = [], $driver = $lma_collector::params::notification_driver, diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/compute.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/compute.pp index 7995c68f8..4b10bb0f2 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/compute.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/compute.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::notifications::compute ( $topics = [], $driver = $lma_collector::params::notification_driver, diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/controller.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/controller.pp index 33c04efd6..3ae35c72a 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/controller.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/controller.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::notifications::controller ( $host = $lma_collector::params::rabbitmq_host, $port = $lma_collector::params::rabbitmq_port, diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/metrics.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/metrics.pp index 275563133..ca4814d9a 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/metrics.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/notifications/metrics.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::notifications::metrics { include lma_collector::params include lma_collector::service diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/params.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/params.pp index 9a8c3e04b..662eedb3a 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/params.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/params.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# class lma_collector::params { $service_name = 'lma_collector' $config_dir = "/etc/${service_name}" diff --git a/deployment_scripts/puppet/modules/lma_collector/manifests/service.pp b/deployment_scripts/puppet/modules/lma_collector/manifests/service.pp index 1043769c8..bbb563abc 100644 --- a/deployment_scripts/puppet/modules/lma_collector/manifests/service.pp +++ b/deployment_scripts/puppet/modules/lma_collector/manifests/service.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # Class: lma_collector::service # # Manages the LMA collector daemon diff --git a/deployment_scripts/puppet/modules/lma_collector/tests/init.pp b/deployment_scripts/puppet/modules/lma_collector/tests/init.pp index 529efa9d3..c8cd65c0f 100644 --- a/deployment_scripts/puppet/modules/lma_collector/tests/init.pp +++ b/deployment_scripts/puppet/modules/lma_collector/tests/init.pp @@ -1,3 +1,17 @@ +# Copyright 2015 Mirantis, Inc. +# +# 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. +# # The baseline for module testing used by Puppet Labs is that each manifest # should have a corresponding test manifest that declares that class or defined # type.