Sha256: 31bbeb28b01c7c1a5ccf55fd4ea0020d0ec718ea78ec2f4835f8970c9ca6fd94
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
# chef-server tests describe command('hostname') do its('stdout') { should eq "chef\n" } end describe file('/home/vagrant/.ssh/authorized_keys') do its('content') { file("/tmp/public.pub").content } end describe package('chef-server-core') do it { should be_installed } its('version') { should match '12.8.0' } end describe package('chef-manage') do it { should be_installed } its('version') { should match '2.4.2' } end describe package('opscode-push-jobs-server') do it { should be_installed } its('version') { should match '2.1.0' } end describe command('chef-server-ctl org-list') do its('stdout') { should eq "marsupials\n" } end describe command('chef-server-ctl user-list') do its('stdout') { should match "workstation-1" } its('stdout') { should match "automate" } its('stdout') { should match "pivotal" } end %w(crt key).each do |ext| describe file("/var/opt/opscode/nginx/ca/chef.animals.biz.#{ext}") do its('content') { should eq file("/tmp/chef.#{ext}").content } end end describe file('/etc/hosts') do its('content') { should match /172.31.54.10\s.*chef.animals.biz chef/ } its('content') { should match /172.31.54.11\s.*automate.animals.biz automate/ } its('content') { should match /172.31.54.12\s.*compliance.animals.biz compliance/ } its('content') { should match /172.31.54.51\s.*build-node-1.animals.biz build-node-1/ } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wombat-cli-0.2.0 | cookbooks/chef_server/test/integration/default/chef_server_spec.rb |