From d78f3afe71b5043d8c134f8f45f2d7c99a23fe63 Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Thu, 18 Jun 2015 16:33:50 +0200 Subject: [PATCH] Add missing license headers Change-Id: I6475b01df8a72f07bd62a436d83a44eb3008b3a9 --- .../modules/disk_management/files/add_partition.sh | 14 ++++++++++++++ .../disk_management/lib/facter/unallocated_pvs.rb | 14 ++++++++++++++ .../parser/functions/encode_kibana_dashboard.rb | 14 ++++++++++++++ .../lma_logging_analytics/manifests/kibana.pp | 2 +- 4 files changed, 43 insertions(+), 1 deletion(-) diff --git a/deployment_scripts/puppet/modules/disk_management/files/add_partition.sh b/deployment_scripts/puppet/modules/disk_management/files/add_partition.sh index ceb345f..cddb4e9 100644 --- a/deployment_scripts/puppet/modules/disk_management/files/add_partition.sh +++ b/deployment_scripts/puppet/modules/disk_management/files/add_partition.sh @@ -1,4 +1,18 @@ #!/bin/bash +# 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. +# # Use this script if you want to allocate a new partition. # Ubuntu and CentOS are not configured the same way by Fuel. CentOS is doing diff --git a/deployment_scripts/puppet/modules/disk_management/lib/facter/unallocated_pvs.rb b/deployment_scripts/puppet/modules/disk_management/lib/facter/unallocated_pvs.rb index 876d5b2..3d83fa8 100644 --- a/deployment_scripts/puppet/modules/disk_management/lib/facter/unallocated_pvs.rb +++ b/deployment_scripts/puppet/modules/disk_management/lib/facter/unallocated_pvs.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. +# # Return the list of LVM disk partition that haven't been allocated yet unallocated_pvs = [] diff --git a/deployment_scripts/puppet/modules/lma_logging_analytics/lib/puppet/parser/functions/encode_kibana_dashboard.rb b/deployment_scripts/puppet/modules/lma_logging_analytics/lib/puppet/parser/functions/encode_kibana_dashboard.rb index 10dc501..130a730 100644 --- a/deployment_scripts/puppet/modules/lma_logging_analytics/lib/puppet/parser/functions/encode_kibana_dashboard.rb +++ b/deployment_scripts/puppet/modules/lma_logging_analytics/lib/puppet/parser/functions/encode_kibana_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. +# # Encode a Kibana dashboard file require 'json' diff --git a/deployment_scripts/puppet/modules/lma_logging_analytics/manifests/kibana.pp b/deployment_scripts/puppet/modules/lma_logging_analytics/manifests/kibana.pp index 7d61112..f5dff15 100644 --- a/deployment_scripts/puppet/modules/lma_logging_analytics/manifests/kibana.pp +++ b/deployment_scripts/puppet/modules/lma_logging_analytics/manifests/kibana.pp @@ -23,7 +23,7 @@ class lma_logging_analytics::kibana { $dashboard_dir = $lma_logging_analytics::params::kibana_dashboard_dir $default_route = $lma_logging_analytics::params::kibana_default_route - # Deploy Kibana + # Deploy Kibana file { $kibana_dir: source => 'puppet:///modules/lma_logging_analytics/kibana/src', recurse => true,