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.11.5 spec/solaris/svcprop_spec.rb
serverspec-0.11.4 spec/solaris/svcprop_spec.rb
serverspec-0.11.3 spec/solaris/svcprop_spec.rb
serverspec-0.11.2 spec/solaris/svcprop_spec.rb
serverspec-0.11.1 spec/solaris/svcprop_spec.rb
serverspec-0.11.0 spec/solaris/svcprop_spec.rb
serverspec-0.10.13 spec/solaris/svcprop_spec.rb
serverspec-0.10.12 spec/solaris/svcprop_spec.rb
serverspec-0.10.11 spec/solaris/svcprop_spec.rb
serverspec-0.10.10 spec/solaris/svcprop_spec.rb
serverspec-0.10.9 spec/solaris/svcprop_spec.rb
serverspec-0.10.8 spec/solaris/svcprop_spec.rb
serverspec-0.10.7 spec/solaris/svcprop_spec.rb
serverspec-0.10.6 spec/solaris/svcprop_spec.rb
serverspec-0.10.5 spec/solaris/svcprop_spec.rb
serverspec-0.10.4 spec/solaris/svcprop_spec.rb
serverspec-0.10.3 spec/solaris/svcprop_spec.rb
serverspec-0.10.2 spec/solaris/svcprop_spec.rb
serverspec-0.10.1 spec/solaris/svcprop_spec.rb
serverspec-0.10.0 spec/solaris/svcprop_spec.rb