diff --git a/deploy/aws/provision/tasks/prometheus/main.yml b/deploy/aws/provision/tasks/prometheus/main.yml index 00f495ce8..450bb9e22 100644 --- a/deploy/aws/provision/tasks/prometheus/main.yml +++ b/deploy/aws/provision/tasks/prometheus/main.yml @@ -1,12 +1,12 @@ --- # Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. -# + # 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. diff --git a/deploy/aws/provision/templates/awscli.conf.j2 b/deploy/aws/provision/templates/awscli.conf.j2 index 744ff9a9a..8b3e1985e 100644 --- a/deploy/aws/provision/templates/awscli.conf.j2 +++ b/deploy/aws/provision/templates/awscli.conf.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} awscli.conf [plugins] cwlogs = cwlogs diff --git a/deploy/aws/provision/templates/awslogs.conf.j2 b/deploy/aws/provision/templates/awslogs.conf.j2 index ab448b539..abb29446d 100644 --- a/deploy/aws/provision/templates/awslogs.conf.j2 +++ b/deploy/aws/provision/templates/awslogs.conf.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} [/var/log/messages] datetime_format = %b %d %H:%M:%S file = /var/log/messages diff --git a/deploy/aws/provision/templates/exporter-start.sh.j2 b/deploy/aws/provision/templates/exporter-start.sh.j2 index cc40df8ba..1fef2bc54 100644 --- a/deploy/aws/provision/templates/exporter-start.sh.j2 +++ b/deploy/aws/provision/templates/exporter-start.sh.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} #!/bin/bash export NODE_EXPORTER_HOME=/var/qed/node_exporter diff --git a/deploy/aws/provision/templates/prometheus-config.yml.j2 b/deploy/aws/provision/templates/prometheus-config.yml.j2 index a3aba894f..9932ab01b 100644 --- a/deploy/aws/provision/templates/prometheus-config.yml.j2 +++ b/deploy/aws/provision/templates/prometheus-config.yml.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} --- global: scrape_interval: 15s diff --git a/deploy/aws/provision/templates/prometheus-start.sh.j2 b/deploy/aws/provision/templates/prometheus-start.sh.j2 index c1487da68..6b4e9014a 100644 --- a/deploy/aws/provision/templates/prometheus-start.sh.j2 +++ b/deploy/aws/provision/templates/prometheus-start.sh.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} #!/bin/bash export PROMETHEUS_HOME=/var/prometheus diff --git a/deploy/aws/provision/templates/qed-config.yml.j2 b/deploy/aws/provision/templates/qed-config.yml.j2 index b64d35eb9..a591b4457 100644 --- a/deploy/aws/provision/templates/qed-config.yml.j2 +++ b/deploy/aws/provision/templates/qed-config.yml.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} --- api_key: "terraform_qed" path: "/var/qed/" diff --git a/deploy/aws/provision/templates/qed-start.sh.j2 b/deploy/aws/provision/templates/qed-start.sh.j2 index b98f09221..6d18eb320 100644 --- a/deploy/aws/provision/templates/qed-start.sh.j2 +++ b/deploy/aws/provision/templates/qed-start.sh.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} #!/bin/bash export QED_HOME=/var/qed diff --git a/deploy/aws/provision/templates/qed-stop.sh.j2 b/deploy/aws/provision/templates/qed-stop.sh.j2 index 38bfe5bba..a19e1b19a 100644 --- a/deploy/aws/provision/templates/qed-stop.sh.j2 +++ b/deploy/aws/provision/templates/qed-stop.sh.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} #!/bin/bash killall -9 qed diff --git a/deploy/aws/provision/templates/storage-start.sh.j2 b/deploy/aws/provision/templates/storage-start.sh.j2 index 277eb247b..763e2fae8 100644 --- a/deploy/aws/provision/templates/storage-start.sh.j2 +++ b/deploy/aws/provision/templates/storage-start.sh.j2 @@ -1,3 +1,18 @@ +{# + Copyright 2018 Banco Bilbao Vizcaya Argentaria, S.A. + + 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. +#} #!/bin/bash export STORAGE_HOME=/var/qed