Vendor the external cookbooks

Knife-Zero doesn't include Berkshelf support, so vendoring everything in
the repo is convenient again
This commit is contained in:
Greg Karékinian
2019-10-13 18:32:56 +02:00
parent aa66743166
commit 049d5dd006
1245 changed files with 100630 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
require "serverspec"
set :backend, :exec
describe "Redis client installation" do
describe package("redis-tools") do
it { should be_installed }
end
end
describe "Redis server installation" do
describe package("redis-server") do
it { should be_installed }
end
describe file("/var/lib/redis") do
it { should be_a_directory }
it { should be_owned_by "redis" }
it { should be_grouped_into "redis" }
it { should be_mode 750 }
end
describe service("redis-server") do
it { should be_enabled }
it { should be_running }
end
describe file("/etc/redis/redis.conf") do
it { should be_a_file }
it { should be_owned_by "root" }
it { should be_grouped_into "root" }
it { should be_mode 644 }
end
describe file("/etc/default/redis-server") do
it { should be_a_file }
it { should be_owned_by "root" }
it { should be_grouped_into "root" }
it { should be_mode 644 }
end
end