From 1dfc9b8a24b263516f8e80f6e64b90ec9db7031d Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Fri, 1 Jul 2022 15:22:57 +0200 Subject: [PATCH] Cleanup data directory --- data/config/test-services.hcl | 127 --------------------------------- data/config/test-services.json | 127 --------------------------------- 2 files changed, 254 deletions(-) delete mode 100644 data/config/test-services.hcl delete mode 100644 data/config/test-services.json diff --git a/data/config/test-services.hcl b/data/config/test-services.hcl deleted file mode 100644 index 80d5aee..0000000 --- a/data/config/test-services.hcl +++ /dev/null @@ -1,127 +0,0 @@ -LokiStack = { - Name: "LokiStack" - Global: { - Vars: {} - ConfigFiles: [ - { - destination: /etc/hosts - source: hosts.pktpl.hcl - mode: 600 - owner: root - group: root - } - ] - } - Services: { - Loki: { - ConfigFiles: [ - { - destination: /etc/loki/loki-local-config.yaml - source: loki-local-config.pktpl.hcl - mode: 600 - owner: loki - service: loki - group: grafana - } - ] - Repositories: { - Grafana: { - type: helm - name: grafana - url: https://grafana.github.io/helm-charts - enabled:true - } - AlpineTesting: { - type: apk - name: testing - url: http://mirrors.bfsu.edu.cn/alpine/edge/testing - enabled: true - } - } - Packages: { - loki: { - name: loki - action: install - } - promtail: { - name: loki-promtail - action: install - } - loki-helm: { - type: helm - name: loki - repo: grafana/loki-simple-scalable - } - } - Vars: { - AuthEnabled: false - User: loki - Group: grafana - HTTPPort: 3100 - GRPCPort: 9096 - AlertManagerURL: http://localhost:9093 - StorageRoot: /var/loki - SharedStore: filesystem - ObjectStore: filesystem - LogLevel: error - S3: { - URL: - BucketName: - APIKey: - APISecretKey: - } - } - Daemons: { - Loki: { - name: loki - enabled: true - } - } - Users: { - loki: { - username: loki - group: grafana - home : /srv/loki - shell: /bin/nologin - } - } - } - Grafana: { - ConfigFiles: [ - { - destination: /etc/grafana.ini - source: grafana.ini.pktpl.hcl - mode: 700 - owner: grafana - group: grafana - } - ] - Packages: { - grafana: { - name: grafana - action: install - } - } - Vars: { - AuthEnabled: false - User: toto - Group: grafana - } - Users: { - grafana: { - username: grafana - group: grafana - home: /srv/grafana - shell: /bin/nologin - } - } - Daemons: { - grafana: { - name: grafana - type: auto - enabled: true - } - } - } - } -} \ No newline at end of file diff --git a/data/config/test-services.json b/data/config/test-services.json deleted file mode 100644 index 66855d4..0000000 --- a/data/config/test-services.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "Name": "LokiStack", - "Global": { - "Vars": {}, - "ConfigFiles": [ - { - "destination": "/etc/hosts", - "source": "hosts.pktpl.hcl", - "mode": "600", - "owner": "root", - "group": "root" - } - ] - }, - "Services": { - "Loki": { - "ConfigFiles": [ - { - "destination": "/etc/loki/loki-local-config.yaml", - "source": "loki-local-config.pktpl.hcl", - "mode": "600", - "owner": "loki", - "service": "loki", - "group": "grafana" - } - ], - "Repositories": { - "Grafana": { - "type": "helm", - "name": "grafana", - "url": "https://grafana.github.io/helm-charts", - "enabled":true - }, - "AlpineTesting": { - "type": "apk", - "name": "testing", - "url": "http://mirrors.bfsu.edu.cn/alpine/edge/testing", - "enabled": true - } - }, - "Packages": { - "loki": { - "name": "loki", - "action": "install" - }, - "promtail": { - "name": "loki-promtail", - "action": "install" - }, - "loki-helm": { - "type": "helm", - "name": "loki", - "repo": "grafana/loki-simple-scalable" - } - }, - "Vars": { - "AuthEnabled": false, - "User": "loki", - "Group": "grafana", - "HTTPPort": "3100", - "GRPCPort": "9096", - "AlertManagerURL": "http://localhost:9093", - "StorageRoot": "/var/loki", - "SharedStore": "filesystem", - "ObjectStore": "filesystem", - "LogLevel": "error", - "S3": { - "URL": "", - "BucketName": "", - "APIKey": "", - "APISecretKey": "" - } - }, - "Daemons": { - "Loki": { - "name": "loki", - "enabled": true - } - }, - "Users": { - "loki": { - "username": "loki", - "group": "grafana", - "home" : "/srv/loki", - "shell": "/bin/nologin" - } - } - }, - "Grafana": { - "ConfigFiles": [ - { - "destination": "/etc/grafana.ini", - "source": "grafana.ini.pktpl.hcl", - "mode": "700", - "owner": "grafana", - "group": "grafana" - } - ], - "Packages": { - "grafana": { - "name": "grafana", - "action": "install" - } - }, - "Vars": { - "AuthEnabled": false, - "User": "toto", - "Group": "grafana" - }, - "Users": { - "grafana": { - "username": "grafana", - "group": "grafana", - "home": "/srv/grafana", - "shell": "/bin/nologin" - } - }, - "Daemons": { - "grafana": { - "name": "grafana", - "type": "auto", - "enabled": true - } - } - } - } -} \ No newline at end of file