We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
execute 'execute-scheduled-karaf-restart' do command 'rm -f /tmp/karaf-restart' action :run notifies :stop, 'service[karaf-deploy-stop]', :immediately # notifies cache folders deletion $karaf_cache.each do |cache_folder| notifies :delete, "directory[#{cache_folder}]", :immediately end notifies :start, 'service[karaf]', :immediately only_if do ::File.exist?('/tmp/karaf-restart') end end
The only_if here should just be a single line
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The only_if here should just be a single line
The text was updated successfully, but these errors were encountered: