Commit 49eccd6a authored by Alain Takoudjou's avatar Alain Takoudjou

resilient: force regeneration (on upgrade) of ssh certificate of pbs instance

parent 536fe366
...@@ -66,7 +66,7 @@ mode = 0644 ...@@ -66,7 +66,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-pull-backup.cfg.in url = ${:_profile_base_location_}/instance-pull-backup.cfg.in
output = ${buildout:directory}/instance-pull-backup.cfg output = ${buildout:directory}/instance-pull-backup.cfg
md5sum = 683d178a7ebb60b949d638120dce19ca md5sum = 3892f86fcf850511dc0e6e4983b1961a
mode = 0644 mode = 0644
[template-replicated] [template-replicated]
......
...@@ -32,7 +32,6 @@ offline = true ...@@ -32,7 +32,6 @@ offline = true
[rootdirectory] [rootdirectory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc etc = $${buildout:directory}/etc
home = $${buildout:directory}/home
srv = $${buildout:directory}/srv srv = $${buildout:directory}/srv
bin = $${buildout:directory}/bin bin = $${buildout:directory}/bin
tmp = $${buildout:directory}/tmp tmp = $${buildout:directory}/tmp
...@@ -45,7 +44,7 @@ services = $${rootdirectory:etc}/service ...@@ -45,7 +44,7 @@ services = $${rootdirectory:etc}/service
run = $${rootdirectory:var}/run run = $${rootdirectory:var}/run
backup = $${rootdirectory:srv}/backup backup = $${rootdirectory:srv}/backup
promises = $${rootdirectory:etc}/promise promises = $${rootdirectory:etc}/promise
ssh-home = $${rootdirectory:home}/ssh ssh-home = $${rootdirectory:etc}/ssh
notifier = $${rootdirectory:etc}/notifier notifier = $${rootdirectory:etc}/notifier
[directory] [directory]
...@@ -209,8 +208,8 @@ rotate-num = 30 ...@@ -209,8 +208,8 @@ rotate-num = 30
[sshkeys-directory] [sshkeys-directory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
requests = $${directory:sshkeys}/requests requests = $${directory:sshkeys}/openssl-requests
keys = $${directory:sshkeys}/keys keys = $${directory:sshkeys}/openssl-keys
[pbs-sshkeys-authority] [pbs-sshkeys-authority]
recipe = slapos.cookbook:sshkeys_authority recipe = slapos.cookbook:sshkeys_authority
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment