Sha256: 84cc16ef026cbec8a2ab765e18f96e84636378ba4c5fa65ff25cae48f5c67407

Contents?: true

Size: 648 Bytes

Versions: 224

Compression:

Stored size: 648 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'amazon'

describe get_command(:enable_service, 'httpd') do
  it { should eq 'chkconfig httpd on' }
end

describe get_command(:disable_service, 'httpd') do
  it { should eq 'chkconfig httpd off' }
end

describe get_command(:start_service, 'httpd') do
  it { should eq 'service httpd start' }
end

describe get_command(:stop_service, 'httpd') do
  it { should eq 'service httpd stop' }
end

describe get_command(:restart_service, 'httpd') do
  it { should eq 'service httpd restart' }
end

describe get_command(:reload_service, 'httpd') do
  it { should eq 'service httpd reload' }
end

Version data entries

224 entries across 224 versions & 3 rubygems

Version Path
specinfra-2.82.5 spec/command/amazon/service_spec.rb
specinfra-2.82.4 spec/command/amazon/service_spec.rb
specinfra-2.82.3 spec/command/amazon/service_spec.rb
specinfra-2.82.2 spec/command/amazon/service_spec.rb
specinfra-2.82.1 spec/command/amazon/service_spec.rb
specinfra-2.82.0 spec/command/amazon/service_spec.rb
specinfra-2.81.0 spec/command/amazon/service_spec.rb
specinfra-2.80.0 spec/command/amazon/service_spec.rb
specinfra-2.79.0 spec/command/amazon/service_spec.rb
specinfra-2.78.2 spec/command/amazon/service_spec.rb
specinfra-2.78.1 spec/command/amazon/service_spec.rb
specinfra-2.78.0 spec/command/amazon/service_spec.rb
specinfra-2.77.3 spec/command/amazon/service_spec.rb
specinfra-2.77.2 spec/command/amazon/service_spec.rb
specinfra-2.77.1 spec/command/amazon/service_spec.rb
specinfra-2.77.0 spec/command/amazon/service_spec.rb
specinfra-2.76.9 spec/command/amazon/service_spec.rb
specinfra-2.76.8 spec/command/amazon/service_spec.rb
specinfra-2.76.7 spec/command/amazon/service_spec.rb
specinfra-2.76.6 spec/command/amazon/service_spec.rb