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,26 +1,26 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIEZDCCA0ygAwIBAgIBADANBgkqhkiG9w0BAQsF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YfbTA2L8QsB6SeDSuYj0CgYEAxYEQ
|
16
|
+
KG+417yraHq0fxi5/eL68kWgFtwHl+AsLaBW079VRZmPyenuxwI/6jGLY2c6ixY4
|
17
|
+
L6VO+SpuT49xfZdD4/7UatMTSLSsg+j75LBekNaO28496HuihaMcfo1xA1TqDn0V
|
18
|
+
HaXdscz/usthiyxoq8MxEZ2akzmBzehX/cHpCJcCgYEA5FqT/XypzG7vRu5zIMjD
|
19
|
+
n8zWo4Btsqxa8jqlHE/1OocL0BdfhoHRgCC48nE2AnDYobJuCrCgw7e2ksj+s70O
|
20
|
+
ksVCxtwd2F3EhsYQKdNf4nw/G1OIh5pVr4U67LIlaMC9WROoPUPHIRTEaykUjOl7
|
21
|
+
H4hPZGvwSvGV/oCV4/kLUlUCgYEAljksyRTxS2a+GaH7WBC+p1XV+iDrO3fwbpyb
|
22
|
+
/bhPUo/dlCrRK4s7izMy2jcFBn6mENS9t7/M6chUTz+T2ysLAIf7maUirdJ+xXaY
|
23
|
+
4cEkrJYF4zpj7EjdvTfrnHaI1zfnL04EmaBnl62Ndc7sSqdklgDJedSelgzPpoZr
|
24
|
+
JyAu19ECgYBBmpIs4jGT4mBHh2tM9Xu4qmFTlVV1pXAMiXi6wPhCNGmRB4NmRS5Q
|
25
|
+
z+TZHY+DDPiiL61hdfO4T+oSngsW4aOGV5JapAKSjP/BSoNazCf9GFHfzE8MqrqZ
|
26
|
+
rCEi9ijLefG0+lr4/rMaOWJWAkA2lT5KFBoQrixVoMSh+CzoyuEcpw==
|
27
|
+
-----END RSA PRIVATE KEY-----
|
data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/compliance.crt
CHANGED
@@ -1,26 +1,26 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIEYTCCA0mgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCQVUx
|
3
|
-
GDAWBgNVBAgMD05ldyBTb3V0aCBXYWxlczEPMA0GA1U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avLzbNvaHx95Ave6NY
|
24
|
+
TN/WP070ihS0zjMb9nz7UXg203vATXKG9S2zIjBLv53lHWIefutrzeDxmZrzI5dg
|
25
|
+
uKSctXMh32KrDYwbyE4NJVcV0Ikb
|
26
|
+
-----END CERTIFICATE-----
|
data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/compliance.key
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
-----BEGIN RSA PRIVATE KEY-----
|
2
|
-
MIIEpAIBAAKCAQEAwlstj2pzcOjE0pomqUMYDg2d/2pvee/PTAgmSdAMHlOnsyNE
|
3
|
-
+F0N/6R66qM41nBlaV5LFqiparqKQo8FuGOKCH4kNiIoTrD4VpKw7HxLW5FI/U5q
|
4
|
-
suZ4xxHxpS7qtq1V70Ufw2D61UAaeDfIQzQd64yy6dgmJtLCBiHfopHK6aVgu1SN
|
5
|
-
dlBO3XWElPlbux8a+K/uOQn3uzO4d+Wlx/gQwCiAjZqsg8uY2itU7chmlPa/bbf9
|
6
|
-
AMizHbKt2RejgNukfcZxCMS9bscjbLhnClvcwZPJkYvnVD/3BM7+73Y5NLOclNQy
|
7
|
-
gzuS7TcDSFX2gHVdaUNd3YhPIVPTN7OKyg6/tQIDAQABAoIBAQC1zwktkYzv4C7O
|
8
|
-
O3lS+Pp1mvNjzLL/Q/+Mxkra3Y2YiPTlNGb+Vj4UGE8LUyiGIJodGSHwzlG9D0bq
|
9
|
-
wFO/iw3CqA1DvmwqQI3unkZ20kbEH4JBwqs5MzNkNTrxJJRX0ooCy4zM/dlmxxJ7
|
10
|
-
xuLFSul6QSHUcmguBRWPGvzSXMOOD4vj+gFx4qyQn6R0bpari261eEvLH687g9x7
|
11
|
-
4qA55YOPdjrY14fqYOK4RWdeFk3XGPKx5mOaUdErChAqJOToTE/IUWm8Kaf1P3Ko
|
12
|
-
PUFggJSu5AZCcJzHUA4awHBiZbpjamZ0b5qrpnu4I0YqfRiR1UYSQcXryn7SXLOo
|
13
|
-
UzCX9905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dkAkQ5g1WIm7dwGZutZ9dIY9J977F1
|
17
|
+
uAnYjS+QHFguuKj89+Yq7v+zSLFEfIdCWvnG3rTd/YSJaD77iTqpCniVLN1Si8zf
|
18
|
+
AAVmggYnLGluIY2XdGj3XPYc693LLQ0L66Nv/0knAoGACzn04Cz63nLORCQbjZ8E
|
19
|
+
4WUj0kXsnlslp60q9q/s5/Lp93aUSQp5alVc4YJYKOxVLrQgiUciRgZDTgoX2rnT
|
20
|
+
U56iZg2xAw5bJ5YpDObS1tR8St3WDCKgRHLwg6VjxB8DLM5svNN76tcPgQbfYsoE
|
21
|
+
dRygo0gX6ienKAwTk3DABy8CgYATabW7quOLPgfcIfXu0jeESd6HFbSEbmIiq3ku
|
22
|
+
TV/TYHSyBvyEApjemyVO7yukSOEK0GLBw8Z7YnMDRP6WuLdecdCSfeycOgCcEidn
|
23
|
+
ysW5lwTW08G4d03CyQnXJXAP7aTy0tTjslUBWQ+E+FqbyLaAFcGn6MhBF0A+yG2x
|
24
|
+
vKCRfQKBgQD4hKsb9KngZPYS7DYo4p3mK2WvCoW7QTIJl3svccu6yj82Rv/DCBto
|
25
|
+
MZCKFo6AR9okPtHzQuCNoZdYUaA0ZmIaShGIp9NmX+r+6n1hhYdH8gnYP++bUTsq
|
26
|
+
Un0RRW53gqc3sJFWbbhGLpUCYmovyVkU5qz2mUpDqTDtTmLlRZLH+Q==
|
27
|
+
-----END RSA PRIVATE KEY-----
|
data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/private.pem
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
-----BEGIN RSA PRIVATE KEY-----
|
2
|
-
MIIEpAIBAAKCAQEApXMdr0q1rnoqZr2dWl6BnNGOF3/WlGQkt8zRhuvZR9wGP+/O
|
3
|
-
NYmHhZ1FeW9S/iy2vtnNcwxrv4Njffg0Vr6/6qmZo2ZsnzwToHj+82aAxb7ZsFQh
|
4
|
-
uIGG0UDgXe5YF4NYgy5DUm1sFGfswNPEnpt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ot1ZnoBAhyVHMmNbji5c8d4xVIiQ7/xUkhrr9bpN/I2GD8Qz9MbjXiqBjTIyN4j4lwkJfViFLJijfXp7Q9UiPo3/SurJvobjrLtiwUj/FM1uU29/U1plkKjKRf
|
@@ -1,2 +1,2 @@
|
|
1
|
-
name 'mock_data'
|
2
|
-
version '0.0.1'
|
1
|
+
name 'mock_data'
|
2
|
+
version '0.0.1'
|
data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/recipes/default.rb
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
# copy files into tmp for cookbook
|
2
|
-
|
3
|
-
cookbook_file 'C:/Windows/Temp/public.pub' do
|
4
|
-
content 'public.pub'
|
5
|
-
action :create
|
6
|
-
end
|
7
|
-
|
8
|
-
cookbook_file 'C:/Windows/Temp/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 "C:/Windows/Temp/#{f}.#{ext}" do
|
16
|
-
content "#{f}.#{ext}"
|
17
|
-
action :create
|
18
|
-
sensitive true
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
1
|
+
# copy files into tmp for cookbook
|
2
|
+
|
3
|
+
cookbook_file 'C:/Windows/Temp/public.pub' do
|
4
|
+
content 'public.pub'
|
5
|
+
action :create
|
6
|
+
end
|
7
|
+
|
8
|
+
cookbook_file 'C:/Windows/Temp/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 "C:/Windows/Temp/#{f}.#{ext}" do
|
16
|
+
content "#{f}.#{ext}"
|
17
|
+
action :create
|
18
|
+
sensitive true
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -1,37 +1,77 @@
|
|
1
|
-
# workstation tests
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
describe
|
16
|
-
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
describe command('
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
describe
|
36
|
-
|
37
|
-
|
1
|
+
# workstation tests
|
2
|
+
|
3
|
+
control 'wombat-listenports' do
|
4
|
+
title 'RDP is listening on port 3389'
|
5
|
+
describe port(3389) do
|
6
|
+
it { should be_listening }
|
7
|
+
its('processes') { should include 'TermService' }
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
home = 'C:\\Users\\Default'
|
12
|
+
|
13
|
+
control 'wombat-configs' do
|
14
|
+
title 'Required configs are in place'
|
15
|
+
describe file("#{home}\\.ssh\\id_rsa.pub") do
|
16
|
+
its('content') { file('/tmp/public.pub').content }
|
17
|
+
end
|
18
|
+
describe file("#{home}\\.chef\\knife.rb") do
|
19
|
+
it { should be_file }
|
20
|
+
end
|
21
|
+
describe file("#{home}\\.chef\\private.pem") do
|
22
|
+
its('content') { file('/tmp/private.pem').content }
|
23
|
+
end
|
24
|
+
describe file("#{home}\\.chef\\config.d\\data_collector.rb") do
|
25
|
+
its('content') { should match('93a49a4f2482c64126f7b6015e6b0f30284287ee4054ff8807fb63d9cbd1c506') }
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
control 'wombat-packages' do
|
30
|
+
title 'Required packages are installed'
|
31
|
+
describe command('choco list cmder --exact --local-only --limit-output') do
|
32
|
+
its('exit_status') { should eq 0 }
|
33
|
+
its('stdout') { should match('cmder|') }
|
34
|
+
end
|
35
|
+
describe command('choco list googlechrome --exact --local-only --limit-output') do
|
36
|
+
its('exit_status') { should eq 0 }
|
37
|
+
its('stdout') { should match('googlechrome|') }
|
38
|
+
end
|
39
|
+
describe command('choco list atom --exact --local-only --limit-output') do
|
40
|
+
its('exit_status') { should eq 0 }
|
41
|
+
its('stdout') { should match('atom|') }
|
42
|
+
end
|
43
|
+
describe command('choco list git.install --exact --local-only --limit-output') do
|
44
|
+
its('exit_status') { should eq 0 }
|
45
|
+
its('stdout') { should match('git.install|') }
|
46
|
+
end
|
47
|
+
describe command('choco list gitextensions --exact --local-only --limit-output') do
|
48
|
+
its('exit_status') { should eq 0 }
|
49
|
+
its('stdout') { should match('gitextensions|') }
|
50
|
+
end
|
51
|
+
describe command('choco list --exact --local-only --limit-output') do
|
52
|
+
its('exit_status') { should eq 0 }
|
53
|
+
its('stdout') { should match('git-credential-manager-for-windows|') }
|
54
|
+
end
|
55
|
+
describe command('choco list putty --exact --local-only --limit-output') do
|
56
|
+
its('exit_status') { should eq 0 }
|
57
|
+
its('stdout') { should match('putty|') }
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
control 'wombat-powershell-modules' do
|
62
|
+
title 'Required PowerShell modules are installed'
|
63
|
+
describe command('(Get-Module -ListAvailable -Name posh-git).Guid') do
|
64
|
+
its('exit_status') { should eq 0 }
|
65
|
+
its('stdout') { should match('74c9fd30-734b-4c89-a8ae-7727ad21d1d5') }
|
66
|
+
end
|
67
|
+
describe command('(Get-Module -ListAvailable -Name PSReadLine).Guid') do
|
68
|
+
its('exit_status') { should eq 0 }
|
69
|
+
its('stdout') { should match('5714753b-2afd-4492-a5fd-01d9e2cff8b5') }
|
70
|
+
end
|
71
|
+
describe file('C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1') do
|
72
|
+
its('content') { should match('Import-Module posh-git') }
|
73
|
+
end
|
74
|
+
describe file('C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1') do
|
75
|
+
its('content') { should match('Import-Module PSReadLine') }
|
76
|
+
end
|
77
|
+
end
|