From 5778549669fd0cfa7ebc63c44c84afedb5ce6e17 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 25 Feb 2020 19:28:31 +0000 Subject: [PATCH] Add test for tilelog cookbook --- .github/workflows/test-kitchen.yml | 1 + .kitchen.yml | 3 +++ cookbooks/tilelog/recipes/default.rb | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-kitchen.yml b/.github/workflows/test-kitchen.yml index edfe0b832..e15ed4eac 100644 --- a/.github/workflows/test-kitchen.yml +++ b/.github/workflows/test-kitchen.yml @@ -82,6 +82,7 @@ jobs: - taginfo - tile - tilecache + - tilelog - tools - trac - web-backend diff --git a/.kitchen.yml b/.kitchen.yml index 572ec58dd..e63b8b855 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -293,6 +293,9 @@ suites: - name: tilecache run_list: - recipe[tilecache::default] + - name: tilelog + run_list: + - recipe[tilelog::default] - name: tools run_list: - recipe[tools::default] diff --git a/cookbooks/tilelog/recipes/default.rb b/cookbooks/tilelog/recipes/default.rb index 0eefa7c7c..56d7870f3 100644 --- a/cookbooks/tilelog/recipes/default.rb +++ b/cookbooks/tilelog/recipes/default.rb @@ -17,16 +17,18 @@ # limitations under the License. # +include_recipe "git" include_recipe "tools" package %w[ gcc + g++ make autoconf automake libboost-filesystem-dev - libboost-system-dev libboost-program-options-dev + libboost-system-dev ] tilelog_source_directory = node[:tilelog][:source_directory] @@ -93,4 +95,5 @@ directory tilelog_output_directory do user "www-data" group "www-data" mode 0o755 + recursive true end -- 2.39.5