consul-server-key-change-2024 #10

Merged
kazu634 merged 8 commits from consul-server-key-change-2024 into main 2024-03-31 11:26:14 +00:00
5 changed files with 66 additions and 82 deletions

View File

@ -1,24 +1,6 @@
md5:4f683f562e56d8663a72584dfa67b247:salt:116-0-67-185-96-189-235-121:aes-256-cfb:/pbbA5VABbbCOrdOi/C+lfBXQ2v5kTXj7eid4Sh3CaL4fokVqN0txFlLJiqZ md5:1800a974606c4f985f68b8f1f185a72a:salt:50-245-202-18-58-10-23-17:aes-256-cfb:NPwd14i34ZgH7Fn/9uzoutX9OIU1dbmmRnppizicrn3RXvoSGi/8vFlpWrk9
Hstgm8GIFK1+33JHrOdbPCszRjyTW18P0pDmZbXilh0kg5otpYrQ67f5E976 uCY1X59EEgcXdkebb0uY4s16sYyuoJ0Ifs6xN8PJV/FPmnd7KtongsQJoxUZ
mJz9Mr9MeBZ7At6H4nnWAAaSQu2MDgBgrkVLL87NYARn0t0qOz4PAU3mN8Ah RAMPtl/2QVPUOYfLOb8PSNlAZhIKMmwR6jaBQK2shxzWzWL59Q9xQQr3E0NG
e/fT1Awr8s4m/cupKAX6q0vZ4w1mfS+oY9tWeDDppvpr9AuYWLofvaB5axIu wHgNoqFzIPzjGKzB4ol5IsM9Xno16WiG7dsOBUKzjp+Mbl3SvSkx6qbbq+Hq
x54YETl7vvpu+rvkLs9iuzw1Xvws/ztUxS1QBMAlIxBd1ICHMTd0+7hZf/tU hptvWVDlhSts2FrV00+7d6Fv2c3aA9/0RXHqE6ujRRHO6CGHtxwzmD77ctLa
bH7gNqMDaTDAZzruDOisS7H6x47G9rOkGeuS/1RsEB8u3qV2IDXEgwfETfH4 T9U=
f1TUq1s3oaNGGTSnUBxjx0iUMZOk6+vy1xX4oa3bq4wa6PVQONdhrbqx4hvQ
Y69Q36Q4gpTtI58YDx7U+Nc8TEnL6OCRewGOsBjUv5gjMZbn9wMUzFEvNyr3
4gquHT9OARvvmqybm7L8Af7proWAo5Mxy+rB3o0eAjSZ5ND7hQtCMK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A+ZdmkOGd
GD6Kr5+ePhheEvBg23AfcrmZPr30MVa0IHomeQlT4qik6zc239mge1r45Ru0 +wfWAafdrHKip474zPW0Nh/0MgyKNW4EchQqSMI8H2PWRxF32AmIsIa+n4cH
5zvSj/EvfcN8hq/Ds8byURgE2oOXal1EgIvuuQ3dQk4ePETKonJp3LtZCHk2 nGdR5bRgPWxGRQ19pcKi7Qvu231ktZU96MVwVygxwprt6kLsSaBa2Mo2mr4w
yqBQHBbYpzdmKaR4TCecOf0O3Q3IvIE1CpTDhGtN0JbWit8VBBm43VXf6b8S jJ3TPFuXdtChFQgdTs2Df4jXgmlo8znO3WdzJVv3085lHgrjKiCopCrM2kNC
o50fwoVgroRSjoN5LpaTmUWhM+Z9fKIZsPeGNP8W4fhKRCaME3WL5W2T6t8T BabLMzKFkzfGgSCUM4wtsd1BIUYLzMEDZCHeeqaLTYLUqMCcefOM6Yz+MkEI
0/wEl5izZx9/oLlzHzdqCLCoZZCiVN/E9BlgbzrT/3aFYadBvJ2C2FS5q2Ip AKblIbhVgKsv94ShUieTELKFG2Szynpz25AG7nRCwumqZ8TyH1jC4kP5uSEj
1/CPwO3V3CW7cQp575PY/ZfbnmPsF68ZBPOC0MPcOySi9ikICmOT KK/KLziLVpFK2Xco0qNHbaR8HN8QhYSczpJuU5Li7OLhzf5ewEAWyk30rQ==

View File

@ -1,6 +1,6 @@
md5:3fe62feb81f46bc71cf0e43936d98efa:salt:5-77-73-67-58-107-161-252:aes-256-cfb:6B67412gDFtS5lssg5QCREm5vrWJA2pfLbnqySZHkqEp9xd2rG4S+vak3DAk md5:aecc02a5fe8756767577a6b933002798:salt:187-147-187-195-245-156-175-53:aes-256-cfb:AeERgQvTQUNWf61WqyDVkS7r4JYGMx5Vzk8ZaSUZnsk7FaD6Bec/LIklnB9D
9ruQRqOZOs5vmzysY6AONeAK0ghGId9olkPDUqxuj0xZ466Yt4BDGnmTl2rU txATqD86TfG9leSC3cOqWKTuvb3N7IVV6Kvo3MmhwmR96Sia4JBwJBJSyOXO
WoKONoX+GZz7zmVxqYfykHCgkHb0bfV7HRWJKiVBTvxlDQtceoTScu2qrlRj 03eEmwcMMkE5VE5pRhpcvYox2xOP8iOpYXNPNiFYNZQdXqjnvMwpXuTv44wu
aRmsaKvpR2LvNeh+D9tVqmD3+T4924jjO1HqkyAXEu0RENRvwFJIb3Vd9WwC gBUgdpjbYuHCRYmL52/CJ1n34ZrAdwmzac5jpIKtv6eODmP8gX946vs1+hwP
Mp/49miaRSdZ/OkXyu8hG00bqt40Edn9wJSWDHDw5XYYVoBlYYHCfzAuQw3K qlyOJfdQP1g+Zo7gAg6GskBjm1tU/nf0jV+9u/o/UU+b7yrqbEOIgLGSf+qk
fL+BxPM= YQA=

View File

@ -1,22 +1,22 @@
md5:3a2252bcb411d02014a3e1a14efc1cac:salt:4-79-66-221-55-44-210-100:aes-256-cfb:FoeqpBC4Wrwrmu/9a+Jo9ejvJMoLuqfxXLAi4sJHJowcallU4XWZzDWnJHqj md5:1d63f016fe95244d207d92b2182cb1ed:salt:27-175-103-24-138-253-66-49:aes-256-cfb:qTFgf0jV/KOGBDJn6PBkpznIJha9dp2UlRllDe+UXIRiOBhSPy8QpXFWYifG
a8gHLk1bx6ysJp/rTD7oEBp3WEbg3wGu2v+ywl+DrHbArS6lR0PQ0U6mu/EX wwktK3D8pKEItagD1gHbg1kBCTfTD3MvBZaGSnWaUjwgO/OcgIssFo4vNhJo
RiqTPiv7HmvExIBVeMCUamkS7HnKLKdf/X2Mo2z/yWca0gORNeElQoCs/UaC kv5f0dm8TzWtA1YyMoLpA11ym56yGMYolHxaCYC/UNFsl1MTboMfRXq/CZMZ
AXnlgQzd6sYAzxYIYqOQSzz42f1CqA2yIy38R4j8O/VbQ7MBLuDa6b0nYsjp UJoTMnD2oJrT+4LTRvBz9dKJDLzNe1hJTIjIzfPCq4OoxT6zei10aJUevcob
/gMH7KHdeP+5ZeE+JueJjbgChkmuq6soBfWuxuij1uJFhrnKsf9kX7n0uGOh v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v72GN5dpabgoCC wreBQlDkdNig++cif0DwsVjUDdAyPE0nbaKH2+6HxMJzKh0BJjvrJp0LFDCo
9Ul+3gM3k3uOUII6VZe85AHew7Ih5a7DJL3O9jlgCNqIla+LWDFsRsO+nXKK GFGxHnjo1vS1kRBFXW3fyco7nQzjpEBNb9USn9JiJsib3a0WfKXxsMUXTm++
0X0l6mBivT1J0xs4WAFWJDMZzoXDhvrQgxPMeYiRVb42P9XgqvBaRzASa3I0 jbUmzI0D4bKhKMLzCdcLE3cmWsPtqSwJSO/3Ibo4Ewxsrcti1exQaTewTXYK
VqP8bmgauBddgOPMf36R2U2KlomyDcS1qwncrtRX8Ix2jO7Ei+SBiO7g6jV3 LDFkY1byar3R/fFKHgl3F+Tjn1uROBfXsHOcxOWCd7UqcD0+BAp/HdQDeYIq
34tU9eeUpdY7Q2lc88oGJQ8lGRHppMJEm45U8XBzZBMn6kTtoEUTMSu3tz7s O0Y4kQeWuRZW9ALCY8I1D/3Nzs2K6etc4bvan/m6lbB+WJbzk4CrAcr7Bebu
sslPifdBxp9k031DtpI0FRvgf9EDU9CSL3PWuIRkRyllbllpfuPABxe2n41e GsSd7s6W7NsTCGElpmvExa9/EhSdccXz0HeJKeE/xiYo+3X8RtdpOwauuodt
2X1q9yyMe88YByWy8P44dHT5ObsZWjtLspKFXme4jCRAwIljTBdeuBHPa5rX ciOLMw5b9nBoLCjxfZY8hr+7BQOw8/UFnfmEZMUpPTwJgBurs2NfdTsagzbz
6awSzdPfwbrBeUNBcHBKxmGAODmkiv4akakYRl7kipcMIY1mx948Rc0XCwvx nx18+nfgRvbRTRvjZrcfrSTKSzJsnujcdBzApMdTd9+fopZNrs3MXFSLGBQc
XGBNhzyQZogKZZUpTqANvqOf7e+RJpHJ FHP3qYlBLAF7gZLrCPdfGkOrLA==

View File

@ -71,14 +71,16 @@ template '/etc/consul.d/consul.hcl' do
end end
# Deploy server specific config # Deploy server specific config
template '/etc/consul.d/server.hcl' do if node['consul']['manager']
owner 'consul' template '/etc/consul.d/server.hcl' do
group 'consul' owner 'consul'
mode '644' group 'consul'
mode '644'
variables(server_token: node['consul']['server_token']) variables(server_token: node['consul']['server_token'])
notifies :restart, 'service[consul]' notifies :restart, 'service[consul]'
end
end end
%w( 01-bootstrap.sh 02-policy.sh ).each do |sh| %w( 01-bootstrap.sh 02-policy.sh ).each do |sh|