Add delivery config

- adds Chef Delivery config using the Chef community standards
- adds a blank default recipe to satisfy verification tests

Change-Id: I47fa53ce6a0e4d43e3de726f07b3c1d415fc303a
Implements: blueprint deprecate-rakefiles
This commit is contained in:
Samuel Cassiba 2018-07-13 07:25:18 -07:00
parent 4674b7a532
commit a85aea3845
3 changed files with 14 additions and 0 deletions

1
.delivery/project.toml Normal file
View File

@ -0,0 +1 @@
remote_file = "https://raw.githubusercontent.com/chef-cookbooks/community_cookbook_tools/master/delivery/project.toml"

0
recipes/default.rb Normal file
View File

13
spec/default_spec.rb Normal file
View File

@ -0,0 +1,13 @@
require 'spec_helper'
describe 'default recipe on Ubuntu 16.04' do
let(:chef_run) do
ChefSpec::ServerRunner.new do |node|
node.automatic[:lsb][:codename] = 'xenial'
end.converge('openstack-dns::default')
end
it 'converges successfully' do
expect { :chef_run }.to_not raise_error
end
end