I don't know why this is in here, but it's disruptive. Perhaps there was a first-run issue
that needed the restart, so I set up the first-time notifications to restart Apache
apache_module 'fastcgi' do
conf true
+ notifies :restart, 'service[apache2]'
end
apache_module 'rewrite' do
conf false
+ notifies :restart, 'service[apache2]'
end
web_app 'rgw' do
ceph_rgw_addr node['ceph']['radosgw']['rgw_addr']
end
-service 'apache2' do
- action :restart
-end
-
template '/var/www/s3gw.fcgi' do
source 's3gw.fcgi.erb'
owner 'root'