r-train 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -2
  3. data/lib/train/extras/command_wrapper.rb +0 -1
  4. data/lib/train/transports/ssh_connection.rb +2 -1
  5. data/lib/train/version.rb +1 -1
  6. data/test/integration/.kitchen/default-centos-71.yml +6 -0
  7. data/test/integration/.kitchen/default-ubuntu-1204.yml +6 -0
  8. data/test/integration/.kitchen/default-ubuntu-1404.yml +6 -0
  9. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  10. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  11. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id +1 -0
  12. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  13. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key +27 -0
  14. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  15. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile +9 -0
  16. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  17. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  18. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
  19. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  20. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
  21. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  22. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile +9 -0
  23. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  24. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  25. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
  26. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  27. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
  28. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  29. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile +9 -0
  30. data/test/integration/.kitchen/logs/default-centos-511-i386.log +0 -0
  31. data/test/integration/.kitchen/logs/default-centos-511.log +0 -0
  32. data/test/integration/.kitchen/logs/default-centos-67-i386.log +0 -0
  33. data/test/integration/.kitchen/logs/default-centos-67.log +0 -0
  34. data/test/integration/.kitchen/logs/default-centos-71.log +356 -0
  35. data/test/integration/.kitchen/logs/default-debian-6010-i386.log +0 -0
  36. data/test/integration/.kitchen/logs/default-debian-6010.log +0 -0
  37. data/test/integration/.kitchen/logs/default-debian-78-i386.log +0 -0
  38. data/test/integration/.kitchen/logs/default-debian-78.log +0 -0
  39. data/test/integration/.kitchen/logs/default-debian-81-i386.log +0 -0
  40. data/test/integration/.kitchen/logs/default-debian-81.log +0 -0
  41. data/test/integration/.kitchen/logs/default-fedora-21-i386.log +0 -0
  42. data/test/integration/.kitchen/logs/default-fedora-21.log +0 -0
  43. data/test/integration/.kitchen/logs/default-fedora-22.log +0 -0
  44. data/test/integration/.kitchen/logs/default-freebsd-102.log +0 -0
  45. data/test/integration/.kitchen/logs/default-freebsd-93.log +0 -0
  46. data/test/integration/.kitchen/logs/default-opensuse-132-i386.log +0 -0
  47. data/test/integration/.kitchen/logs/default-opensuse-132-x86-64.log +0 -0
  48. data/test/integration/.kitchen/logs/default-ubuntu-1004-i386.log +0 -0
  49. data/test/integration/.kitchen/logs/default-ubuntu-1004.log +0 -0
  50. data/test/integration/.kitchen/logs/default-ubuntu-1204-i386.log +0 -0
  51. data/test/integration/.kitchen/logs/default-ubuntu-1204.log +0 -0
  52. data/test/integration/.kitchen/logs/default-ubuntu-1404-i386.log +0 -0
  53. data/test/integration/.kitchen/logs/default-ubuntu-1404.log +0 -0
  54. data/test/integration/.kitchen/logs/kitchen.log +4 -0
  55. data/test/integration/Berksfile.lock +8 -0
  56. data/test/tools/os.rb +22 -0
  57. data/train.gemspec +9 -2
  58. metadata +113 -7
  59. data/.gitignore +0 -4
  60. data/.travis.yml +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4bc131b14e564505bfb4b0fe6600a1cb65683ef6
4
- data.tar.gz: 7c1e8fe171c13417699bac9e79331e2e5106e9d6
3
+ metadata.gz: 9d2fed9f8df330e399ebcdc9fb4bf54d54e211c6
4
+ data.tar.gz: 188c391502ea0ec079707863f5d36a70ee76d388
5
5
  SHA512:
6
- metadata.gz: cb2560766fb6136b92589b9b0add7f689a7732583168b1453693552986bd7829d5531e0bf431fb85e5c168b2f03e9fb60bdba34d48aa2ab22da09ccf8191776b
7
- data.tar.gz: 14fd0c7b1d9c9e68dec01cec7ee0f75a7337760ccbfbbe4caf234200b1638dff93b475841755096692db13adb962d1b46aeb5df6f37ef3126a31bd32f798dba0
6
+ metadata.gz: bcc3d7a32ba560692852d0d43079d5b2e743ac2a0f4a1acf975adeb99709f915d40a5a21c3fb0862fe5d82394ccf0310dd0f2a7ff21fe66f01ab320b505e4d67
7
+ data.tar.gz: dbb31f983a9ae7011a1a74df2cc322cbc59357d8fc88419a7435533591e501901064aa69576578d53a7e0e455a45314684f752bcff6c6e957add4d20c89249be
data/CHANGELOG.md CHANGED
@@ -1,7 +1,19 @@
1
1
  # Change Log
2
2
 
3
- ## [0.9.3](https://github.com/chef/train/tree/0.9.3) (2016-01-02)
4
- [Full Changelog](https://github.com/chef/train/compare/v0.9.2...0.9.3)
3
+ ## [0.9.4](https://github.com/chef/train/tree/0.9.4) (2016-01-15)
4
+ [Full Changelog](https://github.com/chef/train/compare/v0.9.3...0.9.4)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - bugfix: command wrapper always return nil [\#50](https://github.com/chef/train/pull/50) ([chris-rock](https://github.com/chris-rock))
9
+
10
+ **Merged pull requests:**
11
+
12
+ - 0.9.3 is empty on Windows [\#48](https://github.com/chef/train/pull/48) ([tyler-ball](https://github.com/tyler-ball))
13
+ - Updating to the latest release of net-ssh to consume https://github.com/net-ssh/net-ssh/pull/280 [\#47](https://github.com/chef/train/pull/47) ([tyler-ball](https://github.com/tyler-ball))
14
+
15
+ ## [v0.9.3](https://github.com/chef/train/tree/v0.9.3) (2016-01-03)
16
+ [Full Changelog](https://github.com/chef/train/compare/v0.9.2...v0.9.3)
5
17
 
6
18
  **Implemented enhancements:**
7
19
 
@@ -10,6 +22,7 @@
10
22
 
11
23
  **Merged pull requests:**
12
24
 
25
+ - 0.9.3 [\#45](https://github.com/chef/train/pull/45) ([chris-rock](https://github.com/chris-rock))
13
26
  - introduce `mounted` as a separate method to retrieve the content [\#44](https://github.com/chef/train/pull/44) ([chris-rock](https://github.com/chris-rock))
14
27
  - Support for AIX and targeted SSH testing [\#41](https://github.com/chef/train/pull/41) ([foobarbam](https://github.com/foobarbam))
15
28
 
@@ -127,7 +127,6 @@ module Train::Extras
127
127
  elsif transport.os.windows? && transport.class == Train::Transports::Local::Connection
128
128
  PowerShellCommand.new(transport, options)
129
129
  end
130
- nil
131
130
  end
132
131
  end
133
132
  end
@@ -156,7 +156,8 @@ class Train::Transports::SSH
156
156
  RESCUE_EXCEPTIONS_ON_ESTABLISH = [
157
157
  Errno::EACCES, Errno::EADDRINUSE, Errno::ECONNREFUSED, Errno::ETIMEDOUT,
158
158
  Errno::ECONNRESET, Errno::ENETUNREACH, Errno::EHOSTUNREACH,
159
- Net::SSH::Disconnect, Net::SSH::AuthenticationFailed, Timeout::Error
159
+ Net::SSH::Disconnect, Net::SSH::AuthenticationFailed, Net::SSH::ConnectionTimeout,
160
+ Timeout::Error
160
161
  ].freeze
161
162
 
162
163
  # Establish an SSH session on the remote host.
data/lib/train/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = '0.9.3'
6
+ VERSION = '0.9.4'
7
7
  end
@@ -0,0 +1,6 @@
1
+ ---
2
+ hostname: 127.0.0.1
3
+ port: '2201'
4
+ username: vagrant
5
+ ssh_key: "/Users/chartmann/Development/compliance/train/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key"
6
+ last_action: converge
@@ -0,0 +1,6 @@
1
+ ---
2
+ hostname: 127.0.0.1
3
+ port: '2222'
4
+ username: vagrant
5
+ ssh_key: "/Users/chartmann/Development/compliance/train/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key"
6
+ last_action: create
@@ -0,0 +1,6 @@
1
+ ---
2
+ hostname: 127.0.0.1
3
+ port: '2200'
4
+ username: vagrant
5
+ ssh_key: "/Users/chartmann/Development/compliance/train/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"
6
+ last_action: converge
@@ -0,0 +1,27 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIIEogIBAAKCAQEAumYTkVv571IDXW4ir026jpKFm94CMVxQ43OGs8fA6wtOSKHg
3
+ USw8utqH3p0zgTVwwcx3i6BOHXtRKocookuBREqkYTsdywUGulVPeHXQTdumz1t6
4
+ l3MeRHA88hNz3D0hfyI8mu4TxidaBw1Nwow/a9jf3QF6guJmnpolqpDfuyKvcCCO
5
+ 0/PNWUmp1egboV+nBod1m0NJwLJm9av0em6WOoA6l3yohpmEoCx3e/vXEVOJ5GXD
6
+ QMTVlgF2Az2/oGWeZUU6lhTX0GrUZr27biErugdG7izAsCgWHpV3Sr2blSvmvsgI
7
+ G4CqiwL8lS2llY/XYBPzHF/ZCfxNkwJVJVP8CwIDAQABAoIBACXj3hJsSfAWEc0K
8
+ OE6+VC/rJPG8PWHfTCoQL8+XyWV+FNm63ihh/65UAc6E0hVv0Y3zjFF7sqVXjfZB
9
+ J0dmZc6GBcgmBjZgvS9fbBomiMNq5Qu9orvqkLqEvj7PKXwZiReY1A0CXE6pbSmF
10
+ 0Mq9S58WpNr+E/NLJmUTHJkBfhlB6GXD+eVOoWu0AD1TbJcOn4giasANOAuDGk/i
11
+ 0Odn6f8R4GFC8TFOSlhFuHq7fAQBS9edqAF3EoLqTfP6l+mozHbfrEhrln9khjFO
12
+ OPSBjs7IZ73dRxb1T7gu+pgt1+xJrufLcSn6Co0BbSHRzXiumZhc4EX8PYO1iAUw
13
+ CfGY4dECgYEA84wcTpt5YjkXWoM8mNLyAHi+QQ0KgeNsWcqWJExLkFsfsXVrowds
14
+ uz0nknpfLRQpxtuE+2fepPY4tGGoUTWhlSoXMq8bEVexa8+GDYQfj43c5odz3szL
15
+ fTnj3CQhB/olutvmQBEyxvCZVwukXDSAr/7KHSfbz6IcoRonqdedrxcCgYEAw+3s
16
+ 0D3ZQZyw6H1ztVYIrToA9D+qgEnmlovMbhiFnT1snTYkMM49qlKHvku/0Mb8fbkZ
17
+ +cnGQLpJfTcxDBn3dOMqlpABSlqI8/No1Gjc19oWpokjZj7mjrfoAwMXZ8owRUzf
18
+ YVImcm/x7R0F3ExECCd6BKJgEsjH45vxK0C+ky0CgYAqVbCV+XCgIkxs72MZLZHj
19
+ gxmPNTUeXun2scBnjtuTvENGFaMgM6oy4e5/B8aDj32zk3UKPoP1KNeyg0c+1pO/
20
+ 2hEuPkH2QcgVdX1X3B+gVIiRifoaQH8exXFWUvFq8ZCdapwbhuHMswX0m5F2dano
21
+ 7eE0MDmFXiib2HAMle5TAQKBgDloAtTY6kkBIgxchYSCGrS2pATsioZgIMHHYDR5
22
+ 1txFXQeLD3uFUigPWlp1U1RWmTA1BdlcN0xLyLB5dVN4YDrNPHM06kvgzvO7Q+HI
23
+ f7x21+AfmlGg6Gi0lbQcOcVdRltntKONMFqjVh0FPexYJC7HckbdVIzsazTTQgxM
24
+ QgpZAoGAQayietN3+mVjIAhzxnzFTwkRXT/hgjBm/QwldMVSofQGvTtxV7QkrHRm
25
+ 9kV2OjKJDX8Gz3OkCZZnuvkKaM5MZ3f6B35SaKSA1jQteukhhpoOL72Qfu0c5ibp
26
+ nkl64DSF7jdZqohOB5PLHZWNVXmKHaFzIkF6bn3RmjVjBaNXH/Y=
27
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,9 @@
1
+ Vagrant.configure("2") do |c|
2
+ c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
+ c.vm.box = "opscode-centos-7.1"
4
+ c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.1_chef-provisionerless.box"
5
+ c.vm.hostname = "default-centos-71"
6
+ c.vm.synced_folder ".", "/vagrant", disabled: true
7
+ c.vm.provider :virtualbox do |p|
8
+ end
9
+ end
@@ -0,0 +1,27 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIIEowIBAAKCAQEAp5pG5I8LYv4GncA+3KYS/nNbvIIYy4K9mWVi5L3hMit17KTA
3
+ PKarWsnmidpGb+RgeolQnsA2dAneWxPV8T3AnXcfdDcBSeV1FlxFl80E5u3LOzvN
4
+ AtBn3kW58eapxYg9/mKm2lHlty1/SvQWHgAyzKnwmkU/Z0dYdjSRvgt320jxp6zJ
5
+ 2kyMOqvvyAVrdApMH+FPCAg1tQPrwAxyxEXrslUIpi9KzoG+ebzj05P9Q2zW9ME/
6
+ pXnx1CrHY1Godzi4xuKwnLexUmY5rMcWEX6xyFUX4tn/NBDKLgg4PkZR7Vjb/zwC
7
+ R2KV5WkxKHbPLQ8/ZLocCPclyJF+awCHla103wIDAQABAoIBAD2rJH6gq33nHiQZ
8
+ QogJi1+Yrp5z+A+ZsY2ponOr8hp1p1RFYn5ujQpA09TRPa2aCG3N7J4c92xG3UwB
9
+ xmyXXjISTL6EJrM7/JMXrHuoci9OO8M1w79PU4iTe1Gon7sQ4E6jmeUm0TFPSlEX
10
+ 8rNjO03XEbKR3DxyIfiMazvUGGvUmKM+FVi02WxFbSq/LfVxJeC0rH53838yUyrb
11
+ UZ/GsQZ7Pnrqt0Xm/Z4YfUO8LgQHckQ5oz8Czx1f0/Hld5+qH8eCOlQL+wQiPg/j
12
+ 4PsEL9sxdeY33zjyod97xbOp8CUv+DuPId6PG+7a07vjsZ3U0LKOb7SzYayrk9mi
13
+ NtizfvECgYEA1eEczzCIjPPAhWFwWogLwvEYM+SaIkDLvHdhgXpJnxbwH93YWlKT
14
+ s8OVwYi8tzs+HVHWYxW2Tjl9JLt9Rt8LcQs0K/b3m0tWtJH2dWcLSg0tJyVwF02l
15
+ lKFpYxuaOznmtGu3lJxbbRJezVU6MypiWN00UOlf3/U4rVdwsHW0UBsCgYEAyJwW
16
+ /X/6X0dFgtD0DX8v83lekeaYHd3wGLjwn1db0M8n9j4Evxc+HVeVD7C4YgkPCwuS
17
+ xgxbFsnYyXizIuIGr3qapXLfwO01E/932Gmt6aNRtt0S4T7f9TayRNhyghqn4QEl
18
+ t2P5RKkZLsdftkJDF+w8yxyAKvdHvYIpQtlJYo0CgYBW4xzRDuZqXJvZk7wRCzO7
19
+ /jXW3we+4pPh/J2f/A3sk2T5jSZXizR10v8DoIkJ5wdU4eo2Vpu5K6GrSn+aSwJa
20
+ 6jJHqgztCa4vrRxylWoAq1msjYj77o9V0jz+Bjih1uPiZ+Asf1ik9tGMmRMLtiw9
21
+ 7Z9TP3uzf+uGf/9HsImQAQKBgGiJZjWNRgP2WNOVXUfXOj6OxWgUGLqfl2janpD5
22
+ 7d9+w50+riyByR1zMTru5PY5MDyaOE65y5GxdyVtnzOTQtaYdhO3K8AWG+2i12nP
23
+ kA/Kyl8XDqqPoBbg/L6BaBJCH69RcL0C/Lb5wySsQkTwfJPvx7Iz1NoO57RqKmQq
24
+ ZGJVAoGBAICeDP+KuI3ro1bRC703lOfjnlObJ2+VdONMLzqKCWa0V8GhlaMk4BW/
25
+ FdGuWKg46lZJ5tCtPBy2xtiih0AoG0Rk3MIVYE4FsBA+dGyNUFjmLx0WMN9rsBV7
26
+ g1ZAgtKG9P3lcBzMb+7aeeMaFSLAZ3QUJqbqMGc2gpISkTOzw6PV
27
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,9 @@
1
+ Vagrant.configure("2") do |c|
2
+ c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
+ c.vm.box = "opscode-ubuntu-12.04"
4
+ c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
5
+ c.vm.hostname = "default-ubuntu-1204"
6
+ c.vm.synced_folder ".", "/vagrant", disabled: true
7
+ c.vm.provider :virtualbox do |p|
8
+ end
9
+ end
@@ -0,0 +1,27 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIIEpQIBAAKCAQEA0/FLAqet4bZSUMB/8RN1861NljVa2WBWUUfr7pWaNl1brGsf
3
+ O4RMnqQw64TJjFONJIsb21nDlz2gy3XKqTELcXWl6ah2NGlul+qpoeFqJocIQZiE
4
+ g7S8hQZPUWxpYrjQ1CO1HaW76oPbwX/9jP/XwI8MRh1+kb7kJ2n3KQLWcka1k5r5
5
+ 5UuZf7DnlH0jLISh0e0hwrV7Y32offHXFJ3tAjp+W6DQngj5jebCcEtKApMaPC+u
6
+ I7laGXPQ6kMGF9LVcwpsM0IEh4sakLj3UN4EetxPqj8sShXr/OM2vBzV/3iFIrnC
7
+ e+LBCZFLUnykRbZMUXZlBELXyxVDyfCE3NLuYwIDAQABAoIBAQC32kIanICfIzzG
8
+ 5iZWZ25TowuB+OjFVuep/Lzyq34qGNRUflyKkZqxp3b0Z606+KOghrf0kSq1gPWC
9
+ ab0TBgOKOediCQv5LViNmjfqwJMHtu13kamqYteCgdW+qU/GHtKwpAUSIdogdp/k
10
+ fHXjoXB0juKz1BQetDxQ4IBSaC7E03NioqROa5gwWd1YqfnOpx4BVEUNhHuO4e5j
11
+ DUKSiR4Opo1ceS6Qx/90uTOkH8dnBC9HiUoB82KU1kzWEcQ8IVbWKH/Guxcs4rQ0
12
+ yc6+a5E6jFoorADryTHXgPBYbNVTX2Kbi1AM9HecLOM8gpl0z7cjysJ3CXOrEvac
13
+ NjiM+SwZAoGBAPMhzMSkGslGt0qjCnTH4GzUCLs3QsrqURmJgGBy4bSrqF7oOVf/
14
+ Th3fuzskKcgJOEwOd+CAeT3/J8YATlY1ndB8Q3KfBzlma3wtEUCuABWXfMyUyEcu
15
+ lEoedAygA1Rc09n+yKBHlAfEAlNDgiPiLczcrpXz1G6NGM3EcQaF0wTfAoGBAN8o
16
+ 6AT8mfgbGhcNmELZhGGfnJXDnbJ4lPtUH+E3+9Om83pGs1HLm9hLnCRyMoWtKnNq
17
+ 2kaZxjvUcUr8QyVbu0ECXKjOxO2KmjCfOIJsQxzU7eqMlN+NO80s8xN2aTXpdpSV
18
+ z0ONZaMONuEkFbaaYioAHyudgGpY9fbxCYLyDqL9AoGBAONPPnq6UrDLhKIrPKNi
19
+ G9ijhGZEjBXabGhLvdJulcasloXk53f2Ibqcahgo/0ceF5xECp/CfZgQ7caYkqTX
20
+ C+zXwNdxBvgLYYJ/QBoQk9OcBfnfQEAMtGd3gVgsYfCFuSueoUP4p9V61BG0k/+o
21
+ ftmBmVho1rtk/0Oh3WoTw+5RAoGAMEmksveJxYLvyU86xDRXDdzAwDNc2zJ2Yk/Y
22
+ uh4oEqtMggfsY2WgalQqDETdo8lNpz3Wz3IUz/tvLF+bk+jegvmk3S4otJHKPX0m
23
+ eCo+920nshoLWLgx2XrBelOj/nNvIkWsXJyrAnZf76WkQSf018vA8uoY0GpBhtav
24
+ TTNdcW0CgYEAio1BDiUvjUjMZo9Ac28EjxvS3qqibilmoHR0J12PZjsIL6UFpuTx
25
+ prLRGFX+uyTKzy6v0ohFKYOIKH0mqeKojpZyIvuZMq3QX5g1jAFLzT2cVRCIPGXz
26
+ hUqW0K3CO64xnMNORzqUX3xxh+54j/D+nul3H/RIwPBIEAVKA3eqGB4=
27
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,9 @@
1
+ Vagrant.configure("2") do |c|
2
+ c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
+ c.vm.box = "opscode-ubuntu-14.04"
4
+ c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box"
5
+ c.vm.hostname = "default-ubuntu-1404"
6
+ c.vm.synced_folder ".", "/vagrant", disabled: true
7
+ c.vm.provider :virtualbox do |p|
8
+ end
9
+ end
@@ -0,0 +1,356 @@
1
+ I, [2016-01-15T13:54:02.957131 #64433] INFO -- default-centos-71: -----> Creating <default-centos-71>...
2
+ I, [2016-01-15T13:54:04.145453 #64433] INFO -- default-centos-71: Bringing machine 'default' up with 'virtualbox' provider...
3
+ I, [2016-01-15T13:54:04.340852 #64433] INFO -- default-centos-71: ==> default: Importing base box 'opscode-centos-7.1'...
4
+ I, [2016-01-15T13:54:10.240589 #64433] INFO -- default-centos-71:
5
+ I, [2016-01-15T13:54:10.985940 #64433] INFO -- default-centos-71: ==> default: Setting the name of the VM: kitchen-integration-default-centos-71_default_1452884050943_75448
6
+ I, [2016-01-15T13:54:11.923978 #64433] INFO -- default-centos-71: ==> default: Fixed port collision for 22 => 2222. Now on port 2201.
7
+ I, [2016-01-15T13:54:11.989424 #64433] INFO -- default-centos-71: ==> default: Clearing any previously set network interfaces...
8
+ I, [2016-01-15T13:54:12.033954 #64433] INFO -- default-centos-71: ==> default: Preparing network interfaces based on configuration...
9
+ I, [2016-01-15T13:54:12.034818 #64433] INFO -- default-centos-71: default: Adapter 1: nat
10
+ I, [2016-01-15T13:54:12.078217 #64433] INFO -- default-centos-71: ==> default: Forwarding ports...
11
+ I, [2016-01-15T13:54:12.139096 #64433] INFO -- default-centos-71: default: 22 => 2201 (adapter 1)
12
+ I, [2016-01-15T13:54:12.290299 #64433] INFO -- default-centos-71: ==> default: Booting VM...
13
+ I, [2016-01-15T13:54:12.496798 #64433] INFO -- default-centos-71: ==> default: Waiting for machine to boot. This may take a few minutes...
14
+ I, [2016-01-15T13:54:12.814657 #64433] INFO -- default-centos-71: default: SSH address: 127.0.0.1:2201
15
+ I, [2016-01-15T13:54:12.815177 #64433] INFO -- default-centos-71: default: SSH username: vagrant
16
+ I, [2016-01-15T13:54:12.815251 #64433] INFO -- default-centos-71: default: SSH auth method: private key
17
+ I, [2016-01-15T13:54:27.938556 #64433] INFO -- default-centos-71: default: Warning: Connection timeout. Retrying...
18
+ I, [2016-01-15T13:54:28.625706 #64433] INFO -- default-centos-71: default:
19
+ I, [2016-01-15T13:54:28.625764 #64433] INFO -- default-centos-71: default: Vagrant insecure key detected. Vagrant will automatically replace
20
+ I, [2016-01-15T13:54:28.625796 #64433] INFO -- default-centos-71: default: this with a newly generated keypair for better security.
21
+ I, [2016-01-15T13:54:30.776851 #64433] INFO -- default-centos-71: default:
22
+ I, [2016-01-15T13:54:30.776917 #64433] INFO -- default-centos-71: default: Inserting generated public key within guest...
23
+ I, [2016-01-15T13:54:31.209118 #64433] INFO -- default-centos-71: default: Removing insecure key from the guest if it's present...
24
+ I, [2016-01-15T13:54:31.493347 #64433] INFO -- default-centos-71: default: Key inserted! Disconnecting and reconnecting using new SSH key...
25
+ I, [2016-01-15T13:54:32.568867 #64433] INFO -- default-centos-71: ==> default: Machine booted and ready!
26
+ I, [2016-01-15T13:54:32.569211 #64433] INFO -- default-centos-71: ==> default: Checking for guest additions in VM...
27
+ I, [2016-01-15T13:54:32.609366 #64433] INFO -- default-centos-71: ==> default: Setting hostname...
28
+ I, [2016-01-15T13:54:33.169196 #64433] INFO -- default-centos-71: ==> default: Machine not provisioned because `--no-provision` is specified.
29
+ I, [2016-01-15T13:54:35.228909 #64433] INFO -- default-centos-71: [SSH] Established
30
+ I, [2016-01-15T13:54:35.229644 #64433] INFO -- default-centos-71: Vagrant instance <default-centos-71> created.
31
+ I, [2016-01-15T13:54:35.233475 #64433] INFO -- default-centos-71: Finished creating <default-centos-71> (0m32.27s).
32
+ I, [2016-01-15T13:54:35.235159 #64433] INFO -- default-centos-71: -----> Converging <default-centos-71>...
33
+ I, [2016-01-15T13:54:35.237101 #64433] INFO -- default-centos-71: Preparing files for transfer
34
+ I, [2016-01-15T13:54:35.237332 #64433] INFO -- default-centos-71: Preparing dna.json
35
+ I, [2016-01-15T13:54:35.238359 #64433] INFO -- default-centos-71: Resolving cookbook dependencies with Berkshelf 4.0.1...
36
+ I, [2016-01-15T13:54:36.542060 #64433] INFO -- default-centos-71: Removing non-cookbook files before transfer
37
+ I, [2016-01-15T13:54:36.544313 #64433] INFO -- default-centos-71: Preparing data
38
+ I, [2016-01-15T13:54:36.600386 #64433] INFO -- default-centos-71: Preparing solo.rb
39
+ I, [2016-01-15T13:54:36.829171 #64433] INFO -- default-centos-71: -----> Installing Chef Omnibus (install only if missing)
40
+ I, [2016-01-15T13:54:36.870081 #64433] INFO -- default-centos-71: Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
41
+ I, [2016-01-15T13:54:36.870146 #64433] INFO -- default-centos-71: Trying wget...
42
+ I, [2016-01-15T13:54:37.191399 #64433] INFO -- default-centos-71: Download complete.
43
+ I, [2016-01-15T13:54:37.366947 #64433] INFO -- default-centos-71: Getting information for chef stable for el...
44
+ I, [2016-01-15T13:54:37.367002 #64433] INFO -- default-centos-71: downloading https://omnitruck-direct.chef.io/stable/chef/metadata?v=&p=el&pv=7&m=x86_64
45
+ I, [2016-01-15T13:54:37.367019 #64433] INFO -- default-centos-71: to file /tmp/install.sh.9193/metadata.txt
46
+ I, [2016-01-15T13:54:37.378698 #64433] INFO -- default-centos-71: trying wget...
47
+ I, [2016-01-15T13:54:37.915706 #64433] INFO -- default-centos-71: url https://opscode-omnibus-packages.s3.amazonaws.com/el/7/x86_64/chef-12.6.0-1.el7.x86_64.rpm
48
+ I, [2016-01-15T13:54:37.915770 #64433] INFO -- default-centos-71: md5 fe1ae43e8839a85a644305817004a21c
49
+ I, [2016-01-15T13:54:37.915784 #64433] INFO -- default-centos-71: sha256 14557b1db3ee9bfc6072395de8d60bb8054c6cbdab9f2791e1ec9417970b6470
50
+ I, [2016-01-15T13:54:37.953464 #64433] INFO -- default-centos-71: downloaded metadata file looks valid...
51
+ I, [2016-01-15T13:54:38.082428 #64433] INFO -- default-centos-71: downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/7/x86_64/chef-12.6.0-1.el7.x86_64.rpm
52
+ I, [2016-01-15T13:54:38.082503 #64433] INFO -- default-centos-71: to file /tmp/install.sh.9193/chef-12.6.0-1.el7.x86_64.rpm
53
+ I, [2016-01-15T13:54:38.095482 #64433] INFO -- default-centos-71: trying wget...
54
+ I, [2016-01-15T13:56:41.136448 #64433] INFO -- default-centos-71: Comparing checksum with sha256sum...
55
+ I, [2016-01-15T13:56:41.312810 #64433] INFO -- default-centos-71:
56
+ I, [2016-01-15T13:56:41.312864 #64433] INFO -- default-centos-71: WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
57
+ I, [2016-01-15T13:56:41.312881 #64433] INFO -- default-centos-71:
58
+ I, [2016-01-15T13:56:41.312921 #64433] INFO -- default-centos-71: You are installing an omnibus package without a version pin. If you are installing
59
+ I, [2016-01-15T13:56:41.312935 #64433] INFO -- default-centos-71: on production servers via an automated process this is DANGEROUS and you will
60
+ I, [2016-01-15T13:56:41.312951 #64433] INFO -- default-centos-71: be upgraded without warning on new releases, even to new major releases.
61
+ I, [2016-01-15T13:56:41.312963 #64433] INFO -- default-centos-71: Letting the version float is only appropriate in desktop, test, development or
62
+ I, [2016-01-15T13:56:41.312974 #64433] INFO -- default-centos-71: CI/CD environments.
63
+ I, [2016-01-15T13:56:41.312984 #64433] INFO -- default-centos-71:
64
+ I, [2016-01-15T13:56:41.312994 #64433] INFO -- default-centos-71: WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
65
+ I, [2016-01-15T13:56:41.313004 #64433] INFO -- default-centos-71:
66
+ I, [2016-01-15T13:56:41.313014 #64433] INFO -- default-centos-71: Installing chef
67
+ I, [2016-01-15T13:56:41.313024 #64433] INFO -- default-centos-71: installing with rpm...
68
+ I, [2016-01-15T13:56:41.364021 #64433] INFO -- default-centos-71: warning: /tmp/install.sh.9193/chef-12.6.0-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
69
+ I, [2016-01-15T13:56:41.524367 #64433] INFO -- default-centos-71: Preparing... (100%)# (100%)## (100%)### (100%)#### (100%)##### (100%)###### (100%)####### (100%)######## (100%)######### (100%)########## (100%)########### (100%)############ (100%)############# (100%)############## (100%)############### (100%)################ (100%)################# (100%)################## (100%)################### (100%)#################### (100%)##################### (100%)###################### (100%)####################### (100%)######################## (100%)######################### (100%)########################## (100%)########################### (100%)############################ (100%)############################# (100%)############################## (100%)############################### (100%)################################ (100%)################################# (100%)################################# [100%]
70
+ I, [2016-01-15T13:56:41.533779 #64433] INFO -- default-centos-71: Updating / installing...
71
+ I, [2016-01-15T13:56:44.929337 #64433] INFO -- default-centos-71: ( 1%)# ( 4%)## ( 7%)### ( 10%)#### ( 13%)##### ( 16%)###### ( 19%)####### ( 22%)######## ( 25%)######### ( 28%)########## ( 31%)########### ( 34%)############ ( 37%)############# ( 40%)############## ( 43%)############### ( 46%)################ ( 49%)################# ( 51%)################## ( 54%)################### ( 57%)#################### ( 60%)##################### ( 63%)###################### ( 66%)####################### ( 69%)######################## ( 72%)######################### ( 75%)########################## ( 78%)########################### ( 81%)############################ ( 84%)############################# ( 87%)############################## ( 90%)############################### ( 93%)################################ ( 96%)################################# ( 99%)################################# [100%]
72
+ I, [2016-01-15T13:56:45.543959 #64433] INFO -- default-centos-71: Thank you for installing Chef!
73
+ I, [2016-01-15T13:56:45.675668 #64433] INFO -- default-centos-71: Transferring files to <default-centos-71>
74
+ I, [2016-01-15T13:56:46.763265 #64433] INFO -- default-centos-71: Starting Chef Client, version 12.6.0
75
+ I, [2016-01-15T13:56:47.708352 #64433] INFO -- default-centos-71: Compiling Cookbooks...
76
+ I, [2016-01-15T13:56:47.715764 #64433] INFO -- default-centos-71: Converging 23 resources
77
+ I, [2016-01-15T13:56:47.715813 #64433] INFO -- default-centos-71: Recipe: sudo::default
78
+ I, [2016-01-15T13:56:47.736708 #64433] INFO -- default-centos-71: (skipped due to not_if)
79
+ I, [2016-01-15T13:56:47.736765 #64433] INFO -- default-centos-71: * directory[/etc/sudoers.d] action create
80
+ I, [2016-01-15T13:56:47.794226 #64433] INFO -- default-centos-71:
81
+ I, [2016-01-15T13:56:47.794279 #64433] INFO -- default-centos-71: - restore selinux security context
82
+ I, [2016-01-15T13:56:47.794293 #64433] INFO -- default-centos-71: * cookbook_file[/etc/sudoers.d/README] action create
83
+ I, [2016-01-15T13:56:47.794307 #64433] INFO -- default-centos-71: - create new file /etc/sudoers.d/README
84
+ I, [2016-01-15T13:56:47.794317 #64433] INFO -- default-centos-71: - update content in file /etc/sudoers.d/README from none to 9ded17
85
+ I, [2016-01-15T13:56:47.794331 #64433] INFO -- default-centos-71: --- /etc/sudoers.d/README 2016-01-15 18:56:46.241232839 +0000
86
+ I, [2016-01-15T13:56:47.794341 #64433] INFO -- default-centos-71: +++ /etc/sudoers.d/.README20160115-12508-1jrnxoi 2016-01-15 18:56:46.241232839 +0000
87
+ I, [2016-01-15T13:56:47.794351 #64433] INFO -- default-centos-71: @@ -1 +1,18 @@
88
+ I, [2016-01-15T13:56:47.794360 #64433] INFO -- default-centos-71: +#
89
+ I, [2016-01-15T13:56:47.794374 #64433] INFO -- default-centos-71: +# As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on
90
+ I, [2016-01-15T13:56:47.794388 #64433] INFO -- default-centos-71: +# installation of the package now includes the directive:
91
+ I, [2016-01-15T13:56:47.794398 #64433] INFO -- default-centos-71: +#
92
+ I, [2016-01-15T13:56:47.794410 #64433] INFO -- default-centos-71: +# #includedir /etc/sudoers.d
93
+ I, [2016-01-15T13:56:47.794425 #64433] INFO -- default-centos-71: +#
94
+ I, [2016-01-15T13:56:47.794435 #64433] INFO -- default-centos-71: +# This will cause sudo to read and parse any files in the /etc/sudoers.d
95
+ I, [2016-01-15T13:56:47.794445 #64433] INFO -- default-centos-71: +# directory that do not end in '~' or contain a '.' character.
96
+ I, [2016-01-15T13:56:47.794455 #64433] INFO -- default-centos-71: +#
97
+ I, [2016-01-15T13:56:47.794464 #64433] INFO -- default-centos-71: +# Note that there must be at least one file in the sudoers.d directory (this
98
+ I, [2016-01-15T13:56:47.794492 #64433] INFO -- default-centos-71: +# one will do), and all files in this directory should be mode 0440.
99
+ I, [2016-01-15T13:56:47.794504 #64433] INFO -- default-centos-71: +#
100
+ I, [2016-01-15T13:56:47.794520 #64433] INFO -- default-centos-71: +# Note also, that because sudoers contents can vary widely, no attempt is
101
+ I, [2016-01-15T13:56:47.794531 #64433] INFO -- default-centos-71: +# made to add this directive to existing sudoers files on upgrade. Feel free
102
+ I, [2016-01-15T13:56:47.794541 #64433] INFO -- default-centos-71: +# to add the above directive to the end of your /etc/sudoers file to enable
103
+ I, [2016-01-15T13:56:47.794550 #64433] INFO -- default-centos-71: +# this functionality for existing installations if you wish!
104
+ I, [2016-01-15T13:56:47.794560 #64433] INFO -- default-centos-71: +#
105
+ I, [2016-01-15T13:56:47.794569 #64433] INFO -- default-centos-71: - change mode from '' to '0440'
106
+ I, [2016-01-15T13:56:47.794579 #64433] INFO -- default-centos-71: - change owner from '' to 'root'
107
+ I, [2016-01-15T13:56:47.820691 #64433] INFO -- default-centos-71:
108
+ I, [2016-01-15T13:56:47.820745 #64433] INFO -- default-centos-71: - restore selinux security context
109
+ I, [2016-01-15T13:56:47.823506 #64433] INFO -- default-centos-71:
110
+ I, [2016-01-15T13:56:47.823543 #64433] INFO -- default-centos-71: - update content in file /etc/sudoers from 3d87b1 to 742f7a
111
+ I, [2016-01-15T13:56:47.823559 #64433] INFO -- default-centos-71: --- /etc/sudoers 2015-04-04 08:01:37.444806767 +0000
112
+ I, [2016-01-15T13:56:47.823580 #64433] INFO -- default-centos-71: +++ /etc/.sudoers20160115-12508-nej8iq 2016-01-15 18:56:46.267245837 +0000
113
+ I, [2016-01-15T13:56:47.823592 #64433] INFO -- default-centos-71: @@ -1,119 +1,15 @@
114
+ I, [2016-01-15T13:56:47.823603 #64433] INFO -- default-centos-71: -## Sudoers allows particular users to run various commands as
115
+ I, [2016-01-15T13:56:47.823614 #64433] INFO -- default-centos-71: -## the root user, without needing the root password.
116
+ I, [2016-01-15T13:56:47.823624 #64433] INFO -- default-centos-71: -##
117
+ I, [2016-01-15T13:56:47.823635 #64433] INFO -- default-centos-71: -## Examples are provided at the bottom of the file for collections
118
+ I, [2016-01-15T13:56:47.823647 #64433] INFO -- default-centos-71: -## of related commands, which can then be delegated out to particular
119
+ I, [2016-01-15T13:56:47.823662 #64433] INFO -- default-centos-71: -## users or groups.
120
+ I, [2016-01-15T13:56:47.823695 #64433] INFO -- default-centos-71: -##
121
+ I, [2016-01-15T13:56:47.823729 #64433] INFO -- default-centos-71: -## This file must be edited with the 'visudo' command.
122
+ I, [2016-01-15T13:56:47.823745 #64433] INFO -- default-centos-71: +# This file is managed by Chef.
123
+ I, [2016-01-15T13:56:47.823758 #64433] INFO -- default-centos-71: +# Do NOT modify this file directly.
124
+ I, [2016-01-15T13:56:47.823769 #64433] INFO -- default-centos-71:
125
+ I, [2016-01-15T13:56:47.823784 #64433] INFO -- default-centos-71: -## Host Aliases
126
+ I, [2016-01-15T13:56:47.823795 #64433] INFO -- default-centos-71: -## Groups of machines. You may prefer to use hostnames (perhaps using
127
+ I, [2016-01-15T13:56:47.823806 #64433] INFO -- default-centos-71: -## wildcards for entire domains) or IP addresses instead.
128
+ I, [2016-01-15T13:56:47.823818 #64433] INFO -- default-centos-71: -# Host_Alias FILESERVERS = fs1, fs2
129
+ I, [2016-01-15T13:56:47.823830 #64433] INFO -- default-centos-71: -# Host_Alias MAILSERVERS = smtp, smtp2
130
+ I, [2016-01-15T13:56:47.823844 #64433] INFO -- default-centos-71: +Defaults !lecture,tty_tickets,!fqdn
131
+ I, [2016-01-15T13:56:47.823856 #64433] INFO -- default-centos-71:
132
+ I, [2016-01-15T13:56:47.823866 #64433] INFO -- default-centos-71: -## User Aliases
133
+ I, [2016-01-15T13:56:47.823883 #64433] INFO -- default-centos-71: -## These aren't often necessary, as you can use regular groups
134
+ I, [2016-01-15T13:56:47.823894 #64433] INFO -- default-centos-71: -## (ie, from files, LDAP, NIS, etc) in this file - just use %groupname
135
+ I, [2016-01-15T13:56:47.823922 #64433] INFO -- default-centos-71: -## rather than USERALIAS
136
+ I, [2016-01-15T13:56:47.823935 #64433] INFO -- default-centos-71: -# User_Alias ADMINS = jsmith, mikem
137
+ I, [2016-01-15T13:56:47.823945 #64433] INFO -- default-centos-71: +# User privilege specification
138
+ I, [2016-01-15T13:56:47.823956 #64433] INFO -- default-centos-71: +root ALL=(ALL) ALL
139
+ I, [2016-01-15T13:56:47.823966 #64433] INFO -- default-centos-71:
140
+ I, [2016-01-15T13:56:47.823981 #64433] INFO -- default-centos-71:
141
+ I, [2016-01-15T13:56:47.823992 #64433] INFO -- default-centos-71: -## Command Aliases
142
+ I, [2016-01-15T13:56:47.824002 #64433] INFO -- default-centos-71: -## These are groups of related commands...
143
+ I, [2016-01-15T13:56:47.824011 #64433] INFO -- default-centos-71:
144
+ I, [2016-01-15T13:56:47.824021 #64433] INFO -- default-centos-71: -## Networking
145
+ I, [2016-01-15T13:56:47.824040 #64433] INFO -- default-centos-71: -# Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-tool
146
+ I, [2016-01-15T13:56:47.824061 #64433] INFO -- default-centos-71: +# Members of the group 'sysadmin' may gain root privileges
147
+ I, [2016-01-15T13:56:47.824072 #64433] INFO -- default-centos-71: +%sysadmin ALL=(ALL) ALL
148
+ I, [2016-01-15T13:56:47.824081 #64433] INFO -- default-centos-71:
149
+ I, [2016-01-15T13:56:47.824091 #64433] INFO -- default-centos-71: -## Installation and management of software
150
+ I, [2016-01-15T13:56:47.824100 #64433] INFO -- default-centos-71: -# Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum
151
+ I, [2016-01-15T13:56:47.824110 #64433] INFO -- default-centos-71: -
152
+ I, [2016-01-15T13:56:47.824119 #64433] INFO -- default-centos-71: -## Services
153
+ I, [2016-01-15T13:56:47.824136 #64433] INFO -- default-centos-71: -# Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig
154
+ I, [2016-01-15T13:56:47.824147 #64433] INFO -- default-centos-71: -
155
+ I, [2016-01-15T13:56:47.824156 #64433] INFO -- default-centos-71: -## Updating the locate database
156
+ I, [2016-01-15T13:56:47.824165 #64433] INFO -- default-centos-71: -# Cmnd_Alias LOCATE = /usr/bin/updatedb
157
+ I, [2016-01-15T13:56:47.824174 #64433] INFO -- default-centos-71: -
158
+ I, [2016-01-15T13:56:47.824184 #64433] INFO -- default-centos-71: -## Storage
159
+ I, [2016-01-15T13:56:47.824194 #64433] INFO -- default-centos-71: -# Cmnd_Alias STORAGE = /sbin/fdisk, /sbin/sfdisk, /sbin/parted, /sbin/partprobe, /bin/mount, /bin/umount
160
+ I, [2016-01-15T13:56:47.824203 #64433] INFO -- default-centos-71: -
161
+ I, [2016-01-15T13:56:47.824213 #64433] INFO -- default-centos-71: -## Delegating permissions
162
+ I, [2016-01-15T13:56:47.824222 #64433] INFO -- default-centos-71: -# Cmnd_Alias DELEGATING = /usr/sbin/visudo, /bin/chown, /bin/chmod, /bin/chgrp
163
+ I, [2016-01-15T13:56:47.824237 #64433] INFO -- default-centos-71: -
164
+ I, [2016-01-15T13:56:47.824246 #64433] INFO -- default-centos-71: -## Processes
165
+ I, [2016-01-15T13:56:47.824255 #64433] INFO -- default-centos-71: -# Cmnd_Alias PROCESSES = /bin/nice, /bin/kill, /usr/bin/kill, /usr/bin/killall
166
+ I, [2016-01-15T13:56:47.824265 #64433] INFO -- default-centos-71: -
167
+ I, [2016-01-15T13:56:47.824279 #64433] INFO -- default-centos-71: -## Drivers
168
+ I, [2016-01-15T13:56:47.824288 #64433] INFO -- default-centos-71: -# Cmnd_Alias DRIVERS = /sbin/modprobe
169
+ I, [2016-01-15T13:56:47.824300 #64433] INFO -- default-centos-71: -
170
+ I, [2016-01-15T13:56:47.824309 #64433] INFO -- default-centos-71: -# Defaults specification
171
+ I, [2016-01-15T13:56:47.824324 #64433] INFO -- default-centos-71: -
172
+ I, [2016-01-15T13:56:47.824333 #64433] INFO -- default-centos-71: -#
173
+ I, [2016-01-15T13:56:47.824343 #64433] INFO -- default-centos-71: -# Disable "ssh hostname sudo <cmd>", because it will show the password in clear.
174
+ I, [2016-01-15T13:56:47.824363 #64433] INFO -- default-centos-71: -# You have to run "ssh -t hostname sudo <cmd>".
175
+ I, [2016-01-15T13:56:47.824374 #64433] INFO -- default-centos-71: -#
176
+ I, [2016-01-15T13:56:47.824384 #64433] INFO -- default-centos-71: -#Defaults requiretty
177
+ I, [2016-01-15T13:56:47.824397 #64433] INFO -- default-centos-71: -
178
+ I, [2016-01-15T13:56:47.824407 #64433] INFO -- default-centos-71: -#
179
+ I, [2016-01-15T13:56:47.824416 #64433] INFO -- default-centos-71: -# Refuse to run if unable to disable echo on the tty. This setting should also be
180
+ I, [2016-01-15T13:56:47.824427 #64433] INFO -- default-centos-71: -#Defaults requiretty above.
181
+ I, [2016-01-15T13:56:47.824449 #64433] INFO -- default-centos-71: -#
182
+ I, [2016-01-15T13:56:47.824459 #64433] INFO -- default-centos-71: -Defaults !visiblepw
183
+ I, [2016-01-15T13:56:47.824468 #64433] INFO -- default-centos-71: -
184
+ I, [2016-01-15T13:56:47.824481 #64433] INFO -- default-centos-71: -#
185
+ I, [2016-01-15T13:56:47.824490 #64433] INFO -- default-centos-71: -# Preserving HOME has security implications since many programs
186
+ I, [2016-01-15T13:56:47.824501 #64433] INFO -- default-centos-71: -# use it when searching for configuration files. Note that HOME
187
+ I, [2016-01-15T13:56:47.824511 #64433] INFO -- default-centos-71: -# is already set when the the env_reset option is enabled, so
188
+ I, [2016-01-15T13:56:47.824521 #64433] INFO -- default-centos-71: -# this option is only effective for configurations where either
189
+ I, [2016-01-15T13:56:47.824535 #64433] INFO -- default-centos-71: -# env_reset is disabled or HOME is present in the env_keep list.
190
+ I, [2016-01-15T13:56:47.824545 #64433] INFO -- default-centos-71: -#
191
+ I, [2016-01-15T13:56:47.824557 #64433] INFO -- default-centos-71: -Defaults always_set_home
192
+ I, [2016-01-15T13:56:47.824570 #64433] INFO -- default-centos-71: -
193
+ I, [2016-01-15T13:56:47.824579 #64433] INFO -- default-centos-71: -Defaults env_reset
194
+ I, [2016-01-15T13:56:47.824594 #64433] INFO -- default-centos-71: -Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR LS_COLORS"
195
+ I, [2016-01-15T13:56:47.824604 #64433] INFO -- default-centos-71: -Defaults env_keep += "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE"
196
+ I, [2016-01-15T13:56:47.824614 #64433] INFO -- default-centos-71: -Defaults env_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES"
197
+ I, [2016-01-15T13:56:47.824626 #64433] INFO -- default-centos-71: -Defaults env_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
198
+ I, [2016-01-15T13:56:47.824641 #64433] INFO -- default-centos-71: -Defaults env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY"
199
+ I, [2016-01-15T13:56:47.824651 #64433] INFO -- default-centos-71: -
200
+ I, [2016-01-15T13:56:47.824660 #64433] INFO -- default-centos-71: -#
201
+ I, [2016-01-15T13:56:47.824669 #64433] INFO -- default-centos-71: -# Adding HOME to env_keep may enable a user to run unrestricted
202
+ I, [2016-01-15T13:56:47.824682 #64433] INFO -- default-centos-71: -# commands via sudo.
203
+ I, [2016-01-15T13:56:47.824691 #64433] INFO -- default-centos-71: -#
204
+ I, [2016-01-15T13:56:47.824710 #64433] INFO -- default-centos-71: -# Defaults env_keep += "HOME"
205
+ I, [2016-01-15T13:56:47.824719 #64433] INFO -- default-centos-71: -
206
+ I, [2016-01-15T13:56:47.824729 #64433] INFO -- default-centos-71: -Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
207
+ I, [2016-01-15T13:56:47.824739 #64433] INFO -- default-centos-71: -
208
+ I, [2016-01-15T13:56:47.824748 #64433] INFO -- default-centos-71: -## Next comes the main part: which users can run what software on
209
+ I, [2016-01-15T13:56:47.825913 #64433] INFO -- default-centos-71: can be shared between multiple
210
+ I, [2016-01-15T13:56:47.825953 #64433] INFO -- default-centos-71: -## systems).
211
+ I, [2016-01-15T13:56:47.825966 #64433] INFO -- default-centos-71: -## Syntax:
212
+ I, [2016-01-15T13:56:47.825976 #64433] INFO -- default-centos-71: -##
213
+ I, [2016-01-15T13:56:47.826000 #64433] INFO -- default-centos-71: -## user MACHINE=COMMANDS
214
+ I, [2016-01-15T13:56:47.826012 #64433] INFO -- default-centos-71: -##
215
+ I, [2016-01-15T13:56:47.826025 #64433] INFO -- default-centos-71: -## The COMMANDS section may have other options added to it.
216
+ I, [2016-01-15T13:56:47.826036 #64433] INFO -- default-centos-71: -##
217
+ I, [2016-01-15T13:56:47.826046 #64433] INFO -- default-centos-71: -## Allow root to run any commands anywhere
218
+ I, [2016-01-15T13:56:47.826056 #64433] INFO -- default-centos-71: -root ALL=(ALL) ALL
219
+ I, [2016-01-15T13:56:47.826065 #64433] INFO -- default-centos-71: -
220
+ I, [2016-01-15T13:56:47.826075 #64433] INFO -- default-centos-71: -## Allows members of the 'sys' group to run networking, software,
221
+ I, [2016-01-15T13:56:47.826085 #64433] INFO -- default-centos-71: -## service management apps and more.
222
+ I, [2016-01-15T13:56:47.826095 #64433] INFO -- default-centos-71: -# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS
223
+ I, [2016-01-15T13:56:47.826106 #64433] INFO -- default-centos-71: -
224
+ I, [2016-01-15T13:56:47.826115 #64433] INFO -- default-centos-71: -## Allows people in group wheel to run all commands
225
+ I, [2016-01-15T13:56:47.826125 #64433] INFO -- default-centos-71: -%wheel ALL=(ALL) ALL
226
+ I, [2016-01-15T13:56:47.826135 #64433] INFO -- default-centos-71: -
227
+ I, [2016-01-15T13:56:47.826147 #64433] INFO -- default-centos-71: -## Same thing without a password
228
+ I, [2016-01-15T13:56:47.826157 #64433] INFO -- default-centos-71: -# %wheel ALL=(ALL) NOPASSWD: ALL
229
+ I, [2016-01-15T13:56:47.826166 #64433] INFO -- default-centos-71: -
230
+ I, [2016-01-15T13:56:47.826176 #64433] INFO -- default-centos-71: -## Allows members of the users group to mount and unmount the
231
+ I, [2016-01-15T13:56:47.826185 #64433] INFO -- default-centos-71: -## cdrom as root
232
+ I, [2016-01-15T13:56:47.826195 #64433] INFO -- default-centos-71: -# %users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom
233
+ I, [2016-01-15T13:56:47.826205 #64433] INFO -- default-centos-71: -
234
+ I, [2016-01-15T13:56:47.826214 #64433] INFO -- default-centos-71: -## Allows members of the users group to shutdown this system
235
+ I, [2016-01-15T13:56:47.826224 #64433] INFO -- default-centos-71: -# %users localhost=/sbin/shutdown -h now
236
+ I, [2016-01-15T13:56:47.826234 #64433] INFO -- default-centos-71: -
237
+ I, [2016-01-15T13:56:47.826243 #64433] INFO -- default-centos-71: -## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
238
+ I, [2016-01-15T13:56:47.849147 #64433] INFO -- default-centos-71:
239
+ I, [2016-01-15T13:56:47.849204 #64433] INFO -- default-centos-71: - restore selinux security context
240
+ I, [2016-01-15T13:56:47.849221 #64433] INFO -- default-centos-71: Recipe: test::prep_files
241
+ I, [2016-01-15T13:56:47.849243 #64433] INFO -- default-centos-71: * file[/tmp/file] action create
242
+ I, [2016-01-15T13:56:47.849256 #64433] INFO -- default-centos-71: - create new file /tmp/file
243
+ I, [2016-01-15T13:56:47.849268 #64433] INFO -- default-centos-71: - update content in file /tmp/file from none to b94d27
244
+ I, [2016-01-15T13:56:47.849281 #64433] INFO -- default-centos-71: --- /tmp/file 2016-01-15 18:56:46.296260336 +0000
245
+ I, [2016-01-15T13:56:47.849294 #64433] INFO -- default-centos-71: +++ /tmp/.file20160115-12508-j696go 2016-01-15 18:56:46.296260336 +0000
246
+ I, [2016-01-15T13:56:47.849307 #64433] INFO -- default-centos-71: @@ -1 +1,2 @@
247
+ I, [2016-01-15T13:56:47.849319 #64433] INFO -- default-centos-71: +hello world
248
+ I, [2016-01-15T13:56:47.851062 #64433] INFO -- default-centos-71: - change mode from '' to '0765'
249
+ I, [2016-01-15T13:56:47.851082 #64433] INFO -- default-centos-71: - change owner from '' to 'root'
250
+ I, [2016-01-15T13:56:47.874494 #64433] INFO -- default-centos-71:
251
+ I, [2016-01-15T13:56:47.874554 #64433] INFO -- default-centos-71: - restore selinux security context
252
+ I, [2016-01-15T13:56:47.874572 #64433] INFO -- default-centos-71: * directory[/tmp/folder] action create
253
+ I, [2016-01-15T13:56:47.874607 #64433] INFO -- default-centos-71: - create new directory /tmp/folder
254
+ I, [2016-01-15T13:56:47.874624 #64433] INFO -- default-centos-71: - change mode from '' to '0567'
255
+ I, [2016-01-15T13:56:47.874637 #64433] INFO -- default-centos-71: - change owner from '' to 'root'
256
+ I, [2016-01-15T13:56:47.899896 #64433] INFO -- default-centos-71:
257
+ I, [2016-01-15T13:56:47.899952 #64433] INFO -- default-centos-71: - restore selinux security context
258
+ I, [2016-01-15T13:56:47.899969 #64433] INFO -- default-centos-71: * link[/tmp/symlink] action create
259
+ I, [2016-01-15T13:56:47.899982 #64433] INFO -- default-centos-71: - create symlink at /tmp/symlink to /tmp/file[2016-01-15T18:56:46+00:00] WARN: /tmp/symlink mode not changed: File.lchmod is unimplemented on this OS and Ruby version
260
+ I, [2016-01-15T13:56:47.899996 #64433] INFO -- default-centos-71:
261
+ I, [2016-01-15T13:56:47.900008 #64433] INFO -- default-centos-71: - change mode from '' to '0777'
262
+ I, [2016-01-15T13:56:47.900020 #64433] INFO -- default-centos-71: - change owner from '' to 'root'
263
+ I, [2016-01-15T13:56:47.900031 #64433] INFO -- default-centos-71: - change group from '' to 'root'
264
+ I, [2016-01-15T13:56:47.934847 #64433] INFO -- default-centos-71:
265
+ I, [2016-01-15T13:56:47.934917 #64433] INFO -- default-centos-71: - execute mkfifo /tmp/pipe
266
+ I, [2016-01-15T13:56:47.970742 #64433] INFO -- default-centos-71:
267
+ I, [2016-01-15T13:56:47.970803 #64433] INFO -- default-centos-71: - execute mknod /tmp/block_device b 7 7 && chmod 0666 /tmp/block_device && chown root:root /tmp/block_device
268
+ I, [2016-01-15T13:56:47.970825 #64433] INFO -- default-centos-71: Recipe: test::default
269
+ I, [2016-01-15T13:56:48.114369 #64433] INFO -- default-centos-71:
270
+ I, [2016-01-15T13:56:48.114431 #64433] INFO -- default-centos-71: - execute ssh-keygen -t rsa -b 2048 -f /root/.ssh/id_rsa -N ""
271
+ I, [2016-01-15T13:56:48.135046 #64433] INFO -- default-centos-71:
272
+ I, [2016-01-15T13:56:48.135108 #64433] INFO -- default-centos-71: - execute cat /root/.ssh/id_rsa.pub >> /home/vagrant/.ssh/authorized_keys
273
+ I, [2016-01-15T13:56:48.356414 #64433] INFO -- default-centos-71:
274
+ I, [2016-01-15T13:56:48.356467 #64433] INFO -- default-centos-71: - execute ssh -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa vagrant@localhost "echo 1"
275
+ I, [2016-01-15T13:56:48.418276 #64433] INFO -- default-centos-71:
276
+ I, [2016-01-15T13:56:48.418336 #64433] INFO -- default-centos-71: - create user nopasswd
277
+ I, [2016-01-15T13:56:48.453298 #64433] INFO -- default-centos-71:
278
+ I, [2016-01-15T13:56:48.453356 #64433] INFO -- default-centos-71: - create user passwd
279
+ I, [2016-01-15T13:56:48.489658 #64433] INFO -- default-centos-71:
280
+ I, [2016-01-15T13:56:48.489715 #64433] INFO -- default-centos-71: - create user nosudo
281
+ I, [2016-01-15T13:56:48.512078 #64433] INFO -- default-centos-71:
282
+ I, [2016-01-15T13:56:48.512141 #64433] INFO -- default-centos-71: * template[/etc/sudoers.d/nopasswd] action create
283
+ I, [2016-01-15T13:56:48.512162 #64433] INFO -- default-centos-71: - create new file /etc/sudoers.d/nopasswd
284
+ I, [2016-01-15T13:56:48.512177 #64433] INFO -- default-centos-71: - update content in file /etc/sudoers.d/nopasswd from none to cfe219
285
+ I, [2016-01-15T13:56:48.512192 #64433] INFO -- default-centos-71: --- /etc/sudoers.d/nopasswd 2016-01-15 18:56:46.955589802 +0000
286
+ I, [2016-01-15T13:56:48.512207 #64433] INFO -- default-centos-71: +++ /etc/sudoers.d/.nopasswd20160115-12508-3pz574 2016-01-15 18:56:46.955589802 +0000
287
+ I, [2016-01-15T13:56:48.512221 #64433] INFO -- default-centos-71: @@ -1 +1,9 @@
288
+ I, [2016-01-15T13:56:48.512235 #64433] INFO -- default-centos-71: +# This file is managed by Chef.
289
+ I, [2016-01-15T13:56:48.512249 #64433] INFO -- default-centos-71: +# Do NOT modify this file directly.
290
+ I, [2016-01-15T13:56:48.512262 #64433] INFO -- default-centos-71: +
291
+ I, [2016-01-15T13:56:48.512297 #64433] INFO -- default-centos-71: +
292
+ I, [2016-01-15T13:56:48.512330 #64433] INFO -- default-centos-71: +
293
+ I, [2016-01-15T13:56:48.512352 #64433] INFO -- default-centos-71: +
294
+ I, [2016-01-15T13:56:48.512365 #64433] INFO -- default-centos-71: +%nopasswd ALL=(ALL) NOPASSWD:ALL
295
+ I, [2016-01-15T13:56:48.512376 #64433] INFO -- default-centos-71: +
296
+ I, [2016-01-15T13:56:48.512389 #64433] INFO -- default-centos-71: - change mode from '' to '0440'
297
+ I, [2016-01-15T13:56:48.512401 #64433] INFO -- default-centos-71: - change owner from '' to 'root'
298
+ I, [2016-01-15T13:56:48.541101 #64433] INFO -- default-centos-71:
299
+ I, [2016-01-15T13:56:48.541164 #64433] INFO -- default-centos-71: - restore selinux security context
300
+ I, [2016-01-15T13:56:48.541184 #64433] INFO -- default-centos-71:
301
+ I, [2016-01-15T13:56:48.541199 #64433] INFO -- default-centos-71: * template[/etc/sudoers.d/nopasswd] action nothing (skipped due to action :nothing)
302
+ I, [2016-01-15T13:56:48.562247 #64433] INFO -- default-centos-71:
303
+ I, [2016-01-15T13:56:48.562337 #64433] INFO -- default-centos-71: * template[/etc/sudoers.d/vagrant] action create
304
+ I, [2016-01-15T13:56:48.562356 #64433] INFO -- default-centos-71: - update content in file /etc/sudoers.d/vagrant from ce99b2 to dea54e
305
+ I, [2016-01-15T13:56:48.562371 #64433] INFO -- default-centos-71: --- /etc/sudoers.d/vagrant 2015-04-04 08:01:37.442806840 +0000
306
+ I, [2016-01-15T13:56:48.562384 #64433] INFO -- default-centos-71: +++ /etc/sudoers.d/.vagrant20160115-12508-1tdgnpw 2016-01-15 18:56:47.005614800 +0000
307
+ I, [2016-01-15T13:56:48.562397 #64433] INFO -- default-centos-71: @@ -1,2 +1,9 @@
308
+ I, [2016-01-15T13:56:48.562415 #64433] INFO -- default-centos-71: -%vagrant ALL=(ALL) NOPASSWD: ALL
309
+ I, [2016-01-15T13:56:48.562428 #64433] INFO -- default-centos-71: +# This file is managed by Chef.
310
+ I, [2016-01-15T13:56:48.562440 #64433] INFO -- default-centos-71: +# Do NOT modify this file directly.
311
+ I, [2016-01-15T13:56:48.562453 #64433] INFO -- default-centos-71: +
312
+ I, [2016-01-15T13:56:48.562467 #64433] INFO -- default-centos-71: +
313
+ I, [2016-01-15T13:56:48.562479 #64433] INFO -- default-centos-71: +
314
+ I, [2016-01-15T13:56:48.562491 #64433] INFO -- default-centos-71: +
315
+ I, [2016-01-15T13:56:48.562504 #64433] INFO -- default-centos-71: +%vagrant ALL=(ALL) NOPASSWD:ALL
316
+ I, [2016-01-15T13:56:48.562519 #64433] INFO -- default-centos-71: +
317
+ I, [2016-01-15T13:56:48.588055 #64433] INFO -- default-centos-71:
318
+ I, [2016-01-15T13:56:48.588123 #64433] INFO -- default-centos-71: - restore selinux security context
319
+ I, [2016-01-15T13:56:48.588144 #64433] INFO -- default-centos-71:
320
+ I, [2016-01-15T13:56:48.588159 #64433] INFO -- default-centos-71: * template[/etc/sudoers.d/vagrant] action nothing (skipped due to action :nothing)
321
+ I, [2016-01-15T13:56:48.612217 #64433] INFO -- default-centos-71:
322
+ I, [2016-01-15T13:56:48.612277 #64433] INFO -- default-centos-71: * template[/etc/sudoers.d/passwd] action create
323
+ I, [2016-01-15T13:56:48.612295 #64433] INFO -- default-centos-71: - create new file /etc/sudoers.d/passwd
324
+ I, [2016-01-15T13:56:48.612310 #64433] INFO -- default-centos-71: - update content in file /etc/sudoers.d/passwd from none to 4d27b2
325
+ I, [2016-01-15T13:56:48.612353 #64433] INFO -- default-centos-71: --- /etc/sudoers.d/passwd 2016-01-15 18:56:47.058641297 +0000
326
+ I, [2016-01-15T13:56:48.612367 #64433] INFO -- default-centos-71: +++ /etc/sudoers.d/.passwd20160115-12508-g5cfj9 2016-01-15 18:56:47.057640797 +0000
327
+ I, [2016-01-15T13:56:48.612380 #64433] INFO -- default-centos-71: @@ -1 +1,9 @@
328
+ I, [2016-01-15T13:56:48.612392 #64433] INFO -- default-centos-71: +# This file is managed by Chef.
329
+ I, [2016-01-15T13:56:48.612407 #64433] INFO -- default-centos-71: +# Do NOT modify this file directly.
330
+ I, [2016-01-15T13:56:48.612419 #64433] INFO -- default-centos-71: +
331
+ I, [2016-01-15T13:56:48.612431 #64433] INFO -- default-centos-71: +
332
+ I, [2016-01-15T13:56:48.612442 #64433] INFO -- default-centos-71: +
333
+ I, [2016-01-15T13:56:48.612474 #64433] INFO -- default-centos-71: +
334
+ I, [2016-01-15T13:56:48.612488 #64433] INFO -- default-centos-71: +passwd ALL=(ALL) ALL
335
+ I, [2016-01-15T13:56:48.612500 #64433] INFO -- default-centos-71: +
336
+ I, [2016-01-15T13:56:48.612512 #64433] INFO -- default-centos-71: - change mode from '' to '0440'
337
+ I, [2016-01-15T13:56:48.612523 #64433] INFO -- default-centos-71: - change owner from '' to 'root'
338
+ I, [2016-01-15T13:56:48.636112 #64433] INFO -- default-centos-71:
339
+ I, [2016-01-15T13:56:48.636166 #64433] INFO -- default-centos-71: - restore selinux security context
340
+ I, [2016-01-15T13:56:48.636182 #64433] INFO -- default-centos-71:
341
+ I, [2016-01-15T13:56:48.636196 #64433] INFO -- default-centos-71: * template[/etc/sudoers.d/passwd] action nothing (skipped due to action :nothing)
342
+ I, [2016-01-15T13:57:14.397617 #64433] INFO -- default-centos-71:
343
+ I, [2016-01-15T13:57:14.397872 #64433] INFO -- default-centos-71: - execute /opt/chef/embedded/bin/bundle install --without integration tools
344
+ I, [2016-01-15T13:57:29.247482 #64433] INFO -- default-centos-71:
345
+ I, [2016-01-15T13:57:29.247546 #64433] INFO -- default-centos-71: - execute /opt/chef/embedded/bin/ruby -I lib test/integration/test_local.rb test/integration/tests/*_test.rb
346
+ I, [2016-01-15T13:58:01.660067 #64433] INFO -- default-centos-71:
347
+ I, [2016-01-15T13:58:01.660123 #64433] INFO -- default-centos-71: - execute /opt/chef/embedded/bin/ruby -I lib test/integration/test_ssh.rb test/integration/tests/*_test.rb
348
+ I, [2016-01-15T13:58:02.468712 #64433] INFO -- default-centos-71:
349
+ I, [2016-01-15T13:58:02.468775 #64433] INFO -- default-centos-71: - execute /opt/chef/embedded/bin/ruby -I lib test/integration/sudo/passwd.rb
350
+ I, [2016-01-15T13:58:03.091545 #64433] INFO -- default-centos-71:
351
+ I, [2016-01-15T13:58:03.091622 #64433] INFO -- default-centos-71: - execute /opt/chef/embedded/bin/ruby -I lib test/integration/sudo/nopasswd.rb
352
+ I, [2016-01-15T13:58:03.091652 #64433] INFO -- default-centos-71:
353
+ I, [2016-01-15T13:58:03.091675 #64433] INFO -- default-centos-71: Running handlers:
354
+ I, [2016-01-15T13:58:03.091721 #64433] INFO -- default-centos-71: Running handlers complete
355
+ I, [2016-01-15T13:58:03.102531 #64433] INFO -- default-centos-71: Chef Client finished, 25/29 resources updated in 01 minutes 16 seconds
356
+ I, [2016-01-15T13:58:03.185455 #64433] INFO -- default-centos-71: Finished converging <default-centos-71> (3m27.95s).
@@ -0,0 +1,4 @@
1
+ I, [2016-01-15T13:54:02.405340 #64433] INFO -- Kitchen: -----> Starting Kitchen (v1.4.2)
2
+ I, [2016-01-15T13:54:02.957067 #64433] INFO -- Kitchen: -----> Creating <default-centos-71>...
3
+ I, [2016-01-15T13:54:35.233653 #64433] INFO -- Kitchen: -----> Converging <default-centos-71>...
4
+ I, [2016-01-15T13:58:03.185593 #64433] INFO -- Kitchen: -----> Kitchen is finished. (4m0.79s)
@@ -0,0 +1,8 @@
1
+ DEPENDENCIES
2
+ sudo (~> 2.7.2)
3
+ test
4
+ path: cookbooks/test
5
+
6
+ GRAPH
7
+ sudo (2.7.2)
8
+ test (0.0.0)
data/test/tools/os.rb ADDED
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: utf-8
3
+
4
+ require 'train'
5
+
6
+ train = Train.create('local')
7
+
8
+ # start or reuse a connection
9
+ conn = train.connection
10
+ os = conn.os
11
+
12
+ # get OS info
13
+ conf = {
14
+ name: os[:name],
15
+ family: os[:family],
16
+ release: os[:release],
17
+ arch: os[:arch],
18
+ }
19
+ puts JSON.dump(conf)
20
+
21
+ # close the connection
22
+ conn.close
data/train.gemspec CHANGED
@@ -13,14 +13,21 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = 'https://github.com/chef/train/'
14
14
  spec.license = 'Apache 2.0'
15
15
 
16
- spec.files = `hash git 2>/dev/null && git ls-files -z`.split("\x0").find_all { |x| x !~ /^\.delivery/ }
16
+ spec.files = %w{
17
+ train.gemspec README.md Rakefile LICENSE Gemfile CHANGELOG.md .rubocop.yml
18
+ } + Dir.glob(
19
+ '{lib,test}/**/*', File::FNM_DOTMATCH
20
+ ).reject { |f| File.directory?(f) }
21
+
17
22
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
23
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
24
  spec.require_paths = ['lib']
20
25
 
21
26
  spec.add_dependency 'json', '~> 1.8'
22
27
  spec.add_dependency 'mixlib-shellout', '~> 2.1'
23
- spec.add_dependency 'net-ssh', '~> 2.9'
28
+ # net-ssh 3.x drops Ruby 1.9 support, so this constraint could be raised when
29
+ # 1.9 support is no longer needed here or for Inspec
30
+ spec.add_dependency 'net-ssh', '>= 2.9', '< 4.0'
24
31
  spec.add_dependency 'net-scp', '~> 1.2'
25
32
  spec.add_dependency 'winrm', '~> 1.3'
26
33
  spec.add_dependency 'winrm-transport', '~> 1.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r-train
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-03 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -42,16 +42,22 @@ dependencies:
42
42
  name: net-ssh
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.9'
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '4.0'
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
53
56
  - !ruby/object:Gem::Version
54
57
  version: '2.9'
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '4.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: net-scp
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -171,9 +177,7 @@ executables: []
171
177
  extensions: []
172
178
  extra_rdoc_files: []
173
179
  files:
174
- - ".gitignore"
175
180
  - ".rubocop.yml"
176
- - ".travis.yml"
177
181
  - CHANGELOG.md
178
182
  - Gemfile
179
183
  - LICENSE
@@ -209,7 +213,57 @@ files:
209
213
  - lib/train/transports/winrm_connection.rb
210
214
  - lib/train/version.rb
211
215
  - test/integration/.kitchen.yml
216
+ - test/integration/.kitchen/default-centos-71.yml
217
+ - test/integration/.kitchen/default-ubuntu-1204.yml
218
+ - test/integration/.kitchen/default-ubuntu-1404.yml
219
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name
220
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid
221
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id
222
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid
223
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key
224
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders
225
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile
226
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
227
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
228
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
229
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
230
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
231
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
232
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile
233
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
234
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
235
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
236
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
237
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
238
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
239
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile
240
+ - test/integration/.kitchen/logs/default-centos-511-i386.log
241
+ - test/integration/.kitchen/logs/default-centos-511.log
242
+ - test/integration/.kitchen/logs/default-centos-67-i386.log
243
+ - test/integration/.kitchen/logs/default-centos-67.log
244
+ - test/integration/.kitchen/logs/default-centos-71.log
245
+ - test/integration/.kitchen/logs/default-debian-6010-i386.log
246
+ - test/integration/.kitchen/logs/default-debian-6010.log
247
+ - test/integration/.kitchen/logs/default-debian-78-i386.log
248
+ - test/integration/.kitchen/logs/default-debian-78.log
249
+ - test/integration/.kitchen/logs/default-debian-81-i386.log
250
+ - test/integration/.kitchen/logs/default-debian-81.log
251
+ - test/integration/.kitchen/logs/default-fedora-21-i386.log
252
+ - test/integration/.kitchen/logs/default-fedora-21.log
253
+ - test/integration/.kitchen/logs/default-fedora-22.log
254
+ - test/integration/.kitchen/logs/default-freebsd-102.log
255
+ - test/integration/.kitchen/logs/default-freebsd-93.log
256
+ - test/integration/.kitchen/logs/default-opensuse-132-i386.log
257
+ - test/integration/.kitchen/logs/default-opensuse-132-x86-64.log
258
+ - test/integration/.kitchen/logs/default-ubuntu-1004-i386.log
259
+ - test/integration/.kitchen/logs/default-ubuntu-1004.log
260
+ - test/integration/.kitchen/logs/default-ubuntu-1204-i386.log
261
+ - test/integration/.kitchen/logs/default-ubuntu-1204.log
262
+ - test/integration/.kitchen/logs/default-ubuntu-1404-i386.log
263
+ - test/integration/.kitchen/logs/default-ubuntu-1404.log
264
+ - test/integration/.kitchen/logs/kitchen.log
212
265
  - test/integration/Berksfile
266
+ - test/integration/Berksfile.lock
213
267
  - test/integration/bootstrap.sh
214
268
  - test/integration/chefignore
215
269
  - test/integration/cookbooks/test/metadata.rb
@@ -233,6 +287,7 @@ files:
233
287
  - test/integration/tests/path_pipe_test.rb
234
288
  - test/integration/tests/path_symlink_test.rb
235
289
  - test/integration/tests/run_command_test.rb
290
+ - test/tools/os.rb
236
291
  - test/unit/extras/command_wrapper_test.rb
237
292
  - test/unit/extras/file_common_test.rb
238
293
  - test/unit/extras/linux_file_test.rb
@@ -270,13 +325,63 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
325
  version: '0'
271
326
  requirements: []
272
327
  rubyforge_project:
273
- rubygems_version: 2.4.5.1
328
+ rubygems_version: 2.4.6
274
329
  signing_key:
275
330
  specification_version: 4
276
331
  summary: Transport interface to talk to different backends.
277
332
  test_files:
278
333
  - test/integration/.kitchen.yml
334
+ - test/integration/.kitchen/default-centos-71.yml
335
+ - test/integration/.kitchen/default-ubuntu-1204.yml
336
+ - test/integration/.kitchen/default-ubuntu-1404.yml
337
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name
338
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid
339
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id
340
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid
341
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key
342
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders
343
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile
344
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
345
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
346
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
347
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
348
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
349
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
350
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile
351
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
352
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
353
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
354
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
355
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
356
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
357
+ - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile
358
+ - test/integration/.kitchen/logs/default-centos-511-i386.log
359
+ - test/integration/.kitchen/logs/default-centos-511.log
360
+ - test/integration/.kitchen/logs/default-centos-67-i386.log
361
+ - test/integration/.kitchen/logs/default-centos-67.log
362
+ - test/integration/.kitchen/logs/default-centos-71.log
363
+ - test/integration/.kitchen/logs/default-debian-6010-i386.log
364
+ - test/integration/.kitchen/logs/default-debian-6010.log
365
+ - test/integration/.kitchen/logs/default-debian-78-i386.log
366
+ - test/integration/.kitchen/logs/default-debian-78.log
367
+ - test/integration/.kitchen/logs/default-debian-81-i386.log
368
+ - test/integration/.kitchen/logs/default-debian-81.log
369
+ - test/integration/.kitchen/logs/default-fedora-21-i386.log
370
+ - test/integration/.kitchen/logs/default-fedora-21.log
371
+ - test/integration/.kitchen/logs/default-fedora-22.log
372
+ - test/integration/.kitchen/logs/default-freebsd-102.log
373
+ - test/integration/.kitchen/logs/default-freebsd-93.log
374
+ - test/integration/.kitchen/logs/default-opensuse-132-i386.log
375
+ - test/integration/.kitchen/logs/default-opensuse-132-x86-64.log
376
+ - test/integration/.kitchen/logs/default-ubuntu-1004-i386.log
377
+ - test/integration/.kitchen/logs/default-ubuntu-1004.log
378
+ - test/integration/.kitchen/logs/default-ubuntu-1204-i386.log
379
+ - test/integration/.kitchen/logs/default-ubuntu-1204.log
380
+ - test/integration/.kitchen/logs/default-ubuntu-1404-i386.log
381
+ - test/integration/.kitchen/logs/default-ubuntu-1404.log
382
+ - test/integration/.kitchen/logs/kitchen.log
279
383
  - test/integration/Berksfile
384
+ - test/integration/Berksfile.lock
280
385
  - test/integration/bootstrap.sh
281
386
  - test/integration/chefignore
282
387
  - test/integration/cookbooks/test/metadata.rb
@@ -300,6 +405,7 @@ test_files:
300
405
  - test/integration/tests/path_pipe_test.rb
301
406
  - test/integration/tests/path_symlink_test.rb
302
407
  - test/integration/tests/run_command_test.rb
408
+ - test/tools/os.rb
303
409
  - test/unit/extras/command_wrapper_test.rb
304
410
  - test/unit/extras/file_common_test.rb
305
411
  - test/unit/extras/linux_file_test.rb
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- train-*.gem
2
- r-train-*.gem
3
- Gemfile.lock
4
- .kitchen/
data/.travis.yml DELETED
@@ -1,23 +0,0 @@
1
- ---
2
- sudo: required
3
- language: ruby
4
- cache: bundler
5
-
6
- # necessary for docker to work
7
- dist: trusty
8
- services:
9
- - docker
10
-
11
- bundler_args: --without integration tools
12
-
13
- matrix:
14
- include:
15
- - rvm: 1.9.3
16
- gemfile: Gemfile
17
- - rvm: 2.0
18
- gemfile: Gemfile
19
- - rvm: 2.2
20
- gemfile: Gemfile
21
- - rvm: 2.2
22
- gemfile: Gemfile
23
- script: bundle exec rake test:docker config=test/integration/test-runner.yaml