wombat-cli 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +23 -23
- data/.travis.yml +22 -27
- data/CHANGELOG.md +438 -423
- data/DESIGN.md +49 -49
- data/Gemfile +5 -5
- data/README.md +146 -146
- data/Rakefile +26 -26
- data/bin/wombat +24 -24
- data/generator_files/Vagrantfile +120 -120
- data/generator_files/cookbooks/automate/.gitignore +16 -16
- data/generator_files/cookbooks/automate/.kitchen.ec2.yml +34 -34
- data/generator_files/cookbooks/automate/.kitchen.yml +24 -24
- data/generator_files/cookbooks/automate/Berksfile +6 -6
- data/generator_files/cookbooks/automate/README.md +4 -4
- data/generator_files/cookbooks/automate/chefignore +102 -102
- data/generator_files/cookbooks/automate/libraries/_helper.rb +52 -52
- data/generator_files/cookbooks/automate/libraries/delivery_api.rb +204 -204
- data/generator_files/cookbooks/automate/libraries/delivery_project.rb +31 -31
- data/generator_files/cookbooks/automate/libraries/dsl.rb +4 -4
- data/generator_files/cookbooks/automate/metadata.rb +11 -11
- data/generator_files/cookbooks/automate/recipes/default.rb +118 -124
- data/generator_files/cookbooks/automate/recipes/update-users.rb +48 -48
- data/generator_files/cookbooks/automate/templates/delivery.erb +6 -6
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/metadata.rb +3 -3
- data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/recipes/default.rb +27 -27
- data/generator_files/cookbooks/automate/test/integration/default/automate_spec.rb +56 -56
- data/generator_files/cookbooks/build_node/.gitignore +16 -16
- data/generator_files/cookbooks/build_node/.kitchen.ec2.yml +37 -37
- data/generator_files/cookbooks/build_node/.kitchen.yml +23 -23
- data/generator_files/cookbooks/build_node/Berksfile +8 -8
- data/generator_files/cookbooks/build_node/README.md +4 -4
- data/generator_files/cookbooks/build_node/chefignore +102 -102
- data/generator_files/cookbooks/build_node/metadata.rb +12 -12
- data/generator_files/cookbooks/build_node/recipes/default.rb +38 -38
- data/generator_files/cookbooks/build_node/templates/client.erb +2 -2
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/metadata.rb +2 -2
- data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/recipes/default.rb +18 -18
- data/generator_files/cookbooks/build_node/test/integration/default/build-node_spec.rb +40 -40
- data/generator_files/cookbooks/chef_server/.gitignore +16 -16
- data/generator_files/cookbooks/chef_server/.kitchen.ec2.yml +34 -34
- data/generator_files/cookbooks/chef_server/.kitchen.yml +24 -24
- data/generator_files/cookbooks/chef_server/Berksfile +6 -6
- data/generator_files/cookbooks/chef_server/README.md +4 -4
- data/generator_files/cookbooks/chef_server/chefignore +102 -102
- data/generator_files/cookbooks/chef_server/metadata.rb +11 -11
- data/generator_files/cookbooks/chef_server/recipes/bootstrap_users.rb +91 -91
- data/generator_files/cookbooks/chef_server/recipes/default.rb +113 -113
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/metadata.rb +2 -2
- data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/recipes/default.rb +23 -23
- data/generator_files/cookbooks/chef_server/test/integration/default/chef_server_spec.rb +50 -50
- data/generator_files/cookbooks/compliance/.gitignore +16 -16
- data/generator_files/cookbooks/compliance/.kitchen.ec2.yml +34 -34
- data/generator_files/cookbooks/compliance/.kitchen.yml +24 -24
- data/generator_files/cookbooks/compliance/Berksfile +7 -7
- data/generator_files/cookbooks/compliance/README.md +4 -4
- data/generator_files/cookbooks/compliance/chefignore +102 -102
- data/generator_files/cookbooks/compliance/metadata.rb +11 -11
- data/generator_files/cookbooks/compliance/recipes/default.rb +57 -57
- data/generator_files/cookbooks/compliance/spec/spec_helper.rb +2 -2
- data/generator_files/cookbooks/compliance/spec/unit/recipes/default_spec.rb +20 -20
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/metadata.rb +4 -4
- data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/recipes/default.rb +21 -21
- data/generator_files/cookbooks/compliance/test/integration/default/compliance.rb +28 -28
- data/generator_files/cookbooks/infranodes/.gitignore +16 -16
- data/generator_files/cookbooks/infranodes/.kitchen.ec2.yml +48 -48
- data/generator_files/cookbooks/infranodes/.kitchen.yml +21 -21
- data/generator_files/cookbooks/infranodes/Berksfile +6 -6
- data/generator_files/cookbooks/infranodes/README.md +4 -4
- data/generator_files/cookbooks/infranodes/attributes/default.rb +2 -2
- data/generator_files/cookbooks/infranodes/chefignore +102 -102
- data/generator_files/cookbooks/infranodes/metadata.rb +13 -13
- data/generator_files/cookbooks/infranodes/recipes/default.rb +57 -57
- data/generator_files/cookbooks/infranodes/spec/spec_helper.rb +2 -2
- data/generator_files/cookbooks/infranodes/spec/unit/recipes/default_spec.rb +20 -20
- data/generator_files/cookbooks/infranodes/templates/default/client.rb.erb +5 -5
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/metadata.rb +3 -3
- data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/recipes/default.rb +27 -27
- data/generator_files/cookbooks/infranodes/test/integration/default/infranodes_spec.rb +22 -22
- data/generator_files/cookbooks/infranodes/test/integration/helpers/serverspec/spec_helper.rb +8 -8
- data/generator_files/cookbooks/wombat/.gitignore +16 -16
- data/generator_files/cookbooks/wombat/.kitchen.yml +43 -43
- data/generator_files/cookbooks/wombat/Berksfile +5 -5
- data/generator_files/cookbooks/wombat/README.md +4 -4
- data/generator_files/cookbooks/wombat/attributes/default.rb +79 -80
- data/generator_files/cookbooks/wombat/attributes/packer.rb +18 -18
- data/generator_files/cookbooks/wombat/chefignore +102 -102
- data/generator_files/cookbooks/wombat/metadata.rb +13 -13
- data/generator_files/cookbooks/wombat/recipes/authorized-keys.rb +20 -20
- data/generator_files/cookbooks/wombat/recipes/default.rb +111 -111
- data/generator_files/cookbooks/wombat/recipes/etc-hosts.rb +51 -51
- data/generator_files/cookbooks/workstation/.gitignore +16 -16
- data/generator_files/cookbooks/workstation/.kitchen.azure.yml +45 -0
- data/generator_files/cookbooks/workstation/.kitchen.ec2.yml +46 -30
- data/generator_files/cookbooks/workstation/.kitchen.yml +42 -22
- data/generator_files/cookbooks/workstation/Berksfile +7 -7
- data/generator_files/cookbooks/workstation/README.md +3 -3
- data/generator_files/cookbooks/workstation/chefignore +106 -102
- data/generator_files/cookbooks/workstation/files/atom.apm.list +10 -7
- data/generator_files/cookbooks/workstation/files/atom.config.cson +6 -3
- data/generator_files/cookbooks/workstation/{templates/default/ise_profile.ps1.erb → files/ise_profile.ps1} +11 -11
- data/generator_files/cookbooks/workstation/libraries/home.rb +4 -4
- data/generator_files/cookbooks/workstation/metadata.rb +14 -14
- data/generator_files/cookbooks/workstation/recipes/browser.rb +53 -58
- data/generator_files/cookbooks/workstation/recipes/certs-keys.rb +41 -45
- data/generator_files/cookbooks/workstation/recipes/chef.rb +29 -28
- data/generator_files/cookbooks/workstation/recipes/default.rb +24 -21
- data/generator_files/cookbooks/workstation/recipes/dotnet.rb +19 -17
- data/generator_files/cookbooks/workstation/recipes/editor.rb +46 -18
- data/generator_files/cookbooks/workstation/recipes/profile.rb +14 -41
- data/generator_files/cookbooks/workstation/recipes/terminal.rb +11 -11
- data/generator_files/cookbooks/workstation/templates/default/bookmarks.html.erb +23 -23
- data/generator_files/cookbooks/workstation/templates/default/data_collector.rb.erb +2 -2
- data/generator_files/cookbooks/workstation/templates/default/knife.rb.erb +10 -10
- data/generator_files/cookbooks/workstation/templates/default/master_preferences.json.erb +28 -28
- data/generator_files/cookbooks/workstation/templates/default/ssh_config.erb +16 -16
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/chef.crt +26 -26
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/metadata.rb +2 -2
- data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/recipes/default.rb +21 -21
- data/generator_files/cookbooks/workstation/test/integration/default/workstation_spec.rb +77 -37
- data/generator_files/packer/automate.json +136 -136
- data/generator_files/packer/build-node.json +142 -142
- data/generator_files/packer/chef-server.json +137 -137
- data/generator_files/packer/compliance.json +133 -133
- data/generator_files/packer/infranodes-windows.json +143 -143
- data/generator_files/packer/infranodes.json +134 -134
- data/generator_files/packer/scripts/PreSysprep.ps1 +9 -0
- data/generator_files/packer/workstation.json +160 -142
- data/generator_files/templates/arm.md.json.erb +754 -754
- data/generator_files/templates/arm.vhd.json.erb +630 -630
- data/generator_files/templates/bootstrap-aws.erb +39 -39
- data/generator_files/templates/cfn.json.erb +675 -674
- data/generator_files/wombat.yml +75 -74
- data/lib/wombat/aws.rb +67 -67
- data/lib/wombat/build.rb +392 -392
- data/lib/wombat/cli.rb +254 -254
- data/lib/wombat/common.rb +420 -420
- data/lib/wombat/crypto.rb +65 -65
- data/lib/wombat/delete.rb +67 -67
- data/lib/wombat/deploy.rb +128 -128
- data/lib/wombat/init.rb +32 -32
- data/lib/wombat/latest.rb +27 -27
- data/lib/wombat/output.rb +101 -101
- data/lib/wombat/update.rb +20 -20
- data/lib/wombat/version.rb +3 -3
- data/lib/wombat.rb +8 -8
- data/spec/functional/common_spec.rb +26 -26
- data/spec/spec_helper.rb +103 -103
- data/spec/unit/common_spec.rb +116 -116
- data/terraform/README.md +13 -13
- data/terraform/templates/terraform.tfvars.erb +12 -12
- data/terraform/wombat.tf +328 -328
- data/wombat-cli.gemspec +36 -36
- metadata +6 -4
data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/compliance.key
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
-----BEGIN RSA PRIVATE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ATE KEY-----
|
@@ -1 +1 @@
|
|
1
|
-
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQChs66lcKcKTZSjUH5CnqKuHorJ/sniV2ti6QHkzbKBkwIcXNJVF168gDt/D13rgkPw9LLnlpMBsMHt8e7p324qZUsV6YUOlhzTlzJE+4xrD0DSBmBNx1x1AUpiaRztB9qb+ZUa4cirvJe2H/bSb4spBduiDzx6l2dNIRAjdgkbdr4hPGbSAcMAbyv2dihzQPJIDjfYmuevwZId+YdT2XNOfZs9+vUOxxJatvV8O1KuhqqeniYOadDdkX8zhJZEcjKwoOmUXqu83WE01G0eeDDS11ymCoQ9ZsLhD0q/WjVz8mHV3l2CrMyp9jWCgrHVZ8EsD02XYPfW1zI3NL8KTnyF
|
1
|
+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQChs66lcKcKTZSjUH5CnqKuHorJ/sniV2ti6QHkzbKBkwIcXNJVF168gDt/D13rgkPw9LLnlpMBsMHt8e7p324qZUsV6YUOlhzTlzJE+4xrD0DSBmBNx1x1AUpiaRztB9qb+ZUa4cirvJe2H/bSb4spBduiDzx6l2dNIRAjdgkbdr4hPGbSAcMAbyv2dihzQPJIDjfYmuevwZId+YdT2XNOfZs9+vUOxxJatvV8O1KuhqqeniYOadDdkX8zhJZEcjKwoOmUXqu83WE01G0eeDDS11ymCoQ9ZsLhD0q/WjVz8mHV3l2CrMyp9jWCgrHVZ8EsD02XYPfW1zI3NL8KTnyF
|
@@ -1,3 +1,3 @@
|
|
1
|
-
name 'mock_data'
|
2
|
-
version '0.0.1'
|
3
|
-
|
1
|
+
name 'mock_data'
|
2
|
+
version '0.0.1'
|
3
|
+
|
data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/recipes/default.rb
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
# copy files into tmp for cookbook
|
2
|
-
|
3
|
-
cookbook_file '/tmp/public.pub' do
|
4
|
-
content 'public.pub'
|
5
|
-
action :create
|
6
|
-
end
|
7
|
-
|
8
|
-
cookbook_file '/tmp/private.pem' do
|
9
|
-
content 'private.pem'
|
10
|
-
action :create
|
11
|
-
end
|
12
|
-
|
13
|
-
%w(chef automate compliance).each do |f|
|
14
|
-
%w(crt key).each do |ext|
|
15
|
-
cookbook_file "/tmp/#{f}.#{ext}" do
|
16
|
-
content "#{f}.#{ext}"
|
17
|
-
action :create
|
18
|
-
sensitive true
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
# you need to copy this in place
|
24
|
-
cookbook_file '/tmp/delivery.license' do
|
25
|
-
content 'delivery.license'
|
26
|
-
action :create
|
27
|
-
end
|
1
|
+
# copy files into tmp for cookbook
|
2
|
+
|
3
|
+
cookbook_file '/tmp/public.pub' do
|
4
|
+
content 'public.pub'
|
5
|
+
action :create
|
6
|
+
end
|
7
|
+
|
8
|
+
cookbook_file '/tmp/private.pem' do
|
9
|
+
content 'private.pem'
|
10
|
+
action :create
|
11
|
+
end
|
12
|
+
|
13
|
+
%w(chef automate compliance).each do |f|
|
14
|
+
%w(crt key).each do |ext|
|
15
|
+
cookbook_file "/tmp/#{f}.#{ext}" do
|
16
|
+
content "#{f}.#{ext}"
|
17
|
+
action :create
|
18
|
+
sensitive true
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
# you need to copy this in place
|
24
|
+
cookbook_file '/tmp/delivery.license' do
|
25
|
+
content 'delivery.license'
|
26
|
+
action :create
|
27
|
+
end
|
@@ -1,56 +1,56 @@
|
|
1
|
-
# automate tests
|
2
|
-
|
3
|
-
describe command('hostname') do
|
4
|
-
its('stdout') { should eq "automate\n" }
|
5
|
-
end
|
6
|
-
|
7
|
-
describe file('/usr/local/bin/jq') do
|
8
|
-
it { should exist }
|
9
|
-
it { should be_executable }
|
10
|
-
end
|
11
|
-
|
12
|
-
describe file("/home/#{os.name}/.ssh/authorized_keys") do
|
13
|
-
its('content') { should include file("/tmp/public.pub").content }
|
14
|
-
it { should exist }
|
15
|
-
end
|
16
|
-
|
17
|
-
describe package('delivery') do
|
18
|
-
it { should be_installed }
|
19
|
-
end
|
20
|
-
|
21
|
-
describe file('/etc/delivery/automate.pem') do
|
22
|
-
its('content') { file("/tmp/private.pem").content }
|
23
|
-
end
|
24
|
-
|
25
|
-
describe file('/var/opt/delivery/license/delivery.license') do
|
26
|
-
its('content') { file("/tmp/delivery.license").content }
|
27
|
-
end
|
28
|
-
|
29
|
-
describe file('/etc/delivery/builder_key.pub') do
|
30
|
-
its('content') { file("/tmp/public.pub").content }
|
31
|
-
end
|
32
|
-
|
33
|
-
%w(crt key).each do |ext|
|
34
|
-
describe file("/var/opt/delivery/nginx/ca/automate.animals.biz.#{ext}") do
|
35
|
-
its('content') { should eq file("/tmp/automate.#{ext}").content }
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
describe file('/etc/delivery/delivery.rb') do
|
40
|
-
its('content') { should match /delivery_fqdn\s.*"automate.animals.biz"/ }
|
41
|
-
its('content') { should match /delivery\['chef_username'\]\s.*=\s.*"automate"/ }
|
42
|
-
its('content') { should match /delivery\['chef_private_key'\]\s.*=\s.*"\/etc\/delivery\/automate\.pem"/ }
|
43
|
-
its('content') { should match /delivery\['chef_server'\]\s.*"https:\/\/chef.animals.biz\/organizations\/marsupials"/ }
|
44
|
-
its('content') { should match /insights\['enable'\]\s.*=\s.*true/ }
|
45
|
-
end
|
46
|
-
|
47
|
-
describe file('/etc/hosts') do
|
48
|
-
its('content') { should match /172.31.54.10\s.*chef.animals.biz chef/ }
|
49
|
-
its('content') { should match /172.31.54.11\s.*automate.animals.biz automate/ }
|
50
|
-
its('content') { should match /172.31.54.12\s.*compliance.animals.biz compliance/ }
|
51
|
-
its('content') { should match /172.31.54.51\s.*build-node-1.animals.biz build-node-1/ }
|
52
|
-
its('content') { should match /172.31.54.201\s.*workstation-1.animals.biz workstation-1/ }
|
53
|
-
end
|
54
|
-
|
55
|
-
# add tests to verify users and passwords
|
56
|
-
# delivery-ctl list-users doesn't work
|
1
|
+
# automate tests
|
2
|
+
|
3
|
+
describe command('hostname') do
|
4
|
+
its('stdout') { should eq "automate\n" }
|
5
|
+
end
|
6
|
+
|
7
|
+
describe file('/usr/local/bin/jq') do
|
8
|
+
it { should exist }
|
9
|
+
it { should be_executable }
|
10
|
+
end
|
11
|
+
|
12
|
+
describe file("/home/#{os.name}/.ssh/authorized_keys") do
|
13
|
+
its('content') { should include file("/tmp/public.pub").content }
|
14
|
+
it { should exist }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe package('delivery') do
|
18
|
+
it { should be_installed }
|
19
|
+
end
|
20
|
+
|
21
|
+
describe file('/etc/delivery/automate.pem') do
|
22
|
+
its('content') { file("/tmp/private.pem").content }
|
23
|
+
end
|
24
|
+
|
25
|
+
describe file('/var/opt/delivery/license/delivery.license') do
|
26
|
+
its('content') { file("/tmp/delivery.license").content }
|
27
|
+
end
|
28
|
+
|
29
|
+
describe file('/etc/delivery/builder_key.pub') do
|
30
|
+
its('content') { file("/tmp/public.pub").content }
|
31
|
+
end
|
32
|
+
|
33
|
+
%w(crt key).each do |ext|
|
34
|
+
describe file("/var/opt/delivery/nginx/ca/automate.animals.biz.#{ext}") do
|
35
|
+
its('content') { should eq file("/tmp/automate.#{ext}").content }
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
describe file('/etc/delivery/delivery.rb') do
|
40
|
+
its('content') { should match /delivery_fqdn\s.*"automate.animals.biz"/ }
|
41
|
+
its('content') { should match /delivery\['chef_username'\]\s.*=\s.*"automate"/ }
|
42
|
+
its('content') { should match /delivery\['chef_private_key'\]\s.*=\s.*"\/etc\/delivery\/automate\.pem"/ }
|
43
|
+
its('content') { should match /delivery\['chef_server'\]\s.*"https:\/\/chef.animals.biz\/organizations\/marsupials"/ }
|
44
|
+
its('content') { should match /insights\['enable'\]\s.*=\s.*true/ }
|
45
|
+
end
|
46
|
+
|
47
|
+
describe file('/etc/hosts') do
|
48
|
+
its('content') { should match /172.31.54.10\s.*chef.animals.biz chef/ }
|
49
|
+
its('content') { should match /172.31.54.11\s.*automate.animals.biz automate/ }
|
50
|
+
its('content') { should match /172.31.54.12\s.*compliance.animals.biz compliance/ }
|
51
|
+
its('content') { should match /172.31.54.51\s.*build-node-1.animals.biz build-node-1/ }
|
52
|
+
its('content') { should match /172.31.54.201\s.*workstation-1.animals.biz workstation-1/ }
|
53
|
+
end
|
54
|
+
|
55
|
+
# add tests to verify users and passwords
|
56
|
+
# delivery-ctl list-users doesn't work
|
@@ -1,16 +1,16 @@
|
|
1
|
-
.vagrant
|
2
|
-
Berksfile.lock
|
3
|
-
*~
|
4
|
-
*#
|
5
|
-
.#*
|
6
|
-
\#*#
|
7
|
-
.*.sw[a-z]
|
8
|
-
*.un~
|
9
|
-
|
10
|
-
# Bundler
|
11
|
-
Gemfile.lock
|
12
|
-
bin/*
|
13
|
-
.bundle/*
|
14
|
-
|
15
|
-
.kitchen/
|
16
|
-
.kitchen.local.yml
|
1
|
+
.vagrant
|
2
|
+
Berksfile.lock
|
3
|
+
*~
|
4
|
+
*#
|
5
|
+
.#*
|
6
|
+
\#*#
|
7
|
+
.*.sw[a-z]
|
8
|
+
*.un~
|
9
|
+
|
10
|
+
# Bundler
|
11
|
+
Gemfile.lock
|
12
|
+
bin/*
|
13
|
+
.bundle/*
|
14
|
+
|
15
|
+
.kitchen/
|
16
|
+
.kitchen.local.yml
|
@@ -1,37 +1,37 @@
|
|
1
|
-
---
|
2
|
-
driver:
|
3
|
-
name: ec2
|
4
|
-
aws_ssh_key_id: <%= ENV["EC2_SSH_KEY_NAME"] %>
|
5
|
-
region: us-east-1
|
6
|
-
availability_zone: e
|
7
|
-
instance_type: m3.large
|
8
|
-
|
9
|
-
provisioner:
|
10
|
-
name: chef_zero
|
11
|
-
|
12
|
-
verifier:
|
13
|
-
name: inspec
|
14
|
-
|
15
|
-
platforms:
|
16
|
-
- name: ubuntu-1404
|
17
|
-
driver:
|
18
|
-
image_id: ami-8e0b9499
|
19
|
-
transport:
|
20
|
-
ssh_key: <%= ENV["EC2_SSH_KEY_PATH"] %>
|
21
|
-
- name: centos-7
|
22
|
-
driver:
|
23
|
-
image_id: ami-6d1c2007
|
24
|
-
transport:
|
25
|
-
username: centos
|
26
|
-
ssh_key: <%= ENV["EC2_SSH_KEY_PATH"] %>
|
27
|
-
|
28
|
-
suites:
|
29
|
-
- name: default
|
30
|
-
run_list:
|
31
|
-
- recipe[mock_data]
|
32
|
-
- recipe[build_node]
|
33
|
-
- recipe[wombat::authorized-keys]
|
34
|
-
- recipe[wombat::etc-hosts]
|
35
|
-
attributes:
|
36
|
-
demo:
|
37
|
-
node-number: '1'
|
1
|
+
---
|
2
|
+
driver:
|
3
|
+
name: ec2
|
4
|
+
aws_ssh_key_id: <%= ENV["EC2_SSH_KEY_NAME"] %>
|
5
|
+
region: us-east-1
|
6
|
+
availability_zone: e
|
7
|
+
instance_type: m3.large
|
8
|
+
|
9
|
+
provisioner:
|
10
|
+
name: chef_zero
|
11
|
+
|
12
|
+
verifier:
|
13
|
+
name: inspec
|
14
|
+
|
15
|
+
platforms:
|
16
|
+
- name: ubuntu-1404
|
17
|
+
driver:
|
18
|
+
image_id: ami-8e0b9499
|
19
|
+
transport:
|
20
|
+
ssh_key: <%= ENV["EC2_SSH_KEY_PATH"] %>
|
21
|
+
- name: centos-7
|
22
|
+
driver:
|
23
|
+
image_id: ami-6d1c2007
|
24
|
+
transport:
|
25
|
+
username: centos
|
26
|
+
ssh_key: <%= ENV["EC2_SSH_KEY_PATH"] %>
|
27
|
+
|
28
|
+
suites:
|
29
|
+
- name: default
|
30
|
+
run_list:
|
31
|
+
- recipe[mock_data]
|
32
|
+
- recipe[build_node]
|
33
|
+
- recipe[wombat::authorized-keys]
|
34
|
+
- recipe[wombat::etc-hosts]
|
35
|
+
attributes:
|
36
|
+
demo:
|
37
|
+
node-number: '1'
|
@@ -1,23 +1,23 @@
|
|
1
|
-
---
|
2
|
-
driver:
|
3
|
-
name: vagrant
|
4
|
-
|
5
|
-
provisioner:
|
6
|
-
name: chef_zero
|
7
|
-
|
8
|
-
verifier:
|
9
|
-
name: inspec
|
10
|
-
|
11
|
-
platforms:
|
12
|
-
- name: ubuntu-14.04
|
13
|
-
|
14
|
-
suites:
|
15
|
-
- name: default
|
16
|
-
run_list:
|
17
|
-
- recipe[apt::default]
|
18
|
-
- recipe[mock_data::default]
|
19
|
-
- recipe[build-node::default]
|
20
|
-
attributes:
|
21
|
-
demo:
|
22
|
-
admin-user: 'vagrant'
|
23
|
-
node-number: '1'
|
1
|
+
---
|
2
|
+
driver:
|
3
|
+
name: vagrant
|
4
|
+
|
5
|
+
provisioner:
|
6
|
+
name: chef_zero
|
7
|
+
|
8
|
+
verifier:
|
9
|
+
name: inspec
|
10
|
+
|
11
|
+
platforms:
|
12
|
+
- name: ubuntu-14.04
|
13
|
+
|
14
|
+
suites:
|
15
|
+
- name: default
|
16
|
+
run_list:
|
17
|
+
- recipe[apt::default]
|
18
|
+
- recipe[mock_data::default]
|
19
|
+
- recipe[build-node::default]
|
20
|
+
attributes:
|
21
|
+
demo:
|
22
|
+
admin-user: 'vagrant'
|
23
|
+
node-number: '1'
|
@@ -1,8 +1,8 @@
|
|
1
|
-
source 'https://supermarket.chef.io'
|
2
|
-
|
3
|
-
metadata
|
4
|
-
|
5
|
-
cookbook 'delivery_build', git: "https://github.com/andrewelizondo/delivery_build"
|
6
|
-
cookbook 'delivery-base', git: "https://github.com/chef-cookbooks/delivery-base"
|
7
|
-
cookbook 'mock_data', path: 'test/fixtures/cookbooks/mock_data'
|
8
|
-
cookbook 'wombat', path: '../wombat'
|
1
|
+
source 'https://supermarket.chef.io'
|
2
|
+
|
3
|
+
metadata
|
4
|
+
|
5
|
+
cookbook 'delivery_build', git: "https://github.com/andrewelizondo/delivery_build"
|
6
|
+
cookbook 'delivery-base', git: "https://github.com/chef-cookbooks/delivery-base"
|
7
|
+
cookbook 'mock_data', path: 'test/fixtures/cookbooks/mock_data'
|
8
|
+
cookbook 'wombat', path: '../wombat'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# build-node
|
2
|
-
|
3
|
-
TODO: Enter the cookbook description here.
|
4
|
-
|
1
|
+
# build-node
|
2
|
+
|
3
|
+
TODO: Enter the cookbook description here.
|
4
|
+
|