Commit Graph

14 Commits

Author SHA1 Message Date
kr3ator 9be7b0e109 feat: Make startup scripts idempotent 2022-04-07 19:47:19 +02:00
ryanmerolle 5d4ecb7f9e user, group, & permissions fix 2021-04-20 17:47:49 -04:00
Christian Mäder 493fc60401 Use black as formatter for python files 2021-02-08 18:24:29 +01:00
Christian Mäder e383fd42bd Fix custom fields initializer 2020-12-14 22:11:01 +01:00
Tobias Genannt 3ace32dfc2 Fixed creation of passwords for Netbox 2.9 2020-08-24 11:08:28 +02:00
Tobias Genannt 8d3bd48c7a Permission handling in external function
This move the setting of user and group permissions in the startup
script to its own function.
2020-02-12 09:36:49 +01:00
Tobias Genannt 50ade7bce1 Add function to load YAML files
This commit starts to remove some code redundancy from the startup
scripts for easier maintenance.
2020-02-10 07:47:17 +01:00
Christian Mäder 3d80cc5a72 Tiny code refactoring 2020-02-02 09:48:02 +01:00
Christian Mäder 69ef7b7827 Removed the eval from the code
... and changed it to make it work with the latest Netbox version.
2020-01-31 11:39:05 +01:00
Les Begnaud aa0d2a6e01 simplify yml definitions to use wildcard syntax 2020-01-31 09:27:34 +01:00
Les Begnaud 927a545f41 adjust groups and users startup scripts to allow custom codename filter 2020-01-31 09:27:34 +01:00
Les Begnaud e6e7647f32 adjusts users and groups startup scripts to accomdate non-uniqueness 2019-07-26 14:13:15 -05:00
Christian Mäder e46a7d2f7f
Ignore missing initializers
Previously, the startup_scripts would fail if an initializer file was
not present. Now they just ignore missing files.
2018-12-19 14:25:58 +01:00
Aleksandar Radunovic 97477556e0 Increase order prefix to 3 digits 2018-10-16 13:26:13 +02:00
Renamed from startup_scripts/00_users.py (Browse further)