From 4878b0d0e05e86889e0458650a1901603d1a3d97 Mon Sep 17 00:00:00 2001 From: "Mitch Harding (the weird one)" Date: Fri, 15 Mar 2024 15:36:17 -0400 Subject: [PATCH] CASMPET-6925: Add missing copyright headers (cherry picked from commit 78ceb2fab9bcf548aaf050557c1c5f4774461e8e) --- goss-testing/scripts/ceph-service-status.sh | 24 ++++++++++++++++++- .../check_goss_k8s_pods_ips_in_nmn_pool.sh | 23 ++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/goss-testing/scripts/ceph-service-status.sh b/goss-testing/scripts/ceph-service-status.sh index fb696b0c..bc1cdf97 100755 --- a/goss-testing/scripts/ceph-service-status.sh +++ b/goss-testing/scripts/ceph-service-status.sh @@ -1,5 +1,27 @@ #!/bin/bash -# Copyright 2021 Hewlett Packard Enterprise Development LP +# +# MIT License +# +# (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. +# # Default values verbose=false diff --git a/goss-testing/scripts/check_goss_k8s_pods_ips_in_nmn_pool.sh b/goss-testing/scripts/check_goss_k8s_pods_ips_in_nmn_pool.sh index 8f3514a4..2e016a83 100755 --- a/goss-testing/scripts/check_goss_k8s_pods_ips_in_nmn_pool.sh +++ b/goss-testing/scripts/check_goss_k8s_pods_ips_in_nmn_pool.sh @@ -1,4 +1,27 @@ #!/bin/bash +# +# MIT License +# +# (C) Copyright 2023-2024 Hewlett Packard Enterprise Development LP +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. +# out=$(cray sls search networks list --name NMN --format json 2>&1) if [ "$?" -eq 0 ]; then