Sha256: 52da2282e93b20927b2204158a3b30a651b8b4887a80c493626661f48aafe35f

Contents?: true

Size: 629 Bytes

Versions: 27

Compression:

Stored size: 629 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Solaris11

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

27 entries across 27 versions & 1 rubygems

Version Path
serverspec-0.11.5 spec/solaris11/svcprop_spec.rb
serverspec-0.11.4 spec/solaris11/svcprop_spec.rb
serverspec-0.11.3 spec/solaris11/svcprop_spec.rb
serverspec-0.11.2 spec/solaris11/svcprop_spec.rb
serverspec-0.9.4 spec/solaris11/svcprop_spec.rb
serverspec-0.9.3 spec/solaris11/svcprop_spec.rb
serverspec-0.9.2 spec/solaris11/svcprop_spec.rb
serverspec-0.9.1 spec/solaris11/svcprop_spec.rb
serverspec-0.9.0 spec/solaris11/svcprop_spec.rb
serverspec-0.8.1 spec/solaris11/svcprop_spec.rb
serverspec-0.8.0 spec/solaris11/svcprop_spec.rb
serverspec-0.7.13 spec/solaris11/svcprop_spec.rb
serverspec-0.7.12 spec/solaris11/svcprop_spec.rb
serverspec-0.7.11 spec/solaris11/svcprop_spec.rb
serverspec-0.7.10 spec/solaris11/svcprop_spec.rb
serverspec-0.7.9 spec/solaris11/svcprop_spec.rb
serverspec-0.7.8 spec/solaris11/svcprop_spec.rb
serverspec-0.7.7 spec/solaris11/svcprop_spec.rb
serverspec-0.7.6 spec/solaris11/svcprop_spec.rb
serverspec-0.7.5 spec/solaris11/svcprop_spec.rb