]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commit
Add bootstrap-osd key after it's been created if databags are not used 206/head
authorNick Van Wiggeren <nvanwiggeren@digitalocean.com>
Wed, 5 Aug 2015 17:20:39 +0000 (13:20 -0400)
committerNick Van Wiggeren <nvanwiggeren@digitalocean.com>
Wed, 5 Aug 2015 17:26:20 +0000 (13:26 -0400)
commite1f0844a5cc3cc96eef2b5b4c37104fa4a758ed9
tree58701633a25e0852556033c29dc427d8e2280f22
parenta187a02476bf121643b1d3191791565240d4f9be
Add bootstrap-osd key after it's been created if databags are not used

This change fixes a regression introduced 807f08 that caused
the cookbook to fail if data_bags were not used. The bootstrap-osd
key would not be created at the time of the key being added to the
keyring, causing the chef run to fail. We now try to add the key after
we've checked if the key needs to be created, which will only happen
if we're not using data_bags
recipes/mon.rb