Skip to content

Commit

Permalink
chore: add SPDX License Identifier header to files
Browse files Browse the repository at this point in the history
closes #104

Signed-off-by: Shantanoo 'Shan' Desai <[email protected]>
  • Loading branch information
shantanoo-desai committed Jul 28, 2023
1 parent f71e1b7 commit 1d38ee8
Show file tree
Hide file tree
Showing 41 changed files with 84 additions and 7 deletions.
2 changes: 2 additions & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only

[defaults]
ansible_managed = This file is generated by Komponist.%n
Generated On: %Y-%m-%d %H:%M:%S %n
Expand Down
2 changes: 2 additions & 0 deletions filter_plugins/mosquitto_passwd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions generate_stack.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{#- Komponist - Generate Your Favourite Compose Stack With the Least Effort
{#-
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
#
Expand Down
2 changes: 2 additions & 0 deletions templates/config/komponist.env.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
5 changes: 4 additions & 1 deletion templates/config/mosquitto/acl.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{#- Komponist - Generate Your Favourite Compose Stack With the Least Effort
{#-
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
#
Expand Down
2 changes: 2 additions & 0 deletions templates/config/mosquitto/mosquitto.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
5 changes: 4 additions & 1 deletion templates/config/mosquitto/users.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{#- Komponist - Generate Your Favourite Compose Stack With the Least Effort
{#-
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
#
Expand Down
3 changes: 2 additions & 1 deletion templates/config/nodered/settings.js.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
/* SPDX-License-Identifier: AGPL-3.0-only
*
* Komponist - Generate Your Favourite Compose Stack With the Least Effort
*
* Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/config/telegraf/inputs/mosquitto.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
5 changes: 4 additions & 1 deletion templates/config/telegraf/outputs/influxdbv1.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{# Komponist - Generate Your Favourite Compose Stack With the Least Effort
{#-
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
#
Expand Down
5 changes: 4 additions & 1 deletion templates/config/telegraf/outputs/influxdbv2.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{# Komponist - Generate Your Favourite Compose Stack With the Least Effort
{#-
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
#
Expand Down
5 changes: 4 additions & 1 deletion templates/config/telegraf/outputs/questdb.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{# Komponist - Generate Your Favourite Compose Stack With the Least Effort
{#-
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
#
Expand Down
2 changes: 2 additions & 0 deletions templates/config/telegraf/telegraf.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/config/traefik/configurations/dynamic.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/config/traefik/traefik.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/license_header.txt.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.grafana.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.influxdbv1.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.influxdbv2.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.mosquitto.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.nodered.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.questdb.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.telegraf.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.timescaledb.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions templates/services/docker-compose.traefik.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <sdes[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions tests/services/test_compose_schema.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Perform Lookup for {{ item }} File
ansible.builtin.set_fact:
compose_service_file: "{{ lookup('ansible.builtin.file', '{{ item }}') | from_yaml }}"
Expand Down
1 change: 1 addition & 0 deletions tests/services/test_config_grafana.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Get stats for Grafana Files in dedicated directory under deploy_dir
ansible.builtin.stat:
Expand Down
1 change: 1 addition & 0 deletions tests/services/test_config_influxdb.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Get stats for InfluxDBv1/v2 environment file in dedicated directory under deploy_dir
ansible.builtin.stat:
Expand Down
1 change: 1 addition & 0 deletions tests/services/test_config_mosquitto.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Get stats for Mosquitto related configuration files
ansible.builtin.stat:
Expand Down
1 change: 1 addition & 0 deletions tests/services/test_config_nodered.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Get stats for Node-RED settings file
ansible.builtin.stat:
Expand Down
1 change: 1 addition & 0 deletions tests/services/test_config_telegraf.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Get stats for Telegraf configuration file
ansible.builtin.stat:
Expand Down
1 change: 1 addition & 0 deletions tests/services/test_config_traefik.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Get stats for Traefik related configuration files
ansible.builtin.stat:
Expand Down
1 change: 1 addition & 0 deletions tests/test_file_contents.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Test Content for Mosquitto / Node-RED Generated Files
hosts: localhost
Expand Down
1 change: 1 addition & 0 deletions tests/test_generated_directories.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: Directory Structure Creation Tests
vars:
Expand Down
1 change: 1 addition & 0 deletions tests/test_generated_files.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: File Generation Tests
vars_files:
Expand Down
1 change: 1 addition & 0 deletions tests/test_schemas.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-only
---
- name: JSON / YAML Schema Validation for Generated Files
hosts: localhost
Expand Down
2 changes: 2 additions & 0 deletions tui-configurator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions tui-configurator/tui-script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions vars/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions vars/creds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
#
# Komponist - Generate Your Favourite Compose Stack With the Least Effort
#
# Copyright (C) 2023 Shantanoo "Shan" Desai <[email protected]>
Expand Down

0 comments on commit 1d38ee8

Please sign in to comment.