Compare commits

..

No commits in common. "4a5711a5707e93ed8bcee55cfc3ae32a0cf23dc6" and "32563290647ee89b879d7f40516f5d0b584bedd3" have entirely different histories.

6 changed files with 12 additions and 24 deletions

View file

@ -18,7 +18,7 @@ admin_password = node.metadata.get('grafana/config/security/admin_password')
port = node.metadata.get('grafana/config/server/http_port') port = node.metadata.get('grafana/config/server/http_port')
actions['reset_grafana_admin_password'] = { actions['reset_grafana_admin_password'] = {
'command': f"sleep 5 && grafana-cli admin reset-admin-password {quote(admin_password)}", 'command': f"sleep 5 && grafana-cli admin reset-admin-password {quote(admin_password)}",
'unless': f"curl http://admin:{quote(admin_password)}@localhost:{port}/api/org --fail-with-body", 'unless': f"curl http://admin:{quote(admin_password)}@localhost:{port}/api/org",
'needs': [ 'needs': [
'svc_systemd:grafana-server', 'svc_systemd:grafana-server',
], ],
@ -35,8 +35,6 @@ directories = {
}, },
'/var/lib/grafana': {}, '/var/lib/grafana': {},
'/var/lib/grafana/dashboards': { '/var/lib/grafana/dashboards': {
'owner': 'grafana',
'group': 'grafana',
'purge': True, 'purge': True,
'triggers': [ 'triggers': [
'svc_systemd:grafana-server:restart', 'svc_systemd:grafana-server:restart',

View file

@ -2,5 +2,5 @@
cd "$OLDPWD" cd "$OLDPWD"
export BW_ITEM_WORKERS=$(expr "$(nproc)" '*' 15 '/' 10) export BW_ITEM_WORKERS=$(expr $(nproc) '*' 2)
export BW_NODE_WORKERS=$(expr 320 '/' "$BW_ITEM_WORKERS") export BW_NODE_WORKERS=$(expr 256 '/' "$BW_ITEM_WORKERS")

View file

@ -3,14 +3,6 @@
'debian', 'debian',
], ],
'metadata': { 'metadata': {
'apt': {
'sources': {
'deb https://deb.debian.org/debian {codename} main contrib non-free',
'deb https://deb.debian.org/debian {codename}-updates main contrib non-free',
'deb https://deb.debian.org/debian {codename}-backports main contrib non-free',
'deb https://security.debian.org/ {codename}-security main contrib non-free',
},
},
'php': { 'php': {
'version': '7.4', 'version': '7.4',
}, },

View file

@ -3,19 +3,11 @@
'debian', 'debian',
], ],
'metadata': { 'metadata': {
'apt': {
'sources': {
'deb https://deb.debian.org/debian {codename} main contrib non-free non-free-firmware',
'deb https://deb.debian.org/debian {codename}-updates main contrib non-free non-free-firmware',
'deb https://deb.debian.org/debian {codename}-backports main contrib non-free non-free-firmware',
'deb https://security.debian.org/ {codename}-security main contrib non-free non-free-firmware',
},
},
'php': { 'php': {
'version': '8.2', 'version': '8.1',
}, },
'postgresql': { 'postgresql': {
'version': '15', 'version': '14',
}, },
'os_codename': 'bookworm', 'os_codename': 'bookworm',
}, },

View file

@ -9,6 +9,12 @@
], ],
'metadata': { 'metadata': {
'apt': { 'apt': {
'sources': {
'deb https://deb.debian.org/debian {codename} main contrib non-free',
'deb https://deb.debian.org/debian {codename}-updates main contrib non-free',
'deb https://deb.debian.org/debian {codename}-backports main contrib non-free',
'deb https://security.debian.org/ {codename}-security main contrib non-free',
},
'packages': { 'packages': {
'mtr-tiny': {}, 'mtr-tiny': {},
}, },

View file

@ -1,4 +1,4 @@
bundlewrap ~=4.0, >=4.17.2 bundlewrap~=4.17
pycryptodome pycryptodome
PyNaCl PyNaCl
PyYAML PyYAML