Sha256: 432e01f05981dd188f53722b2ef41cec1b5af23d9e3d1f4c826915b04d221cf8

Contents?: true

Size: 627 Bytes

Versions: 47

Compression:

Stored size: 627 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Solaris

describe service('svc:/network/http:apache22') do
  it { should have_property 'httpd/enable_64bit' => false }
  its(:command) { should eq "svcprop -p httpd/enable_64bit svc:/network/http:apache22 | grep -- \\^false\\$" }
end

describe service('svc:/network/http:apache22') do
  it { should have_property 'httpd/enable_64bit' => false, 'httpd/server_type'  => 'worker' }
  its(:command) { should eq "svcprop -p httpd/enable_64bit svc:/network/http:apache22 | grep -- \\^false\\$ && svcprop -p httpd/server_type svc:/network/http:apache22 | grep -- \\^worker\\$" }
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
serverspec-0.7.4 spec/solaris/svcprop_spec.rb
serverspec-0.7.3 spec/solaris/svcprop_spec.rb
serverspec-0.7.2 spec/solaris/svcprop_spec.rb
serverspec-0.7.1 spec/solaris/svcprop_spec.rb
serverspec-0.7.0 spec/solaris/svcprop_spec.rb
serverspec-0.6.30 spec/solaris/svcprop_spec.rb
serverspec-0.6.29 spec/solaris/svcprop_spec.rb