You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to stop a service prior to creating and mounting a volume.
Steps to Reproduce:
Recipe example:
lvm_thin_volume 'storage' do
action :create
group 'storage'
pool 'thinpool'
size '20G'
filesystem 'xfs'
mount_point location: '/mnt/storage'
notifies :stop, 'service[myservice]', :before
end
service 'myservice' do
action [:start, :enable]
end
Expected Result:
Service is stopped, volume created and mounted, then service is started again.
Actual Result:
Service is not stopped before creating and mounting the volume.
The text was updated successfully, but these errors were encountered:
Cookbook version
4.1.12
Chef-client version
12.21.31
Platform Details
CentOS Linux release 7.4.1708 (Core)
Scenario:
I want to stop a service prior to creating and mounting a volume.
Steps to Reproduce:
Recipe example:
Expected Result:
Service is stopped, volume created and mounted, then service is started again.
Actual Result:
Service is not stopped before creating and mounting the volume.
The text was updated successfully, but these errors were encountered: