Merge branch 'ceph-dir-ownership' of https://github.com/centraldesktop/ceph-cookbooks
This commit is contained in:
commit
059e87d59b
@ -8,6 +8,13 @@ if node['roles'].include? 'ceph-radosgw'
|
||||
is_rgw = true
|
||||
end
|
||||
|
||||
directory "/etc/ceph" do
|
||||
owner "root"
|
||||
group "root"
|
||||
mode "0755"
|
||||
action :create
|
||||
end
|
||||
|
||||
template '/etc/ceph/ceph.conf' do
|
||||
source 'ceph.conf.erb'
|
||||
variables(
|
||||
|
@ -48,13 +48,6 @@ unless File.exists?("/var/lib/ceph/radosgw/ceph-radosgw.#{node['hostname']}/done
|
||||
include_recipe "ceph::radosgw_#{node["ceph"]["radosgw"]["webserver_companion"]}"
|
||||
end
|
||||
|
||||
directory "/etc/ceph" do
|
||||
owner "root"
|
||||
group "root"
|
||||
mode "0755"
|
||||
action :create
|
||||
end
|
||||
|
||||
ruby_block "create rados gateway client key" do
|
||||
block do
|
||||
keyring = %x[ ceph auth get-or-create client.radosgw.#{node['hostname']} osd 'allow rwx' mon 'allow r' --name mon. --key='#{node["ceph"]["monitor-secret"]}' ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user