Commit Graph

16 Commits

Author SHA1 Message Date
Uwe Grawert ce8db1065d Fix some small typos in startup_scripts
- group creation prints proper group name
  - permission creation prints proper permission name
2021-10-25 14:36:37 +02:00
ryanmerolle a1e0c52825 revert startup scripts to use key for object name 2021-04-24 10:41:06 -04:00
ryanmerolle b1bcfcbc4e fix isort on groups & permissions scripts 2021-04-21 08:27:20 -04:00
ryanmerolle a7a5d13637 updated given linting feedback 2021-04-20 18:05:47 -04: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
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
Christian Mäder 4b1514f8d3
Remove debug statement 2019-10-11 16:31:56 +02: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/10_groups.py (Browse further)