Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ForemanTasks::Task.where(:state => :paused).where(:label => "Actions::Katello::Repository::Sync").all.each{|t| t.update_attributes!(:state => 'stopped') }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement