summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Cassiba <s@cassiba.com>2018-07-13 07:25:18 -0700
committerSamuel Cassiba <s@cassiba.com>2018-07-13 08:32:24 -0700
commita85aea384571ef5ff1b9966dfc12bdee8cb72e27 (patch)
treefc50b2dee268279611a9b45024bcb0de67261590
parent4674b7a5324ac21af5df3d7fe0f63a8cbc756585 (diff)
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
Notes
Notes (review): Code-Review+2: Samuel Cassiba <s@cassiba.com> Workflow+1: Samuel Cassiba <s@cassiba.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 13 Jul 2018 19:19:10 +0000 Reviewed-on: https://review.openstack.org/582603 Project: openstack/cookbook-openstack-dns Branch: refs/heads/master
-rw-r--r--.delivery/project.toml1
-rw-r--r--recipes/default.rb0
-rw-r--r--spec/default_spec.rb13
3 files changed, 14 insertions, 0 deletions
diff --git a/.delivery/project.toml b/.delivery/project.toml
new file mode 100644
index 0000000..6d5e361
--- /dev/null
+++ b/.delivery/project.toml
@@ -0,0 +1 @@
remote_file = "https://raw.githubusercontent.com/chef-cookbooks/community_cookbook_tools/master/delivery/project.toml"
diff --git a/recipes/default.rb b/recipes/default.rb
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/recipes/default.rb
diff --git a/spec/default_spec.rb b/spec/default_spec.rb
new file mode 100644
index 0000000..5fad027
--- /dev/null
+++ b/spec/default_spec.rb
@@ -0,0 +1,13 @@
1require 'spec_helper'
2
3describe 'default recipe on Ubuntu 16.04' do
4 let(:chef_run) do
5 ChefSpec::ServerRunner.new do |node|
6 node.automatic[:lsb][:codename] = 'xenial'
7 end.converge('openstack-dns::default')
8 end
9
10 it 'converges successfully' do
11 expect { :chef_run }.to_not raise_error
12 end
13end