diff --git a/data_bags/credentials/akkounts.json b/data_bags/credentials/akkounts.json index bc7f7a0..cc0a979 100644 --- a/data_bags/credentials/akkounts.json +++ b/data_bags/credentials/akkounts.json @@ -1,23 +1,30 @@ { "id": "akkounts", "postgresql_username": { - "encrypted_data": "Mw+E6dXUYIRQgMzfxij9cFT9XFauVn9VUT9p\n", - "iv": "c2b2zKGTf1S3laui\n", - "auth_tag": "3ytXQSpxNYXGEeDOTq5g7g==\n", + "encrypted_data": "drHBdPcrH3BqlsVfWP/vL5Thok8Uub6JhjuU\n", + "iv": "n+08nhiHoK4jRVwd\n", + "auth_tag": "elB4rx8k+jj34iQepECQNA==\n", "version": 3, "cipher": "aes-256-gcm" }, "postgresql_password": { - "encrypted_data": "UCwTT6i0ORWiVRn5gbjWMOuikAIb7gAwL8g0TFhIvg==\n", - "iv": "xL6W4GqhxAf7FxmK\n", - "auth_tag": "EFE3C0PBAuusn/SqTAdyYA==\n", + "encrypted_data": "Hu8yjpvf3/KY/K3gcbRbEce3OkjSrN91m2lCcePT+A==\n", + "iv": "+GFS35dpYy4zD2pi\n", + "auth_tag": "jCJQMskBFo9TSr8Uq7BWkw==\n", + "version": 3, + "cipher": "aes-256-gcm" + }, + "sentry_dsn": { + "encrypted_data": "KG8apiKfWa4gWwiz8tFLZywpp7gMp3hLDCREeR/RA6+i6Of7qYRx0YRzYdpE\n8gdaO0EOQZ4PXzVBsiIQy4ijHRt8udo2PNzzZP6h91jdAjw=\n", + "iv": "KWU6LeHdE3iwPyBU\n", + "auth_tag": "7pQO/t8pXiwrlb5xAas+Zg==\n", "version": 3, "cipher": "aes-256-gcm" }, "rails_master_key": { - "encrypted_data": "QZD0AJIcq3iqrFAHN9DHxfctCXAMRQjuTSI9QgmaIUXgCz4+3LawI6eYGvr9\nV2nyDGJa\n", - "iv": "4hw1Dk+NsQ8wF7Og\n", - "auth_tag": "uoVSykmRQImRld1Ln0bg2g==\n", + "encrypted_data": "E4OVlsZgm9wupyi9Xs7iEy11wJrCXL0Qrm9akulW7vmdrEfnI8KC6x1UooM+\nEI1fYmLs\n", + "iv": "YFRMYT8D+bF+iu5+\n", + "auth_tag": "wT7rorNWEKGNR7xQLTe/xg==\n", "version": 3, "cipher": "aes-256-gcm" } diff --git a/nodes/akkounts-1.json b/nodes/akkounts-1.json index 5932557..9f670b3 100644 --- a/nodes/akkounts-1.json +++ b/nodes/akkounts-1.json @@ -16,6 +16,7 @@ "base", "kvm_guest", "ldap_client", + "sentry_client", "akkounts", "postgresql_client" ], @@ -24,6 +25,7 @@ "kosmos-base::default", "kosmos_kvm::guest", "kosmos-dirsrv::hostsfile", + "kosmos_sentry::client", "kosmos_postgresql::hostsfile", "kosmos-akkounts", "kosmos-akkounts::default", @@ -77,4 +79,4 @@ "role[sentry_client]", "role[akkounts]" ] -} +} \ No newline at end of file diff --git a/site-cookbooks/kosmos-akkounts/recipes/default.rb b/site-cookbooks/kosmos-akkounts/recipes/default.rb index c555f63..10290cc 100644 --- a/site-cookbooks/kosmos-akkounts/recipes/default.rb +++ b/site-cookbooks/kosmos-akkounts/recipes/default.rb @@ -53,6 +53,8 @@ env[:smtp] = { enable_starttls: node['akkounts']['smtp']['enable_starttls'] } +env[:sentry_dsn] = credentials["sentry_dsn"] + if webhooks_allowed_ips.length > 0 env[:webhooks_allowed_ips] = webhooks_allowed_ips end