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.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +23 -23
  3. data/.travis.yml +22 -27
  4. data/CHANGELOG.md +438 -423
  5. data/DESIGN.md +49 -49
  6. data/Gemfile +5 -5
  7. data/README.md +146 -146
  8. data/Rakefile +26 -26
  9. data/bin/wombat +24 -24
  10. data/generator_files/Vagrantfile +120 -120
  11. data/generator_files/cookbooks/automate/.gitignore +16 -16
  12. data/generator_files/cookbooks/automate/.kitchen.ec2.yml +34 -34
  13. data/generator_files/cookbooks/automate/.kitchen.yml +24 -24
  14. data/generator_files/cookbooks/automate/Berksfile +6 -6
  15. data/generator_files/cookbooks/automate/README.md +4 -4
  16. data/generator_files/cookbooks/automate/chefignore +102 -102
  17. data/generator_files/cookbooks/automate/libraries/_helper.rb +52 -52
  18. data/generator_files/cookbooks/automate/libraries/delivery_api.rb +204 -204
  19. data/generator_files/cookbooks/automate/libraries/delivery_project.rb +31 -31
  20. data/generator_files/cookbooks/automate/libraries/dsl.rb +4 -4
  21. data/generator_files/cookbooks/automate/metadata.rb +11 -11
  22. data/generator_files/cookbooks/automate/recipes/default.rb +118 -124
  23. data/generator_files/cookbooks/automate/recipes/update-users.rb +48 -48
  24. data/generator_files/cookbooks/automate/templates/delivery.erb +6 -6
  25. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
  26. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
  27. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
  28. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
  29. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
  30. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
  31. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
  32. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
  33. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/metadata.rb +3 -3
  34. data/generator_files/cookbooks/automate/test/fixtures/cookbooks/mock_data/recipes/default.rb +27 -27
  35. data/generator_files/cookbooks/automate/test/integration/default/automate_spec.rb +56 -56
  36. data/generator_files/cookbooks/build_node/.gitignore +16 -16
  37. data/generator_files/cookbooks/build_node/.kitchen.ec2.yml +37 -37
  38. data/generator_files/cookbooks/build_node/.kitchen.yml +23 -23
  39. data/generator_files/cookbooks/build_node/Berksfile +8 -8
  40. data/generator_files/cookbooks/build_node/README.md +4 -4
  41. data/generator_files/cookbooks/build_node/chefignore +102 -102
  42. data/generator_files/cookbooks/build_node/metadata.rb +12 -12
  43. data/generator_files/cookbooks/build_node/recipes/default.rb +38 -38
  44. data/generator_files/cookbooks/build_node/templates/client.erb +2 -2
  45. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
  46. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
  47. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
  48. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
  49. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
  50. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
  51. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
  52. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
  53. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/metadata.rb +2 -2
  54. data/generator_files/cookbooks/build_node/test/fixtures/cookbooks/mock_data/recipes/default.rb +18 -18
  55. data/generator_files/cookbooks/build_node/test/integration/default/build-node_spec.rb +40 -40
  56. data/generator_files/cookbooks/chef_server/.gitignore +16 -16
  57. data/generator_files/cookbooks/chef_server/.kitchen.ec2.yml +34 -34
  58. data/generator_files/cookbooks/chef_server/.kitchen.yml +24 -24
  59. data/generator_files/cookbooks/chef_server/Berksfile +6 -6
  60. data/generator_files/cookbooks/chef_server/README.md +4 -4
  61. data/generator_files/cookbooks/chef_server/chefignore +102 -102
  62. data/generator_files/cookbooks/chef_server/metadata.rb +11 -11
  63. data/generator_files/cookbooks/chef_server/recipes/bootstrap_users.rb +91 -91
  64. data/generator_files/cookbooks/chef_server/recipes/default.rb +113 -113
  65. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
  66. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
  67. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
  68. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
  69. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
  70. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
  71. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
  72. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
  73. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/metadata.rb +2 -2
  74. data/generator_files/cookbooks/chef_server/test/fixtures/cookbooks/mock_data/recipes/default.rb +23 -23
  75. data/generator_files/cookbooks/chef_server/test/integration/default/chef_server_spec.rb +50 -50
  76. data/generator_files/cookbooks/compliance/.gitignore +16 -16
  77. data/generator_files/cookbooks/compliance/.kitchen.ec2.yml +34 -34
  78. data/generator_files/cookbooks/compliance/.kitchen.yml +24 -24
  79. data/generator_files/cookbooks/compliance/Berksfile +7 -7
  80. data/generator_files/cookbooks/compliance/README.md +4 -4
  81. data/generator_files/cookbooks/compliance/chefignore +102 -102
  82. data/generator_files/cookbooks/compliance/metadata.rb +11 -11
  83. data/generator_files/cookbooks/compliance/recipes/default.rb +57 -57
  84. data/generator_files/cookbooks/compliance/spec/spec_helper.rb +2 -2
  85. data/generator_files/cookbooks/compliance/spec/unit/recipes/default_spec.rb +20 -20
  86. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
  87. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
  88. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
  89. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
  90. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
  91. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
  92. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
  93. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
  94. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/metadata.rb +4 -4
  95. data/generator_files/cookbooks/compliance/test/fixtures/cookbooks/mock_data/recipes/default.rb +21 -21
  96. data/generator_files/cookbooks/compliance/test/integration/default/compliance.rb +28 -28
  97. data/generator_files/cookbooks/infranodes/.gitignore +16 -16
  98. data/generator_files/cookbooks/infranodes/.kitchen.ec2.yml +48 -48
  99. data/generator_files/cookbooks/infranodes/.kitchen.yml +21 -21
  100. data/generator_files/cookbooks/infranodes/Berksfile +6 -6
  101. data/generator_files/cookbooks/infranodes/README.md +4 -4
  102. data/generator_files/cookbooks/infranodes/attributes/default.rb +2 -2
  103. data/generator_files/cookbooks/infranodes/chefignore +102 -102
  104. data/generator_files/cookbooks/infranodes/metadata.rb +13 -13
  105. data/generator_files/cookbooks/infranodes/recipes/default.rb +57 -57
  106. data/generator_files/cookbooks/infranodes/spec/spec_helper.rb +2 -2
  107. data/generator_files/cookbooks/infranodes/spec/unit/recipes/default_spec.rb +20 -20
  108. data/generator_files/cookbooks/infranodes/templates/default/client.rb.erb +5 -5
  109. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
  110. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
  111. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/chef.crt +25 -25
  112. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
  113. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
  114. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
  115. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
  116. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
  117. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/metadata.rb +3 -3
  118. data/generator_files/cookbooks/infranodes/test/fixtures/cookbooks/mock_data/recipes/default.rb +27 -27
  119. data/generator_files/cookbooks/infranodes/test/integration/default/infranodes_spec.rb +22 -22
  120. data/generator_files/cookbooks/infranodes/test/integration/helpers/serverspec/spec_helper.rb +8 -8
  121. data/generator_files/cookbooks/wombat/.gitignore +16 -16
  122. data/generator_files/cookbooks/wombat/.kitchen.yml +43 -43
  123. data/generator_files/cookbooks/wombat/Berksfile +5 -5
  124. data/generator_files/cookbooks/wombat/README.md +4 -4
  125. data/generator_files/cookbooks/wombat/attributes/default.rb +79 -80
  126. data/generator_files/cookbooks/wombat/attributes/packer.rb +18 -18
  127. data/generator_files/cookbooks/wombat/chefignore +102 -102
  128. data/generator_files/cookbooks/wombat/metadata.rb +13 -13
  129. data/generator_files/cookbooks/wombat/recipes/authorized-keys.rb +20 -20
  130. data/generator_files/cookbooks/wombat/recipes/default.rb +111 -111
  131. data/generator_files/cookbooks/wombat/recipes/etc-hosts.rb +51 -51
  132. data/generator_files/cookbooks/workstation/.gitignore +16 -16
  133. data/generator_files/cookbooks/workstation/.kitchen.azure.yml +45 -0
  134. data/generator_files/cookbooks/workstation/.kitchen.ec2.yml +46 -30
  135. data/generator_files/cookbooks/workstation/.kitchen.yml +42 -22
  136. data/generator_files/cookbooks/workstation/Berksfile +7 -7
  137. data/generator_files/cookbooks/workstation/README.md +3 -3
  138. data/generator_files/cookbooks/workstation/chefignore +106 -102
  139. data/generator_files/cookbooks/workstation/files/atom.apm.list +10 -7
  140. data/generator_files/cookbooks/workstation/files/atom.config.cson +6 -3
  141. data/generator_files/cookbooks/workstation/{templates/default/ise_profile.ps1.erb → files/ise_profile.ps1} +11 -11
  142. data/generator_files/cookbooks/workstation/libraries/home.rb +4 -4
  143. data/generator_files/cookbooks/workstation/metadata.rb +14 -14
  144. data/generator_files/cookbooks/workstation/recipes/browser.rb +53 -58
  145. data/generator_files/cookbooks/workstation/recipes/certs-keys.rb +41 -45
  146. data/generator_files/cookbooks/workstation/recipes/chef.rb +29 -28
  147. data/generator_files/cookbooks/workstation/recipes/default.rb +24 -21
  148. data/generator_files/cookbooks/workstation/recipes/dotnet.rb +19 -17
  149. data/generator_files/cookbooks/workstation/recipes/editor.rb +46 -18
  150. data/generator_files/cookbooks/workstation/recipes/profile.rb +14 -41
  151. data/generator_files/cookbooks/workstation/recipes/terminal.rb +11 -11
  152. data/generator_files/cookbooks/workstation/templates/default/bookmarks.html.erb +23 -23
  153. data/generator_files/cookbooks/workstation/templates/default/data_collector.rb.erb +2 -2
  154. data/generator_files/cookbooks/workstation/templates/default/knife.rb.erb +10 -10
  155. data/generator_files/cookbooks/workstation/templates/default/master_preferences.json.erb +28 -28
  156. data/generator_files/cookbooks/workstation/templates/default/ssh_config.erb +16 -16
  157. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/automate.crt +26 -26
  158. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/automate.key +27 -27
  159. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/chef.crt +26 -26
  160. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/chef.key +27 -27
  161. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/compliance.crt +26 -26
  162. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/compliance.key +27 -27
  163. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/private.pem +27 -27
  164. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/public.pub +1 -1
  165. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/metadata.rb +2 -2
  166. data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/recipes/default.rb +21 -21
  167. data/generator_files/cookbooks/workstation/test/integration/default/workstation_spec.rb +77 -37
  168. data/generator_files/packer/automate.json +136 -136
  169. data/generator_files/packer/build-node.json +142 -142
  170. data/generator_files/packer/chef-server.json +137 -137
  171. data/generator_files/packer/compliance.json +133 -133
  172. data/generator_files/packer/infranodes-windows.json +143 -143
  173. data/generator_files/packer/infranodes.json +134 -134
  174. data/generator_files/packer/scripts/PreSysprep.ps1 +9 -0
  175. data/generator_files/packer/workstation.json +160 -142
  176. data/generator_files/templates/arm.md.json.erb +754 -754
  177. data/generator_files/templates/arm.vhd.json.erb +630 -630
  178. data/generator_files/templates/bootstrap-aws.erb +39 -39
  179. data/generator_files/templates/cfn.json.erb +675 -674
  180. data/generator_files/wombat.yml +75 -74
  181. data/lib/wombat/aws.rb +67 -67
  182. data/lib/wombat/build.rb +392 -392
  183. data/lib/wombat/cli.rb +254 -254
  184. data/lib/wombat/common.rb +420 -420
  185. data/lib/wombat/crypto.rb +65 -65
  186. data/lib/wombat/delete.rb +67 -67
  187. data/lib/wombat/deploy.rb +128 -128
  188. data/lib/wombat/init.rb +32 -32
  189. data/lib/wombat/latest.rb +27 -27
  190. data/lib/wombat/output.rb +101 -101
  191. data/lib/wombat/update.rb +20 -20
  192. data/lib/wombat/version.rb +3 -3
  193. data/lib/wombat.rb +8 -8
  194. data/spec/functional/common_spec.rb +26 -26
  195. data/spec/spec_helper.rb +103 -103
  196. data/spec/unit/common_spec.rb +116 -116
  197. data/terraform/README.md +13 -13
  198. data/terraform/templates/terraform.tfvars.erb +12 -12
  199. data/terraform/wombat.tf +328 -328
  200. data/wombat-cli.gemspec +36 -36
  201. metadata +6 -4
@@ -1,124 +1,118 @@
1
- #
2
- # Cookbook Name:: automate
3
- # Recipe:: default
4
- #
5
- # Copyright (c) 2016 The Authors, All Rights Reserved.
6
- apt_update 'packages' do
7
- action :update
8
- only_if { node['platform_family'] == 'debian' }
9
- end
10
-
11
- append_if_no_line "Add temporary hostsfile entry: #{node['ipaddress']}" do
12
- path "/etc/hosts"
13
- line "#{node['ipaddress']} #{node['demo']['automate_fqdn']} automate"
14
- end
15
-
16
- execute 'hostnamectl set-hostname automate'
17
-
18
- remote_file '/usr/local/bin/jq' do
19
- source 'https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64'
20
- owner 'root'
21
- group 'root'
22
- mode '0755'
23
- action :create
24
- notifies :run, 'execute[chmod]', :immediately
25
- end
26
-
27
- execute 'chmod' do
28
- command 'chmod +x /usr/local/bin/jq'
29
- action :nothing
30
- end
31
-
32
- chef_ingredient 'delivery' do
33
- channel node['demo']['versions']['automate'].split('-')[0].to_sym
34
- version node['demo']['versions']['automate'].split('-')[1]
35
- action :install
36
- end
37
-
38
- directory '/var/opt/delivery'
39
- directory '/var/opt/delivery/license'
40
- directory '/var/opt/delivery/nginx'
41
- directory '/var/opt/delivery/nginx/ca'
42
- directory '/etc/delivery' do
43
- mode '0644'
44
- end
45
-
46
- file '/var/opt/delivery/.telemetry.disabled' do
47
- action :create
48
- end
49
-
50
- file '/etc/delivery/automate.pem' do
51
- content lazy { IO.read('/tmp/private.pem') }
52
- action :create
53
- sensitive true
54
- end
55
-
56
- file '/var/opt/delivery/license/delivery.license' do
57
- content lazy { IO.read('/tmp/delivery.license') }
58
- action :create
59
- sensitive true
60
- end
61
-
62
- file '/etc/delivery/builder_key.pub' do
63
- content lazy { IO.read('/tmp/public.pub') }
64
- action :create
65
- sensitive true
66
- end
67
-
68
- %w(crt key).each do |ext|
69
- file "/var/opt/delivery/nginx/ca/#{node['demo']['automate_fqdn']}.#{ext}" do
70
- content lazy { IO.read("/tmp/automate.#{ext}") }
71
- action :create
72
- sensitive true
73
- end
74
- end
75
-
76
- template '/etc/delivery/delivery.rb' do
77
- source 'delivery.erb'
78
- variables(
79
- chef_server_url: node['demo']['chef_server_url'],
80
- delivery_fqdn: node['demo']['automate_fqdn']
81
- )
82
- end
83
-
84
- # Addresses an edge case where rabbit times out on the reconfigure.
85
- execute 'Give delivery time to start up' do
86
- command 'sleep 300'
87
- action :run
88
- end
89
-
90
- execute 'delivery-ctl reconfigure' do
91
- command 'delivery-ctl reconfigure'
92
- action :run
93
- retries 5
94
- retry_delay 10
95
- end
96
-
97
- execute 'delivery-ctl create-enterprise' do
98
- command "delivery-ctl create-enterprise #{node['demo']['enterprise']} --password #{node['demo']['users']['admin']['password']} --ssh-pub-key-file=/etc/delivery/builder_key.pub"
99
- action :run
100
- retries 5
101
- retry_delay 2
102
- not_if "delivery-ctl list-enterprises | grep #{node['demo']['enterprise']}"
103
- end
104
-
105
- node['demo']['users'].each do |user, info|
106
- if user != 'admin'
107
- execute "delivery-ctl create-user #{user}" do
108
- command "delivery-ctl create-user #{node['demo']['enterprise']} #{user} --password #{info['password']}"
109
- action :run
110
- retries 5
111
- retry_delay 2
112
- #not_if "delivery-ctl list-users | grep #{node['demo']['enterprise']}"
113
- end
114
- else
115
- Chef::Log.info('Admin user already created with create-enterprise')
116
- end
117
- end
118
-
119
- include_recipe 'automate::update-users'
120
-
121
- delete_lines "Remove temporary hostfile entry we added earlier" do
122
- path "/etc/hosts"
123
- pattern "^#{node['ipaddress']}.*#{node['demo']['automate_fqdn']}.*automate"
124
- end
1
+ #
2
+ # Cookbook Name:: automate
3
+ # Recipe:: default
4
+ #
5
+ # Copyright (c) 2016 The Authors, All Rights Reserved.
6
+ apt_update 'packages' do
7
+ action :update
8
+ only_if { node['platform_family'] == 'debian' }
9
+ end
10
+
11
+ append_if_no_line "Add temporary hostsfile entry: #{node['ipaddress']}" do
12
+ path "/etc/hosts"
13
+ line "#{node['ipaddress']} #{node['demo']['automate_fqdn']} automate"
14
+ end
15
+
16
+ execute 'hostnamectl set-hostname automate'
17
+
18
+ remote_file '/usr/local/bin/jq' do
19
+ source 'https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64'
20
+ owner 'root'
21
+ group 'root'
22
+ mode '0755'
23
+ action :create
24
+ notifies :run, 'execute[chmod]', :immediately
25
+ end
26
+
27
+ execute 'chmod' do
28
+ command 'chmod +x /usr/local/bin/jq'
29
+ action :nothing
30
+ end
31
+
32
+ chef_ingredient 'delivery' do
33
+ channel node['demo']['versions']['automate'].split('-')[0].to_sym
34
+ version node['demo']['versions']['automate'].split('-')[1]
35
+ action :install
36
+ end
37
+
38
+ directory '/var/opt/delivery'
39
+ directory '/var/opt/delivery/license'
40
+ directory '/var/opt/delivery/nginx'
41
+ directory '/var/opt/delivery/nginx/ca'
42
+ directory '/etc/delivery' do
43
+ mode '0644'
44
+ end
45
+
46
+ file '/var/opt/delivery/.telemetry.disabled' do
47
+ action :create
48
+ end
49
+
50
+ file '/etc/delivery/automate.pem' do
51
+ content lazy { IO.read('/tmp/private.pem') }
52
+ action :create
53
+ sensitive true
54
+ end
55
+
56
+ file '/var/opt/delivery/license/delivery.license' do
57
+ content lazy { IO.read('/tmp/delivery.license') }
58
+ action :create
59
+ sensitive true
60
+ end
61
+
62
+ file '/etc/delivery/builder_key.pub' do
63
+ content lazy { IO.read('/tmp/public.pub') }
64
+ action :create
65
+ sensitive true
66
+ end
67
+
68
+ %w(crt key).each do |ext|
69
+ file "/var/opt/delivery/nginx/ca/#{node['demo']['automate_fqdn']}.#{ext}" do
70
+ content lazy { IO.read("/tmp/automate.#{ext}") }
71
+ action :create
72
+ sensitive true
73
+ end
74
+ end
75
+
76
+ template '/etc/delivery/delivery.rb' do
77
+ source 'delivery.erb'
78
+ variables(
79
+ chef_server_url: node['demo']['chef_server_url'],
80
+ delivery_fqdn: node['demo']['automate_fqdn']
81
+ )
82
+ end
83
+
84
+ execute 'delivery-ctl reconfigure' do
85
+ command 'delivery-ctl reconfigure'
86
+ action :run
87
+ retries 5
88
+ retry_delay 10
89
+ end
90
+
91
+ execute 'delivery-ctl create-enterprise' do
92
+ command "delivery-ctl create-enterprise #{node['demo']['enterprise']} --password #{node['demo']['users']['admin']['password']} --ssh-pub-key-file=/etc/delivery/builder_key.pub"
93
+ action :run
94
+ retries 5
95
+ retry_delay 2
96
+ not_if "delivery-ctl list-enterprises | grep #{node['demo']['enterprise']}"
97
+ end
98
+
99
+ node['demo']['users'].each do |user, info|
100
+ if user != 'admin'
101
+ execute "delivery-ctl create-user #{user}" do
102
+ command "delivery-ctl create-user #{node['demo']['enterprise']} #{user} --password #{info['password']}"
103
+ action :run
104
+ retries 5
105
+ retry_delay 2
106
+ not_if "delivery-ctl list-users #{node['demo']['enterprise']} | grep #{user}"
107
+ end
108
+ else
109
+ Chef::Log.info('Admin user already created with create-enterprise')
110
+ end
111
+ end
112
+
113
+ include_recipe 'automate::update-users'
114
+
115
+ delete_lines "Remove temporary hostfile entry we added earlier" do
116
+ path "/etc/hosts"
117
+ pattern "^#{node['ipaddress']}.*#{node['demo']['automate_fqdn']}.*automate"
118
+ end
@@ -1,48 +1,48 @@
1
- # Create Users through the API
2
- ruby_block "Create Delivery Users" do
3
- block do
4
- # Per User
5
- node['demo']['users'].each do |username, info|
6
- # Get SSH-KEY wheter is the actual key or a path
7
- ssh_pub_key = return_key(info['ssh_key'])
8
-
9
- # Create User
10
- if username == "admin"
11
- delivery_api.put("/users/admin",
12
- {
13
- "name" => username,
14
- "first" => info['first'],
15
- "last" => info['last'],
16
- "email" => info['email'],
17
- "user_type" => "internal",
18
- "ssh_pub_key" => ssh_pub_key
19
- })
20
- else
21
- delivery_api.put("/users/#{username}",
22
- {
23
- "name" => username,
24
- "first" => info['first'],
25
- "last" => info['last'],
26
- "email" => info['email'],
27
- "user_type" => "internal",
28
- "ssh_pub_key" => ssh_pub_key
29
- })
30
- end
31
-
32
- # Grant Roles
33
- delivery_api.post("/authz/users/#{username}", { "grant" => info['roles'] })
34
-
35
- # Set Password
36
- if info['password']
37
- delivery_api.post("/internal-users/#{username}/change-password", { "password" => info['password'] })
38
- end
39
- end
40
- end
41
- end
42
-
43
- # Create Organization
44
- ruby_block "Create #{node['demo']['org']} organization" do
45
- block do
46
- delivery_api.post("/e/#{node['demo']['enterprise']}/orgs", { "name" => node['demo']['org'] })
47
- end
48
- end
1
+ # Create Users through the API
2
+ ruby_block "Create Delivery Users" do
3
+ block do
4
+ # Per User
5
+ node['demo']['users'].each do |username, info|
6
+ # Get SSH-KEY wheter is the actual key or a path
7
+ ssh_pub_key = return_key(info['ssh_key'])
8
+
9
+ # Create User
10
+ if username == "admin"
11
+ delivery_api.put("/users/admin",
12
+ {
13
+ "name" => username,
14
+ "first" => info['first'],
15
+ "last" => info['last'],
16
+ "email" => info['email'],
17
+ "user_type" => "internal",
18
+ "ssh_pub_key" => ssh_pub_key
19
+ })
20
+ else
21
+ delivery_api.put("/users/#{username}",
22
+ {
23
+ "name" => username,
24
+ "first" => info['first'],
25
+ "last" => info['last'],
26
+ "email" => info['email'],
27
+ "user_type" => "internal",
28
+ "ssh_pub_key" => ssh_pub_key
29
+ })
30
+ end
31
+
32
+ # Grant Roles
33
+ delivery_api.post("/authz/users/#{username}", { "grant" => info['roles'] })
34
+
35
+ # Set Password
36
+ if info['password']
37
+ delivery_api.post("/internal-users/#{username}/change-password", { "password" => info['password'] })
38
+ end
39
+ end
40
+ end
41
+ end
42
+
43
+ # Create Organization
44
+ ruby_block "Create #{node['demo']['org']} organization" do
45
+ block do
46
+ delivery_api.post("/e/#{node['demo']['enterprise']}/orgs", { "name" => node['demo']['org'] })
47
+ end
48
+ end
@@ -1,6 +1,6 @@
1
- delivery_fqdn "<%= @delivery_fqdn %>"
2
- delivery['chef_username'] = "automate"
3
- delivery['chef_private_key'] = "/etc/delivery/automate.pem"
4
- delivery['chef_server'] = "<%= @chef_server_url %>"
5
- insights['enable'] = true
6
- compliance_profiles['enable'] = true
1
+ delivery_fqdn "<%= @delivery_fqdn %>"
2
+ delivery['chef_username'] = "automate"
3
+ delivery['chef_private_key'] = "/etc/delivery/automate.pem"
4
+ delivery['chef_server'] = "<%= @chef_server_url %>"
5
+ insights['enable'] = true
6
+ compliance_profiles['enable'] = true
@@ -1,26 +1,26 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIEWDCCA0CgAwIBAgIBADANBgkqhkiG9w0BAQsFADB+MQswCQYDVQQGEwJBVTEY
3
- MBYGA1UECAwPTmV3IFNvdXRoIFdhbGVzMQ8wDQYDVQQHDAZTeWRuZXkxEzARBgNV
4
- BAoMCm1hcnN1cGlhbHMxEDAOBgNVBAsMB3dvbWJhdHMxHTAbBgNVBAMMFGF1dG9t
5
- YXRlLmFuaW1hbHMuYml6MB4XDTE2MDgxNjE5MDUyMVoXDTE3MDgxNjE5MDUyMVow
6
- fjELMAkGA1UEBhMCQVUxGDAWBgNVBAgMD05ldyBTb3V0aCBXYWxlczEPMA0GA1UE
7
- BwwGU3lkbmV5MRMwEQYDVQQKDAptYXJzdXBpYWxzMRAwDgYDVQQLDAd3b21iYXRz
8
- MR0wGwYDVQQDDBRhdXRvbWF0ZS5hbmltYWxzLmJpejCCASIwDQYJKoZIhvcNAQEB
9
- BQADggEPADCCAQoCggEBAJHtYR1sIQM1GffD74taoU/anIJY7P95g+42YioTf3fK
10
- 4KHtihMacxOBuMhh2yPPh4ZY5OVE9ST3zBmNu3hQ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