Skip to content

Commit

Permalink
mgr: mkdir bootstrap-mgr
Browse files Browse the repository at this point in the history
ceph-deploy rely on bootstrap-mgr 
as follows: https://github.com/ceph/ceph-deploy/blob/master/ceph_deploy/mgr.py#L37

Signed-off-by: huanwen ren <[email protected]>
  • Loading branch information
renhwztetecs authored Apr 27, 2017
1 parent bdcc25b commit 09f32b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,7 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/radosgw
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-osd
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr

%if 0%{?suse_version}
# create __pycache__ directories and their contents
Expand Down Expand Up @@ -962,6 +963,7 @@ rm -rf %{buildroot}
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-osd
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mds
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rgw
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mgr

%post base
/sbin/ldconfig
Expand Down

0 comments on commit 09f32b1

Please sign in to comment.