initial commit, create bundlewrap repo

This commit is contained in:
Franzi 2020-02-23 10:13:45 +00:00
commit 700ab964bf
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
5 changed files with 30 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.secrets.cfg

18
groups.py Normal file
View File

@ -0,0 +1,18 @@
groups = {
#'group-1': {
# 'bundles': (
# 'bundle-1',
# ),
# 'members': (
# 'node-1',
# ),
# 'subgroups': (
# 'group-2',
# ),
#},
'all': {
'member_patterns': (
r".*",
),
},
}

7
nodes.py Normal file
View File

@ -0,0 +1,7 @@
from os.path import join
from pathlib import Path
nodes = {}
for node in Path(join(repo_path, "nodes")).rglob("*.py"):
with open(node, 'r') as f:
exec(f.read())

View File

@ -0,0 +1,3 @@
nodes['htz.ex42-1048908'] = {
'dummy': True, # Legacy Node
}

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
bundlewrap>=3.8.0