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
9fb3c7f52e
__netbox: fix manpage indents
2020-08-22 16:00:15 +02:00
987393942b
__netbox: add more database parameters
2020-08-22 15:53:24 +02:00
ce77cc4527
__netbox: note + link to find NetBox versions
2020-08-22 14:40:07 +02:00
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
e6e6dbcd00
__netbox: added some netbox configuration options
...
Those who might be useful are added ..
2020-08-21 23:50:24 +02:00
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
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
e47cead637
__netbox: add manpage explanation of the type
2020-08-16 15:31:38 +02:00
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
dfd9f108b1
__netbox: add minimal manpage
2020-08-12 09:15:18 +02:00
240b8f1615
__netbox: make shellcheck happy
2020-08-12 09:01:05 +02:00
47584d6da6
__netbox: use __systemd_unit, do not recreate existing directory
2020-08-12 08:58:29 +02:00
ef7a214dae
__netbox: support basic LDAP group mapping
2020-07-21 08:30:09 +02:00
ab2c826cc3
__netbox: add minimal LDAP support
2020-07-21 07:46:45 +02:00
70047d10b1
Initial __netbox type
2020-07-20 17:20:33 +02:00