standardizing templates to Bastillefile syntax & cleanup

This commit is contained in:
Christer Edwards
2021-12-24 21:47:04 -07:00
parent ed664ae8e9
commit ef70687808
217 changed files with 218 additions and 1917 deletions

View File

@@ -0,0 +1,4 @@
PKG prometheus
CP usr /
SYSRC prometheus_enable=YES
SERVICE prometheus start

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -1 +0,0 @@
usr

View File

@@ -1 +0,0 @@
prometheus

View File

@@ -1,17 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/prometheus/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/prometheus/commits/master)
## prometheus
Bastille Template to bootstrap Prometheus.
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/prometheus
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/prometheus
bastille template TARGET net-mgmt/prometheus
```

View File

@@ -1 +0,0 @@
prometheus start

View File

@@ -1 +0,0 @@
prometheus_enable=YES

View File

@@ -0,0 +1,3 @@
PKG telegraf
SYSRC telegraf_enable=YES
SERVICE telegraf restart

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -1 +0,0 @@
telegraf

View File

@@ -1,15 +1,12 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/telegraf/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/telegraf/commits/master)
## telegraf
Bastille Template to bootstrap Telegraf
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/telegraf
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/telegraf
bastille template TARGET net-mgmt/telegraf
```

View File

@@ -1 +0,0 @@
telegraf restart

View File

@@ -1 +0,0 @@
telegraf_enable=YES

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2019-2021, Christer Edwards <christer.edwards@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -1,14 +1,9 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/zabbix-agent/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/zabbix-agent/commits/master)
## Bootstrap
```shell
bastille bootstrap https://github.com/bastillebsd-templates/zabbix-agent
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage
```shell
bastille template TARGET bastillebsd-templates/zabbix-agent
```

View File

@@ -1,13 +1,10 @@
## Status
[![pipeline status](https://gitlab.com/bastillebsd-templates/zabbix-server/badges/master/pipeline.svg)](https://gitlab.com/bastillebsd-templates/zabbix-server/commits/master)
## zabbix-server
Bastille template to bootstrap zabbix-server
## Bootstrap
```shell
bastille bootstrap https://gitlab.com/bastillebsd-templates/zabbix-server
bastille bootstrap https://github.com/bastillebsd/templates
```
## Usage