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
@@ -1,91 +1,91 @@
|
|
1
|
-
#
|
2
|
-
# Cookbook Name:: chef-server
|
3
|
-
# Recipe:: bootstrap_users
|
4
|
-
#
|
5
|
-
# Copyright (c) 2016 The Authors, All Rights Reserved.
|
6
|
-
|
7
|
-
require 'cheffish'
|
8
|
-
# there is only zuul
|
9
|
-
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
10
|
-
|
11
|
-
config = {
|
12
|
-
:chef_server_url => 'https://chef',
|
13
|
-
:options => {
|
14
|
-
:client_name => 'pivotal',
|
15
|
-
:signing_key_filename => '/etc/opscode/pivotal.pem',
|
16
|
-
:ssl_verify_mode => :verify_none
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
#taken from cheffish
|
21
|
-
node['demo']['users'].each do |user, info|
|
22
|
-
chef_user user do
|
23
|
-
chef_server config
|
24
|
-
admin true
|
25
|
-
display_name user
|
26
|
-
email info['email']
|
27
|
-
password info['password']
|
28
|
-
source_key_path info['pem']
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
chef_organization "#{node['demo']['org']}" do
|
33
|
-
members node['demo']['users'].keys
|
34
|
-
chef_server config
|
35
|
-
end
|
36
|
-
|
37
|
-
conf_with_org = config.merge({
|
38
|
-
:chef_server_url => "#{config[:chef_server_url]}/organizations/#{node['demo']['org']}"
|
39
|
-
})
|
40
|
-
|
41
|
-
all_nodes = {}
|
42
|
-
build_node_num = node['demo']['build-nodes'].to_i
|
43
|
-
|
44
|
-
if File.exists?('/tmp/infranodes-info.json')
|
45
|
-
infranodes = JSON(File.read('/tmp/infranodes-info.json'))
|
46
|
-
else
|
47
|
-
infranodes = {}
|
48
|
-
end
|
49
|
-
|
50
|
-
1.upto(build_node_num) do |i|
|
51
|
-
build_node_name = "build-node-#{i}"
|
52
|
-
all_nodes[build_node_name] = {}
|
53
|
-
end
|
54
|
-
|
55
|
-
infranodes.each do |infra_node_name, info|
|
56
|
-
all_nodes[infra_node_name] = info
|
57
|
-
end
|
58
|
-
|
59
|
-
environments = infranodes.map { |_n, i| i['environment'] }.compact.uniq
|
60
|
-
|
61
|
-
environments.each do |e|
|
62
|
-
chef_environment e do
|
63
|
-
chef_server conf_with_org
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
all_nodes.each do |node_name, info|
|
68
|
-
chef_node node_name do
|
69
|
-
tag 'delivery-build-node' if node_name.match(/^build-node/)
|
70
|
-
run_list info['run_list'] if info['run_list']
|
71
|
-
chef_environment info['environment'] if info['environment']
|
72
|
-
chef_server conf_with_org
|
73
|
-
end
|
74
|
-
|
75
|
-
chef_client node_name do
|
76
|
-
source_key_path '/tmp/private.pem'
|
77
|
-
chef_server conf_with_org
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
chef_acl "" do
|
82
|
-
rights :all, users: node['demo']['users'].keys, clients: all_nodes.keys
|
83
|
-
recursive true
|
84
|
-
chef_server conf_with_org
|
85
|
-
end
|
86
|
-
|
87
|
-
chef_group "admins" do
|
88
|
-
users node['demo']['users'].keys
|
89
|
-
clients all_nodes.keys
|
90
|
-
chef_server conf_with_org
|
91
|
-
end
|
1
|
+
#
|
2
|
+
# Cookbook Name:: chef-server
|
3
|
+
# Recipe:: bootstrap_users
|
4
|
+
#
|
5
|
+
# Copyright (c) 2016 The Authors, All Rights Reserved.
|
6
|
+
|
7
|
+
require 'cheffish'
|
8
|
+
# there is only zuul
|
9
|
+
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
10
|
+
|
11
|
+
config = {
|
12
|
+
:chef_server_url => 'https://chef',
|
13
|
+
:options => {
|
14
|
+
:client_name => 'pivotal',
|
15
|
+
:signing_key_filename => '/etc/opscode/pivotal.pem',
|
16
|
+
:ssl_verify_mode => :verify_none
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
#taken from cheffish
|
21
|
+
node['demo']['users'].each do |user, info|
|
22
|
+
chef_user user do
|
23
|
+
chef_server config
|
24
|
+
admin true
|
25
|
+
display_name user
|
26
|
+
email info['email']
|
27
|
+
password info['password']
|
28
|
+
source_key_path info['pem']
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
chef_organization "#{node['demo']['org']}" do
|
33
|
+
members node['demo']['users'].keys
|
34
|
+
chef_server config
|
35
|
+
end
|
36
|
+
|
37
|
+
conf_with_org = config.merge({
|
38
|
+
:chef_server_url => "#{config[:chef_server_url]}/organizations/#{node['demo']['org']}"
|
39
|
+
})
|
40
|
+
|
41
|
+
all_nodes = {}
|
42
|
+
build_node_num = node['demo']['build-nodes'].to_i
|
43
|
+
|
44
|
+
if File.exists?('/tmp/infranodes-info.json')
|
45
|
+
infranodes = JSON(File.read('/tmp/infranodes-info.json'))
|
46
|
+
else
|
47
|
+
infranodes = {}
|
48
|
+
end
|
49
|
+
|
50
|
+
1.upto(build_node_num) do |i|
|
51
|
+
build_node_name = "build-node-#{i}"
|
52
|
+
all_nodes[build_node_name] = {}
|
53
|
+
end
|
54
|
+
|
55
|
+
infranodes.each do |infra_node_name, info|
|
56
|
+
all_nodes[infra_node_name] = info
|
57
|
+
end
|
58
|
+
|
59
|
+
environments = infranodes.map { |_n, i| i['environment'] }.compact.uniq
|
60
|
+
|
61
|
+
environments.each do |e|
|
62
|
+
chef_environment e do
|
63
|
+
chef_server conf_with_org
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
all_nodes.each do |node_name, info|
|
68
|
+
chef_node node_name do
|
69
|
+
tag 'delivery-build-node' if node_name.match(/^build-node/)
|
70
|
+
run_list info['run_list'] if info['run_list']
|
71
|
+
chef_environment info['environment'] if info['environment']
|
72
|
+
chef_server conf_with_org
|
73
|
+
end
|
74
|
+
|
75
|
+
chef_client node_name do
|
76
|
+
source_key_path '/tmp/private.pem'
|
77
|
+
chef_server conf_with_org
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
chef_acl "" do
|
82
|
+
rights :all, users: node['demo']['users'].keys, clients: all_nodes.keys
|
83
|
+
recursive true
|
84
|
+
chef_server conf_with_org
|
85
|
+
end
|
86
|
+
|
87
|
+
chef_group "admins" do
|
88
|
+
users node['demo']['users'].keys
|
89
|
+
clients all_nodes.keys
|
90
|
+
chef_server conf_with_org
|
91
|
+
end
|
@@ -1,113 +1,113 @@
|
|
1
|
-
#
|
2
|
-
# Cookbook Name:: chef-server
|
3
|
-
# Recipe:: default
|
4
|
-
#
|
5
|
-
# Copyright (c) 2016 The Authors, All Rights Reserved.
|
6
|
-
|
7
|
-
apt_update 'packages' do
|
8
|
-
action :update
|
9
|
-
only_if { node['platform_family'] == 'debian' }
|
10
|
-
end
|
11
|
-
|
12
|
-
append_if_no_line "Add temporary hostsfile entry: #{node['ipaddress']}" do
|
13
|
-
path "/etc/hosts"
|
14
|
-
line "#{node['ipaddress']} #{node['demo']['domain_prefix']}chef.#{node['demo']['domain']} chef"
|
15
|
-
end
|
16
|
-
|
17
|
-
execute 'set hostname' do
|
18
|
-
command 'hostnamectl set-hostname chef'
|
19
|
-
action :run
|
20
|
-
end
|
21
|
-
|
22
|
-
directory '/var/opt/opscode'
|
23
|
-
directory '/var/opt/opscode/nginx'
|
24
|
-
directory '/var/opt/opscode/nginx/ca'
|
25
|
-
directory '/etc/opscode' do
|
26
|
-
mode '0644'
|
27
|
-
end
|
28
|
-
|
29
|
-
%w(crt key).each do |ext|
|
30
|
-
file "/var/opt/opscode/nginx/ca/#{node['demo']['domain_prefix']}chef.#{node['demo']['domain']}.#{ext}" do
|
31
|
-
content lazy { IO.read("/tmp/chef.#{ext}") }
|
32
|
-
action :create
|
33
|
-
sensitive true
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
chef_ingredient 'chef-server' do
|
38
|
-
action [ :install, :reconfigure ]
|
39
|
-
channel node['demo']['versions']['chef-server'].split('-')[0].to_sym
|
40
|
-
version node['demo']['versions']['chef-server'].split('-')[1]
|
41
|
-
config <<-EOH
|
42
|
-
api_fqdn 'chef.#{node['demo']['domain']}'
|
43
|
-
data_collector['root_url'] = 'https://#{node['demo']['domain_prefix']}automate.#{node['demo']['domain']}/data-collector/v0/'
|
44
|
-
data_collector['token'] = "#{node['demo']['data_collector_token']}"
|
45
|
-
profiles["root_url"] = "https://#{node['demo']['domain_prefix']}automate.#{node['demo']['domain']}"
|
46
|
-
EOH
|
47
|
-
end
|
48
|
-
|
49
|
-
# Temporarily reduced timeout to speed up the build.
|
50
|
-
append_if_no_line "Append a 1ms timeout for the data collector" do
|
51
|
-
path "/etc/opscode/chef-server.rb"
|
52
|
-
line "data_collector['timeout'] = '1'"
|
53
|
-
end
|
54
|
-
|
55
|
-
# Use an execute block so we don't revert the config.
|
56
|
-
execute 'chef-server-ctl reconfigure'
|
57
|
-
|
58
|
-
if node['platform'] == 'centos'
|
59
|
-
# hardcoding this one as other permutations are known broken
|
60
|
-
filename = 'opscode-push-jobs-server-1.1.6-1.x86_64.rpm'
|
61
|
-
rpm_path = File.join(Chef::Config[:file_cache_path], filename)
|
62
|
-
|
63
|
-
remote_file rpm_path do
|
64
|
-
source "https://packages.chef.io/stable/el/6/#{filename}"
|
65
|
-
action :create_if_missing
|
66
|
-
notifies :install, 'rpm_package[push-jobs-server]', :immediately
|
67
|
-
end
|
68
|
-
|
69
|
-
rpm_package 'push-jobs-server' do
|
70
|
-
action :install
|
71
|
-
source rpm_path
|
72
|
-
#not_if ""
|
73
|
-
end
|
74
|
-
else
|
75
|
-
chef_ingredient 'push-jobs-server' do
|
76
|
-
channel node['demo']['versions']['push-jobs-server'].split('-')[0].to_sym
|
77
|
-
version node['demo']['versions']['push-jobs-server'].split('-')[1]
|
78
|
-
action :install
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
chef_ingredient 'push-jobs-server' do
|
83
|
-
action :reconfigure
|
84
|
-
end
|
85
|
-
|
86
|
-
chef_ingredient 'manage' do
|
87
|
-
channel node['demo']['versions']['manage'].split('-')[0].to_sym
|
88
|
-
version node['demo']['versions']['manage'].split('-')[1]
|
89
|
-
action :install
|
90
|
-
end
|
91
|
-
|
92
|
-
# Another execute block. Keep our temp config until we finish.
|
93
|
-
execute 'chef-server-ctl reconfigure'
|
94
|
-
|
95
|
-
chef_ingredient 'manage' do
|
96
|
-
accept_license true
|
97
|
-
action :reconfigure
|
98
|
-
end
|
99
|
-
|
100
|
-
include_recipe 'chef_server::bootstrap_users'
|
101
|
-
|
102
|
-
# Temporary timeout no longer required. We can return to defaults now.
|
103
|
-
delete_lines "Remove the data_collector timeout before we finish." do
|
104
|
-
path "/etc/opscode/chef-server.rb"
|
105
|
-
pattern "^.*data_collector.*timeout.*"
|
106
|
-
notifies :reconfigure, 'chef_ingredient[chef-server]', :immediately
|
107
|
-
end
|
108
|
-
|
109
|
-
delete_lines "Remove temporary hostfile entry we added earlier" do
|
110
|
-
path "/etc/hosts"
|
111
|
-
pattern "^#{node['ipaddress']}.*#{node['demo']['domain_prefix']}chef\.#{node['demo']['domain']}.*chef"
|
112
|
-
end
|
113
|
-
|
1
|
+
#
|
2
|
+
# Cookbook Name:: chef-server
|
3
|
+
# Recipe:: default
|
4
|
+
#
|
5
|
+
# Copyright (c) 2016 The Authors, All Rights Reserved.
|
6
|
+
|
7
|
+
apt_update 'packages' do
|
8
|
+
action :update
|
9
|
+
only_if { node['platform_family'] == 'debian' }
|
10
|
+
end
|
11
|
+
|
12
|
+
append_if_no_line "Add temporary hostsfile entry: #{node['ipaddress']}" do
|
13
|
+
path "/etc/hosts"
|
14
|
+
line "#{node['ipaddress']} #{node['demo']['domain_prefix']}chef.#{node['demo']['domain']} chef"
|
15
|
+
end
|
16
|
+
|
17
|
+
execute 'set hostname' do
|
18
|
+
command 'hostnamectl set-hostname chef'
|
19
|
+
action :run
|
20
|
+
end
|
21
|
+
|
22
|
+
directory '/var/opt/opscode'
|
23
|
+
directory '/var/opt/opscode/nginx'
|
24
|
+
directory '/var/opt/opscode/nginx/ca'
|
25
|
+
directory '/etc/opscode' do
|
26
|
+
mode '0644'
|
27
|
+
end
|
28
|
+
|
29
|
+
%w(crt key).each do |ext|
|
30
|
+
file "/var/opt/opscode/nginx/ca/#{node['demo']['domain_prefix']}chef.#{node['demo']['domain']}.#{ext}" do
|
31
|
+
content lazy { IO.read("/tmp/chef.#{ext}") }
|
32
|
+
action :create
|
33
|
+
sensitive true
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
chef_ingredient 'chef-server' do
|
38
|
+
action [ :install, :reconfigure ]
|
39
|
+
channel node['demo']['versions']['chef-server'].split('-')[0].to_sym
|
40
|
+
version node['demo']['versions']['chef-server'].split('-')[1]
|
41
|
+
config <<-EOH
|
42
|
+
api_fqdn 'chef.#{node['demo']['domain']}'
|
43
|
+
data_collector['root_url'] = 'https://#{node['demo']['domain_prefix']}automate.#{node['demo']['domain']}/data-collector/v0/'
|
44
|
+
data_collector['token'] = "#{node['demo']['data_collector_token']}"
|
45
|
+
profiles["root_url"] = "https://#{node['demo']['domain_prefix']}automate.#{node['demo']['domain']}"
|
46
|
+
EOH
|
47
|
+
end
|
48
|
+
|
49
|
+
# Temporarily reduced timeout to speed up the build.
|
50
|
+
append_if_no_line "Append a 1ms timeout for the data collector" do
|
51
|
+
path "/etc/opscode/chef-server.rb"
|
52
|
+
line "data_collector['timeout'] = '1'"
|
53
|
+
end
|
54
|
+
|
55
|
+
# Use an execute block so we don't revert the config.
|
56
|
+
execute 'chef-server-ctl reconfigure'
|
57
|
+
|
58
|
+
if node['platform'] == 'centos'
|
59
|
+
# hardcoding this one as other permutations are known broken
|
60
|
+
filename = 'opscode-push-jobs-server-1.1.6-1.x86_64.rpm'
|
61
|
+
rpm_path = File.join(Chef::Config[:file_cache_path], filename)
|
62
|
+
|
63
|
+
remote_file rpm_path do
|
64
|
+
source "https://packages.chef.io/stable/el/6/#{filename}"
|
65
|
+
action :create_if_missing
|
66
|
+
notifies :install, 'rpm_package[push-jobs-server]', :immediately
|
67
|
+
end
|
68
|
+
|
69
|
+
rpm_package 'push-jobs-server' do
|
70
|
+
action :install
|
71
|
+
source rpm_path
|
72
|
+
#not_if ""
|
73
|
+
end
|
74
|
+
else
|
75
|
+
chef_ingredient 'push-jobs-server' do
|
76
|
+
channel node['demo']['versions']['push-jobs-server'].split('-')[0].to_sym
|
77
|
+
version node['demo']['versions']['push-jobs-server'].split('-')[1]
|
78
|
+
action :install
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
chef_ingredient 'push-jobs-server' do
|
83
|
+
action :reconfigure
|
84
|
+
end
|
85
|
+
|
86
|
+
chef_ingredient 'manage' do
|
87
|
+
channel node['demo']['versions']['manage'].split('-')[0].to_sym
|
88
|
+
version node['demo']['versions']['manage'].split('-')[1]
|
89
|
+
action :install
|
90
|
+
end
|
91
|
+
|
92
|
+
# Another execute block. Keep our temp config until we finish.
|
93
|
+
execute 'chef-server-ctl reconfigure'
|
94
|
+
|
95
|
+
chef_ingredient 'manage' do
|
96
|
+
accept_license true
|
97
|
+
action :reconfigure
|
98
|
+
end
|
99
|
+
|
100
|
+
include_recipe 'chef_server::bootstrap_users'
|
101
|
+
|
102
|
+
# Temporary timeout no longer required. We can return to defaults now.
|
103
|
+
delete_lines "Remove the data_collector timeout before we finish." do
|
104
|
+
path "/etc/opscode/chef-server.rb"
|
105
|
+
pattern "^.*data_collector.*timeout.*"
|
106
|
+
notifies :reconfigure, 'chef_ingredient[chef-server]', :immediately
|
107
|
+
end
|
108
|
+
|
109
|
+
delete_lines "Remove temporary hostfile entry we added earlier" do
|
110
|
+
path "/etc/hosts"
|
111
|
+
pattern "^#{node['ipaddress']}.*#{node['demo']['domain_prefix']}chef\.#{node['demo']['domain']}.*chef"
|
112
|
+
end
|
113
|
+
|
data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/automate.crt
CHANGED
@@ -1,26 +1,26 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIEWDCCA0CgAwIBAgIBADANBgkqhkiG9w0BAQsFADB+MQswCQYDVQQGEwJBVTEY
|
3
|
-
MBYGA1UECAwPTmV3IFNvdXRoIFdhbGVzMQ8wDQYDVQQHDAZTeWRuZXkxEzARBgNV
|
4
|
-
BAoMCm1hcnN1cGl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8EibwQ2PQLICaB
|
24
|
+
B/Zub4jeBQM7D5xKtgCaMdEjBeaFFO0mjQ1BWwuDVNARA1i8UF50vyKI/FlYGNv6
|
25
|
+
qqMZfF5fS0iJ3ZQ8
|
26
|
+
-----END CERTIFICATE-----
|
data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/automate.key
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
-----BEGIN RSA PRIVATE KEY-----
|
2
|
-
MIIEpAIBAAKCAQEAke1hHWwhAzUZ98Pvi1qhT9qcgljs/3mD7jZiKhN/d8rgoe2K
|
3
|
-
ExpzE4G4yGHbI8+Hhljk5UT1JPfMGY27eFCWd+CvglfBGuY+eT0/O1htupOnEma9
|
4
|
-
8r+3ZZ6yPZ3FHX+E0ytZ/BCWu/WKS/oQk3g53cOkTWr6uc0zyoH9eHfi67VR+CuJ
|
5
|
-
EZJeGkBGXzxaPNdyg2i11NhKf6OzvfG6rzDxxDU2CarYeNqv9bfqy9qgkjjS99JQ
|
6
|
-
xrzfbu+f9eYW1YdEIsvz2AVgzQP02CcJlP3ItPhvM7sEdWmYgRjPHcN3qp+rXp6z
|
7
|
-
ditGMVihKHIjBTu5tGfVtQFZFgBP7GgHJUmqZQIDAQABAoIBAHnArP53cTPT4k6u
|
8
|
-
0/ZZL64In/zBZTvijwj5pv2kNv4j7zgrkMBPmSP1X88Qll5SkKivEouX9VFazpej
|
9
|
-
gX7o/iIW/VirDxr6b7WIPHGvXh4Fg6f+wQ0AmGvY9K4kLIpoEtJ9oR6GWL2KKFEr
|
10
|
-
2xivfthgm31cfMT5SPT1cB5LKLGv3KUcCrIY1eGdRyFE4aUnpPRaUsrnJzT2nO+w
|
11
|
-
2GdKJhdLsc1hdSCafovLpEvR/Umw3NGulU0akrUAslTBvXVpCr+TV8TxwdlsCKhy
|
12
|
-
j8HCIjKPxtfGPYEQa7vH7y7BQoR3FaklgoYMlfPs5DSafwYmrcNSIN/qgYuVq20X
|
13
|
-
gPWPl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