blob: 4cc1459b7b65b0be09470465abf23c0f80dd211b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
client_rb = if os.windows?
'C:\chef\client.rb'
else
"/etc/chef/client.rb"
end
describe file(client_rb) do
its("content") { should match(%r{chef_server_url "https://localhost"}) }
its("content") { should match(/chef_license "accept"/) }
its("content") { should match(/require 'aws-sdk'/) }
end
|