Project

General

Profile

« Previous | Next » 

Revision 6082107d

Added by Kavita Gaikwad about 5 years ago

Fixes #22198 - maintenance-mode subcommand with start/stop/status (#180)

  • Fixes #22198 - maintenance-mode subcommand with start/stop/status

View differences:

definitions/procedures/service/base.rb
def self.common_params(context)
context.instance_eval do
param :only, 'A comma-separated list of services to include', :array => true
param :only, 'A comma-separated list of services to run', :array => true
param :exclude, 'A comma-separated list of services to skip', :array => true
param :include, 'A comma-separated list of services to include', :array => true
end
end
......
end
def common_options
{ :only => @only, :exclude => @exclude }
{ :only => @only, :exclude => @exclude, :include => @include }
end
private

Also available in: Unified diff