Sha256: 4f73028b7e39df6c820810186a003887e3557f476005bb8136800dc4c6c32348
Contents?: true
Size: 795 Bytes
Versions: 15
Compression:
Stored size: 795 Bytes
Contents
require 'spec_helper' property[:os] = nil set :os, :family => 'amazon', :release => '2022' describe get_command(:enable_service, 'httpd') do it { should eq 'systemctl enable httpd' } end describe get_command(:disable_service, 'httpd') do it { should eq 'systemctl disable httpd' } end describe get_command(:start_service, 'httpd') do it { should eq 'systemctl start httpd' } end describe get_command(:stop_service, 'httpd') do it { should eq 'systemctl stop httpd' } end describe get_command(:restart_service, 'httpd') do it { should eq 'systemctl restart httpd' } end describe get_command(:reload_service, 'httpd') do it { should eq 'systemctl reload httpd' } end describe get_command(:enable_service, 'sshd.socket') do it { should eq 'systemctl enable sshd.socket' } end
Version data entries
15 entries across 15 versions & 1 rubygems