diff --git a/deployment_scripts/puppet/manifests/setup_disks.pp b/deployment_scripts/puppet/manifests/setup_disks.pp index 3ba82395..b0d68246 100644 --- a/deployment_scripts/puppet/manifests/setup_disks.pp +++ b/deployment_scripts/puppet/manifests/setup_disks.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. + $influxdb_grafana = hiera('influxdb_grafana') if $influxdb_grafana['node_name'] == hiera('user_node_name') { diff --git a/deployment_scripts/puppet/manifests/setup_influxdir.pp b/deployment_scripts/puppet/manifests/setup_influxdir.pp index 49eaf623..d7fa8934 100644 --- a/deployment_scripts/puppet/manifests/setup_influxdir.pp +++ b/deployment_scripts/puppet/manifests/setup_influxdir.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. + $influxdb_grafana = hiera('influxdb_grafana') if $influxdb_grafana['node_name'] == hiera('user_node_name') { diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/lib/puppet/provider/grafana_dashboard/influxdb.rb b/deployment_scripts/puppet/modules/lma_monitoring_analytics/lib/puppet/provider/grafana_dashboard/influxdb.rb index c4934655..4cccd217 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/lib/puppet/provider/grafana_dashboard/influxdb.rb +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/lib/puppet/provider/grafana_dashboard/influxdb.rb @@ -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. +# require 'base64' require 'cgi' require 'json' diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/lib/puppet/type/grafana_dashboard.rb b/deployment_scripts/puppet/modules/lma_monitoring_analytics/lib/puppet/type/grafana_dashboard.rb index 1476cb79..3103160d 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/lib/puppet/type/grafana_dashboard.rb +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/lib/puppet/type/grafana_dashboard.rb @@ -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. +# require 'json' Puppet::Type.newtype(:grafana_dashboard) do