matze
584e0bbda8
__netbox: fix netbox version save
...
The cdist directory needs to be created to write there. This is done
directly after the new tarball is installed.
2020-08-22 22:24:17 +02:00
matze
0b261070d3
__netbox: man note regards creating a superuser
2020-08-22 22:04:33 +02:00
matze
4a04a2c472
__netbox: repalace tabs with whitespaces
...
Doing `s/\t/ /g` to have all times the same indents.
2020-08-22 21:58:44 +02:00
matze
ce47cec2e7
__netbox: silence curl progress bar
...
.. but still showing errors if any.
2020-08-22 21:50:54 +02:00
matze
ae7ffac6bb
__netbox: force virtualenv to be python3
...
Set a flag to be sure it is python3. Else, you may get an ugly error if
python2 is not installed (and netbox requires python3.6 at minimum).
2020-08-22 21:29:30 +02:00
matze
ee3db10ecf
__netbox: auto-install sudo as dependency
...
There are may be systems does not have `sudo` preinstalled like
debian-minimal. Else, `su` could be used as alternative.
2020-08-22 20:55:35 +02:00
matze
9fb3c7f52e
__netbox: fix manpage indents
2020-08-22 16:00:15 +02:00
matze
987393942b
__netbox: add more database parameters
2020-08-22 15:53:24 +02:00
matze
ce77cc4527
__netbox: note + link to find NetBox versions
2020-08-22 14:40:07 +02:00
matze
855843ea34
__netbox: small code and config handling improvements
...
fixed codestyle and detection if config files need to be copied.
2020-08-22 09:19:12 +02:00
matze
e6e6dbcd00
__netbox: added some netbox configuration options
...
Those who might be useful are added ..
2020-08-21 23:50:24 +02:00
matze
a05cb214e1
__netbox: fix shellcheck by changing parameter checks
...
The working `ls | grep .` like solution was dropped based on the
shellcheck warning. Rather a solution with `find(1)` is used.
As alternative, it could be simply checked if the glob succeeds or not
by test all given arguments if there are existing files. It was dropped
in question if it's really better than the `find(1)` solution.
2020-08-20 19:37:09 +02:00
matze
0281b2c804
__netbox: no ldap config if no ldap parameters
...
The ldap config file will be empty (only comments) if no parameter
name set matches `^ldap-*`.
It still generate a ldap config if one or more ldap parameters are set,
but not all basic parameters.
2020-08-20 17:53:25 +02:00
matze
e47cead637
__netbox: add manpage explanation of the type
2020-08-16 15:31:38 +02:00
matze
efab6ac23e
__netbox: add version memorisation
...
This saves the installed version and checks if a new version must be
installed. If no update required, it updates the configuration files
if required.
2020-08-16 15:18:47 +02:00
fnux
dfd9f108b1
__netbox: add minimal manpage
2020-08-12 09:15:18 +02:00
fnux
240b8f1615
__netbox: make shellcheck happy
2020-08-12 09:01:05 +02:00
fnux
47584d6da6
__netbox: use __systemd_unit, do not recreate existing directory
2020-08-12 08:58:29 +02:00
fnux
ef7a214dae
__netbox: support basic LDAP group mapping
2020-07-21 08:30:09 +02:00
fnux
ab2c826cc3
__netbox: add minimal LDAP support
2020-07-21 07:46:45 +02:00
fnux
70047d10b1
Initial __netbox type
2020-07-20 17:20:33 +02:00
fnux
c3a7e62953
Merge branch 'unbound-monitoring' into 'master'
...
__unbound_exporter: prometheus exporter for unbound
See merge request ungleich-public/cdist-contrib!8
2020-07-20 07:49:43 +02:00
fnux
10ccc77803
Merge branch '__matterbridge' into 'master'
...
__matterbridge type
See merge request ungleich-public/cdist-contrib!3
2020-07-11 08:53:54 +02:00
fnux
4ff703e6aa
Fine tuning prometheus exporter for unbound
2020-06-07 10:34:35 +02:00
fnux
bffc38ad52
__unbound_exporter: make shellcheck happy again
2020-06-07 08:58:14 +02:00
fnux
17f6a4dd47
Only shellcheck .sh files in type/*/files/
2020-06-07 08:57:51 +02:00
fnux
d14011c50b
Sync CHANGELOG with __unbound* changes
2020-06-07 08:55:47 +02:00
fnux
1e45d85d4d
Add new __unbound_exporter type
2020-06-07 08:53:56 +02:00
fnux
7b9ffb4a41
__unbound: wire remote control configuration
2020-06-07 08:46:18 +02:00
fnux
25e72d7135
Merge branch 'unbound' into 'master'
...
__unbound type
See merge request ungleich-public/cdist-contrib!7
2020-06-04 17:07:17 +02:00
fnux
89f0dc90ea
Add changelog entry for __unbound type
2020-06-03 15:09:07 +02:00
fnux
3d3a3ef802
Fix shellcheck warnings in newly imported __unbound type
2020-06-03 15:08:04 +02:00
fnux
6b38b248e2
Rename __ungleich_unbound into __unbound
2020-06-03 14:59:42 +02:00
fnux
3adb5ac4ca
Import __ungleich_unbound type for ungleich's dot-cdist
2020-06-03 14:58:43 +02:00
fnux
e4b96ee2a4
Merge branch '__coturn' into 'master'
...
Import __coturn type from ungleich's dot-cdist
See merge request ungleich-public/cdist-contrib!4
2020-05-16 08:29:08 +02:00
evilham
7efa697e5a
[__coturn] Make shellcheck happy
2020-05-15 22:26:33 +02:00
evilham
61bd5b5958
[__coturn] Add support for common parameters and extra-config.
...
extra-config allows for any complex setup to be defined and managed by the type
user.
2020-05-15 22:12:52 +02:00
fnux
45f601c911
__coturn: allow configuration of litening-ip
2020-05-15 12:26:50 +02:00
fnux
442dec51ed
__coturn: fix formating of {allowed,denied}-peer config entries
2020-05-15 12:26:10 +02:00
fnux
962ccb3d6e
Extend __coturn to devuan and ubuntu
2020-05-15 12:18:37 +02:00
fnux
6a41a572bf
Import __coturn type from ungleich's dot-cdist
2020-05-15 10:52:30 +02:00
fnux
43562ff09c
Make __matterbridge shellcheck-friendly
2020-05-15 08:08:45 +02:00
fnux
05a6b8aa42
Import __matterbridge type from ungleich's dot-cdist
2020-05-15 07:57:16 +02:00
fnux
c136d33db4
Merge branch 'policies-and-ci' into 'master'
...
Rolling-release policy, CI, new type requirements (shellcheck + manpage)
See merge request ungleich-public/cdist-contrib!2
2020-05-08 11:22:01 +02:00
fnux
c6da87d3dc
README: update links in CONTRIBUTING section
2020-05-08 11:20:29 +02:00
fnux
7747f87536
Add basic CI configuration
2020-05-07 09:37:30 +02:00
fnux
66bf91f2e9
Add scripts/run-manpage-checks.sh
2020-05-07 09:37:19 +02:00
fnux
898b6a20b0
Move run-shellcheck to scripts/
2020-05-07 09:37:19 +02:00
fnux
88661eb6f3
Add run-shellcheck helper
2020-05-07 08:59:14 +02:00
fnux
9ecffb618d
Add CONTIBUTING section to README
2020-05-07 08:45:21 +02:00