diff options
author | Tommi Virtanen <tv@inktank.com> | 2012-08-30 10:16:52 -0400 |
---|---|---|
committer | Tommi Virtanen <tv@inktank.com> | 2012-09-05 11:28:04 -0700 |
commit | 787a78e8b1d8e5d92ee447b970ec8b79baa46f0b (patch) | |
tree | 6b8e34e9dbe89c4c402ae1bf5b0c58b44ac7d794 /ceph.spec.in | |
parent | 66aecb1e410a59f3e0ed89a30212b8dc546a3d4a (diff) | |
download | ceph-787a78e8b1d8e5d92ee447b970ec8b79baa46f0b.tar.gz |
upstart, ceph-create-keys: Make client.admin key generation automatic.
This should help simplify Chef etc deployments. Now (when using the
Upstart jobs), when a ceph-mon is started, ceph-create-admin-key is
triggered. If /etc/ceph/$cluster.client.admin.keyring already exists,
it does nothing; otherwise, it waits for ceph-mon to reach quorum, and
then does a "ceph auth get-or-create" to create the key, and writes it
atomically to disk.
The equivalent code can be removed from the Chef cookbook once this is
in.
Signed-off-by: Tommi Virtanen <tv@inktank.com>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r-- | ceph.spec.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index 54b307e4224..770ac452470 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -328,6 +328,7 @@ fi %{_libdir}/rados-classes/libcls_rgw.so* /sbin/ceph-disk-activate /sbin/ceph-disk-prepare +/sbin/ceph-create-keys ################################################################################# %files fuse |