Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on 'windows' package, fails on MacOS? #20

Closed
mrjcleaver opened this issue Apr 15, 2015 · 5 comments
Closed

Dependency on 'windows' package, fails on MacOS? #20

mrjcleaver opened this issue Apr 15, 2015 · 5 comments

Comments

@mrjcleaver
Copy link

Hi - I tried to put this inside a wrapper cookbook.

 knife supermarket install bamboo
Installing bamboo to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo
Checking out the master branch.
Creating pristine copy branch chef-vendor-bamboo
Downloading bamboo from the cookbooks site at version 1.4.0 to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/bamboo.tar.gz
Cookbook saved: /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/bamboo.tar.gz
Removing pre-existing version.
Uncompressing bamboo version 1.4.0.
removing downloaded tarball
1 files updated, committing changes
Creating tag cookbook-site-imported-bamboo-1.4.0
Checking out the master branch.
Updating f7b7581..62c3c94
Fast-forward
 bamboo/.gitignore                                           |  56 ++++++++++++++
 bamboo/.kitchen.cloud.yml                                   |  54 ++++++++++++++
 bamboo/.kitchen.yml                                         |  32 ++++++++
 bamboo/.rubocop.yml                                         |  33 +++++++++
 bamboo/.travis.yml                                          |   8 ++
 bamboo/Berksfile                                            |   5 ++
 bamboo/Gemfile                                              |  13 ++++
 bamboo/README.md                                            | 171 +++++++++++++++++++++++++++++++++++++++++++
 bamboo/Rakefile                                             |  36 +++++++++
 bamboo/TESTING.md                                           |  19 +++++
 bamboo/Thorfile                                             |  12 +++
 bamboo/attributes/apache2.rb                                |  43 +++++++++++
 bamboo/attributes/default.rb                                |  88 ++++++++++++++++++++++
 bamboo/chefignore                                           |  96 ++++++++++++++++++++++++
 bamboo/files/default/gelfj-1.1.2.jar                        | Bin 0 -> 26074 bytes
 bamboo/files/default/json-simple-1.1.jar                    | Bin 0 -> 16046 bytes
 bamboo/libraries/bamboo.rb                                  |  40 ++++++++++
 bamboo/libraries/matchers.rb                                |  11 +++
 bamboo/metadata.json                                        |  48 ++++++++++++
 bamboo/metadata.rb                                          |  28 +++++++
 bamboo/providers/agent_capability.rb                        |  13 ++++
 bamboo/recipes/_unit_testing_agent_capability.rb            |  18 +++++
 bamboo/recipes/agent.rb                                     | 116 +++++++++++++++++++++++++++++
 bamboo/recipes/apache2.rb                                   |  29 ++++++++
 bamboo/recipes/backup.rb                                    |  40 ++++++++++
 bamboo/recipes/database_mysql.rb                            |  39 ++++++++++
 bamboo/recipes/default.rb                                   |  28 +++++++
 bamboo/recipes/graylog.rb                                   |  41 +++++++++++
 bamboo/recipes/server.rb                                    | 109 ++++++++++++++++++++++++++++
 bamboo/recipes/upgrade.rb                                   |  38 ++++++++++
 bamboo/resources/agent_capability.rb                        |  10 +++
 bamboo/templates/default/bamboo-agent.sh.erb                | 557 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 bamboo/templates/default/bamboo-capabilities.properties.erb |   5 ++
 bamboo/templates/default/bamboo-init.properties.erb         |   5 ++
 bamboo/templates/default/bamboo.init.erb                    |  79 ++++++++++++++++++++
 bamboo/templates/default/log4j.properties.erb               | 148 +++++++++++++++++++++++++++++++++++++
 bamboo/templates/default/procfile.monitrc.erb               |   8 ++
 bamboo/templates/default/seraph-config.xml.erb              |  81 +++++++++++++++++++++
 bamboo/templates/default/setenv.sh.erb                      |  78 ++++++++++++++++++++
 bamboo/templates/default/stop-bamboo.sh.erb                 |  39 ++++++++++
 bamboo/templates/default/web_app.conf.erb                   |  80 ++++++++++++++++++++
 41 files changed, 2354 insertions(+)
 create mode 100644 bamboo/.gitignore
 create mode 100644 bamboo/.kitchen.cloud.yml
 create mode 100644 bamboo/.kitchen.yml
 create mode 100644 bamboo/.rubocop.yml
 create mode 100644 bamboo/.travis.yml
 create mode 100644 bamboo/Berksfile
 create mode 100644 bamboo/Gemfile
 create mode 100644 bamboo/README.md
 create mode 100644 bamboo/Rakefile
 create mode 100644 bamboo/TESTING.md
 create mode 100644 bamboo/Thorfile
 create mode 100644 bamboo/attributes/apache2.rb
 create mode 100644 bamboo/attributes/default.rb
 create mode 100644 bamboo/chefignore
 create mode 100644 bamboo/files/default/gelfj-1.1.2.jar
 create mode 100644 bamboo/files/default/json-simple-1.1.jar
 create mode 100644 bamboo/libraries/bamboo.rb
 create mode 100644 bamboo/libraries/matchers.rb
 create mode 100644 bamboo/metadata.json
 create mode 100644 bamboo/metadata.rb
 create mode 100644 bamboo/providers/agent_capability.rb
 create mode 100644 bamboo/recipes/_unit_testing_agent_capability.rb
 create mode 100644 bamboo/recipes/agent.rb
 create mode 100644 bamboo/recipes/apache2.rb
 create mode 100644 bamboo/recipes/backup.rb
 create mode 100644 bamboo/recipes/database_mysql.rb
 create mode 100644 bamboo/recipes/default.rb
 create mode 100644 bamboo/recipes/graylog.rb
 create mode 100644 bamboo/recipes/server.rb
 create mode 100644 bamboo/recipes/upgrade.rb
 create mode 100644 bamboo/resources/agent_capability.rb
 create mode 100644 bamboo/templates/default/bamboo-agent.sh.erb
 create mode 100644 bamboo/templates/default/bamboo-capabilities.properties.erb
 create mode 100644 bamboo/templates/default/bamboo-init.properties.erb
 create mode 100644 bamboo/templates/default/bamboo.init.erb
 create mode 100644 bamboo/templates/default/log4j.properties.erb
 create mode 100644 bamboo/templates/default/procfile.monitrc.erb
 create mode 100644 bamboo/templates/default/seraph-config.xml.erb
 create mode 100644 bamboo/templates/default/setenv.sh.erb
 create mode 100644 bamboo/templates/default/stop-bamboo.sh.erb
 create mode 100644 bamboo/templates/default/web_app.conf.erb
Cookbook bamboo version 1.4.0 successfully installed
Installing apt to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo
Checking out the master branch.
Creating pristine copy branch chef-vendor-apt
Downloading apt from the cookbooks site at version 2.7.0 to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/apt.tar.gz
Cookbook saved: /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/apt.tar.gz
Removing pre-existing version.
Uncompressing apt version 2.7.0.
removing downloaded tarball
1 files updated, committing changes
Creating tag cookbook-site-imported-apt-2.7.0
Checking out the master branch.
Updating 62c3c94..8990e02
Fast-forward
 apt/.gitignore                                     |  15 ++++++++
 apt/.kitchen.cloud.yml                             |  47 +++++++++++++++++++++++++
 apt/.kitchen.yml                                   |  62 +++++++++++++++++++++++++++++++++
 apt/.rubocop.yml                                   |  37 ++++++++++++++++++++
 apt/.travis.yml                                    |  44 ++++++++++++++++++++++++
 apt/Berksfile                                      |   8 +++++
 apt/CHANGELOG.md                                   | 217 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/CONTRIBUTING                                   |  29 ++++++++++++++++
 apt/Gemfile                                        |  37 ++++++++++++++++++++
 apt/Guardfile                                      |  35 +++++++++++++++++++
 apt/LICENSE                                        | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/README.md                                      | 281 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/Rakefile                                       |  59 +++++++++++++++++++++++++++++++
 apt/TESTING.md                                     | 187 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/attributes/default.rb                          |  48 ++++++++++++++++++++++++++
 apt/files/default/15update-stamp                   |   1 +
 apt/files/default/apt-proxy-v2.conf                |  50 +++++++++++++++++++++++++++
 apt/libraries/helpers.rb                           |  49 ++++++++++++++++++++++++++
 apt/libraries/matchers.rb                          |  17 +++++++++
 apt/libraries/network.rb                           |  31 +++++++++++++++++
 apt/metadata.json                                  | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/metadata.rb                                    |  38 ++++++++++++++++++++
 apt/providers/preference.rb                        |  69 +++++++++++++++++++++++++++++++++++++
 apt/providers/repository.rb                        | 203 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/recipes/cacher-client.rb                       |  83 ++++++++++++++++++++++++++++++++++++++++++++
 apt/recipes/cacher-ng.rb                           |  43 +++++++++++++++++++++++
 apt/recipes/default.rb                             | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/recipes/unattended-upgrades.rb                 |  47 +++++++++++++++++++++++++
 apt/resources/preference.rb                        |  37 ++++++++++++++++++++
 apt/resources/repository.rb                        |  55 +++++++++++++++++++++++++++++
 apt/templates/debian-6.0/acng.conf.erb             | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/templates/default/01proxy.erb                  |   9 +++++
 apt/templates/default/20auto-upgrades.erb          |   2 ++
 apt/templates/default/50unattended-upgrades.erb    |  68 ++++++++++++++++++++++++++++++++++++
 apt/templates/default/acng.conf.erb                | 275 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 apt/templates/default/unattended-upgrades.seed.erb |   1 +
 apt/templates/ubuntu-10.04/acng.conf.erb           | 269 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 37 files changed, 3060 insertions(+)
 create mode 100644 apt/.gitignore
 create mode 100644 apt/.kitchen.cloud.yml
 create mode 100644 apt/.kitchen.yml
 create mode 100644 apt/.rubocop.yml
 create mode 100644 apt/.travis.yml
 create mode 100644 apt/Berksfile
 create mode 100644 apt/CHANGELOG.md
 create mode 100644 apt/CONTRIBUTING
 create mode 100644 apt/Gemfile
 create mode 100644 apt/Guardfile
 create mode 100644 apt/LICENSE
 create mode 100644 apt/README.md
 create mode 100644 apt/Rakefile
 create mode 100644 apt/TESTING.md
 create mode 100644 apt/attributes/default.rb
 create mode 100644 apt/files/default/15update-stamp
 create mode 100644 apt/files/default/apt-proxy-v2.conf
 create mode 100644 apt/libraries/helpers.rb
 create mode 100644 apt/libraries/matchers.rb
 create mode 100644 apt/libraries/network.rb
 create mode 100644 apt/metadata.json
 create mode 100644 apt/metadata.rb
 create mode 100644 apt/providers/preference.rb
 create mode 100644 apt/providers/repository.rb
 create mode 100644 apt/recipes/cacher-client.rb
 create mode 100644 apt/recipes/cacher-ng.rb
 create mode 100644 apt/recipes/default.rb
 create mode 100644 apt/recipes/unattended-upgrades.rb
 create mode 100644 apt/resources/preference.rb
 create mode 100644 apt/resources/repository.rb
 create mode 100644 apt/templates/debian-6.0/acng.conf.erb
 create mode 100644 apt/templates/default/01proxy.erb
 create mode 100644 apt/templates/default/20auto-upgrades.erb
 create mode 100644 apt/templates/default/50unattended-upgrades.erb
 create mode 100644 apt/templates/default/acng.conf.erb
 create mode 100644 apt/templates/default/unattended-upgrades.seed.erb
 create mode 100644 apt/templates/ubuntu-10.04/acng.conf.erb
Cookbook apt version 2.7.0 successfully installed
Installing ark to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo
Checking out the master branch.
Creating pristine copy branch chef-vendor-ark
Downloading ark from the cookbooks site at version 0.9.0 to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/ark.tar.gz
Cookbook saved: /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/ark.tar.gz
Removing pre-existing version.
Uncompressing ark version 0.9.0.
removing downloaded tarball
1 files updated, committing changes
Creating tag cookbook-site-imported-ark-0.9.0
Checking out the master branch.
Updating 8990e02..83bd944
Fast-forward
 ark/CHANGELOG.md                                    | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++
 ark/README.md                                       | 305 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ark/attributes/default.rb                           |  16 ++++++
 ark/files/default/foo.tar.gz                        | Bin 0 -> 219 bytes
 ark/files/default/foo.tbz                           | Bin 0 -> 163 bytes
 ark/files/default/foo.tgz                           | Bin 0 -> 152 bytes
 ark/files/default/foo.txz                           | Bin 0 -> 200 bytes
 ark/files/default/foo.zip                           | Bin 0 -> 976 bytes
 ark/files/default/foo_sub.tar.gz                    | Bin 0 -> 193 bytes
 ark/files/default/foo_sub.zip                       | Bin 0 -> 614 bytes
 ark/files/default/tests/minitest/default_test.rb    |   0
 ark/files/default/tests/minitest/support/helpers.rb |   0
 ark/files/default/tests/minitest/test_test.rb       | 102 ++++++++++++++++++++++++++++++++++++++
 ark/libraries/default.rb                            | 234 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ark/metadata.json                                   |  38 +++++++++++++++
 ark/metadata.rb                                     |  16 ++++++
 ark/providers/default.rb                            | 396 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ark/recipes/default.rb                              |  27 ++++++++++
 ark/recipes/test.rb                                 | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ark/resources/default.rb                            |  55 +++++++++++++++++++++
 ark/templates/default/add_to_path.sh.erb            |   1 +
 21 files changed, 1477 insertions(+)
 create mode 100644 ark/CHANGELOG.md
 create mode 100644 ark/README.md
 create mode 100644 ark/attributes/default.rb
 create mode 100644 ark/files/default/foo.tar.gz
 create mode 100644 ark/files/default/foo.tbz
 create mode 100644 ark/files/default/foo.tgz
 create mode 100644 ark/files/default/foo.txz
 create mode 100644 ark/files/default/foo.zip
 create mode 100644 ark/files/default/foo_sub.tar.gz
 create mode 100644 ark/files/default/foo_sub.zip
 create mode 100644 ark/files/default/tests/minitest/default_test.rb
 create mode 100644 ark/files/default/tests/minitest/support/helpers.rb
 create mode 100644 ark/files/default/tests/minitest/test_test.rb
 create mode 100644 ark/libraries/default.rb
 create mode 100644 ark/metadata.json
 create mode 100644 ark/metadata.rb
 create mode 100644 ark/providers/default.rb
 create mode 100644 ark/recipes/default.rb
 create mode 100644 ark/recipes/test.rb
 create mode 100644 ark/resources/default.rb
 create mode 100644 ark/templates/default/add_to_path.sh.erb
Cookbook ark version 0.9.0 successfully installed
Installing windows to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo
Checking out the master branch.
Creating pristine copy branch chef-vendor-windows
Downloading windows from the cookbooks site at version 1.36.6 to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/windows.tar.gz
Cookbook saved: /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/windows.tar.gz
Removing pre-existing version.
Uncompressing windows version 1.36.6.
removing downloaded tarball
1 files updated, committing changes
Creating tag cookbook-site-imported-windows-1.36.6
Checking out the master branch.
Updating 83bd944..c9c0b29
Fast-forward
 windows/CHANGELOG.md                                     | 320 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 windows/README.md                                        | 749 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 windows/attributes/default.rb                            |  24 +++++
 windows/files/default/handlers/windows_reboot_handler.rb |  76 +++++++++++++++
 windows/libraries/feature_base.rb                        |  59 ++++++++++++
 windows/libraries/matchers.rb                            | 465 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 windows/libraries/powershell_helper.rb                   |  59 ++++++++++++
 windows/libraries/powershell_out.rb                      |  79 +++++++++++++++
 windows/libraries/registry_helper.rb                     | 364 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 windows/libraries/version.rb                             | 207 +++++++++++++++++++++++++++++++++++++++
 windows/libraries/windows_architecture_helper.rb         |  87 +++++++++++++++++
 windows/libraries/windows_helper.rb                      | 148 ++++++++++++++++++++++++++++
 windows/libraries/windows_package.rb                     | 224 +++++++++++++++++++++++++++++++++++++++++++
 windows/libraries/windows_privileged.rb                  |  94 ++++++++++++++++++
 windows/libraries/wmi_helper.rb                          |  32 +++++++
 windows/metadata.json                                    |  31 ++++++
 windows/providers/auto_run.rb                            |  33 +++++++
 windows/providers/batch.rb                               |  63 ++++++++++++
 windows/providers/feature_dism.rb                        |  64 +++++++++++++
 windows/providers/feature_powershell.rb                  |  38 ++++++++
 windows/providers/feature_servermanagercmd.rb            |  61 ++++++++++++
 windows/providers/font.rb                                |  69 +++++++++++++
 windows/providers/pagefile.rb                            | 153 +++++++++++++++++++++++++++++
 windows/providers/path.rb                                |  52 ++++++++++
 windows/providers/printer.rb                             | 101 ++++++++++++++++++++
 windows/providers/printer_port.rb                        | 103 ++++++++++++++++++++
 windows/providers/reboot.rb                              |  33 +++++++
 windows/providers/registry.rb                            |  75 +++++++++++++++
 windows/providers/shortcut.rb                            |  56 +++++++++++
 windows/providers/task.rb                                | 167 ++++++++++++++++++++++++++++++++
 windows/providers/zipfile.rb                             |  93 ++++++++++++++++++
 windows/recipes/default.rb                               |  34 +++++++
 windows/recipes/reboot_handler.rb                        |  32 +++++++
 windows/resources/auto_run.rb                            |  30 ++++++
 windows/resources/batch.rb                               |  36 +++++++
 windows/resources/feature.rb                             |  44 +++++++++
 windows/resources/font.rb                                |  25 +++++
 windows/resources/pagefile.rb                            |  29 ++++++
 windows/resources/path.rb                                |  28 ++++++
 windows/resources/printer.rb                             |  41 ++++++++
 windows/resources/printer_port.rb                        |  40 ++++++++
 windows/resources/reboot.rb                              |  29 ++++++
 windows/resources/registry.rb                            |  34 +++++++
 windows/resources/shortcut.rb                            |  35 +++++++
 windows/resources/task.rb                                |  50 ++++++++++
 windows/resources/zipfile.rb                             |  33 +++++++
 46 files changed, 4699 insertions(+)
 create mode 100644 windows/CHANGELOG.md
 create mode 100644 windows/README.md
 create mode 100644 windows/attributes/default.rb
 create mode 100644 windows/files/default/handlers/windows_reboot_handler.rb
 create mode 100644 windows/libraries/feature_base.rb
 create mode 100644 windows/libraries/matchers.rb
 create mode 100644 windows/libraries/powershell_helper.rb
 create mode 100644 windows/libraries/powershell_out.rb
 create mode 100644 windows/libraries/registry_helper.rb
 create mode 100644 windows/libraries/version.rb
 create mode 100644 windows/libraries/windows_architecture_helper.rb
 create mode 100644 windows/libraries/windows_helper.rb
 create mode 100644 windows/libraries/windows_package.rb
 create mode 100644 windows/libraries/windows_privileged.rb
 create mode 100644 windows/libraries/wmi_helper.rb
 create mode 100644 windows/metadata.json
 create mode 100644 windows/providers/auto_run.rb
 create mode 100644 windows/providers/batch.rb
 create mode 100644 windows/providers/feature_dism.rb
 create mode 100644 windows/providers/feature_powershell.rb
 create mode 100644 windows/providers/feature_servermanagercmd.rb
 create mode 100644 windows/providers/font.rb
 create mode 100644 windows/providers/pagefile.rb
 create mode 100644 windows/providers/path.rb
 create mode 100644 windows/providers/printer.rb
 create mode 100644 windows/providers/printer_port.rb
 create mode 100644 windows/providers/reboot.rb
 create mode 100644 windows/providers/registry.rb
 create mode 100644 windows/providers/shortcut.rb
 create mode 100644 windows/providers/task.rb
 create mode 100644 windows/providers/zipfile.rb
 create mode 100644 windows/recipes/default.rb
 create mode 100644 windows/recipes/reboot_handler.rb
 create mode 100644 windows/resources/auto_run.rb
 create mode 100644 windows/resources/batch.rb
 create mode 100644 windows/resources/feature.rb
 create mode 100644 windows/resources/font.rb
 create mode 100644 windows/resources/pagefile.rb
 create mode 100644 windows/resources/path.rb
 create mode 100644 windows/resources/printer.rb
 create mode 100644 windows/resources/printer_port.rb
 create mode 100644 windows/resources/reboot.rb
 create mode 100644 windows/resources/registry.rb
 create mode 100644 windows/resources/shortcut.rb
 create mode 100644 windows/resources/task.rb
 create mode 100644 windows/resources/zipfile.rb
Cookbook windows version 1.36.6 successfully installed
Installing chef_handler to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo
Checking out the master branch.
Creating pristine copy branch chef-vendor-chef_handler
Downloading chef_handler from the cookbooks site at version 1.1.6 to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/chef_handler.tar.gz
Cookbook saved: /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/chef_handler.tar.gz
Removing pre-existing version.
Uncompressing chef_handler version 1.1.6.
removing downloaded tarball
1 files updated, committing changes
Creating tag cookbook-site-imported-chef_handler-1.1.6
Checking out the master branch.
Updating c9c0b29..a8ebe0a
Fast-forward
 chef_handler/CHANGELOG.md                  |  44 ++++++++++++++++++++++++++++++++++++++++++++
 chef_handler/README.md                     | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 chef_handler/attributes/default.rb         |  30 ++++++++++++++++++++++++++++++
 chef_handler/files/default/handlers/README |   1 +
 chef_handler/libraries/matchers.rb         |  29 +++++++++++++++++++++++++++++
 chef_handler/metadata.json                 |  29 +++++++++++++++++++++++++++++
 chef_handler/metadata.rb                   |   7 +++++++
 chef_handler/providers/default.rb          |  97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 chef_handler/recipes/default.rb            |  33 +++++++++++++++++++++++++++++++++
 chef_handler/recipes/json_file.rb          |  28 ++++++++++++++++++++++++++++
 chef_handler/resources/default.rb          |  34 ++++++++++++++++++++++++++++++++++
 11 files changed, 435 insertions(+)
 create mode 100644 chef_handler/CHANGELOG.md
 create mode 100644 chef_handler/README.md
 create mode 100644 chef_handler/attributes/default.rb
 create mode 100644 chef_handler/files/default/handlers/README
 create mode 100644 chef_handler/libraries/matchers.rb
 create mode 100644 chef_handler/metadata.json
 create mode 100644 chef_handler/metadata.rb
 create mode 100644 chef_handler/providers/default.rb
 create mode 100644 chef_handler/recipes/default.rb
 create mode 100644 chef_handler/recipes/json_file.rb
 create mode 100644 chef_handler/resources/default.rb
Cookbook chef_handler version 1.1.6 successfully installed
Installing 7-zip to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo
Checking out the master branch.
Creating pristine copy branch chef-vendor-7-zip
Downloading 7-zip from the cookbooks site at version 1.0.2 to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/7-zip.tar.gz
Cookbook saved: /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/7-zip.tar.gz
Removing pre-existing version.
Uncompressing 7-zip version 1.0.2.
removing downloaded tarball
1 files updated, committing changes
Creating tag cookbook-site-imported-7-zip-1.0.2
Checking out the master branch.
Updating a8ebe0a..ff20ce0
Fast-forward
 7-zip/CHANGELOG.md          | 13 +++++++++++++
 7-zip/README.md             | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 7-zip/attributes/default.rb | 31 +++++++++++++++++++++++++++++++
 7-zip/metadata.json         | 31 +++++++++++++++++++++++++++++++
 7-zip/metadata.rb           | 10 ++++++++++
 7-zip/recipes/default.rb    | 31 +++++++++++++++++++++++++++++++
 6 files changed, 166 insertions(+)
 create mode 100644 7-zip/CHANGELOG.md
 create mode 100644 7-zip/README.md
 create mode 100644 7-zip/attributes/default.rb
 create mode 100644 7-zip/metadata.json
 create mode 100644 7-zip/metadata.rb
 create mode 100644 7-zip/recipes/default.rb
Cookbook 7-zip version 1.0.2 successfully installed
Installing windows to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo
Checking out the master branch.
Pristine copy branch (chef-vendor-windows) exists, switching to it.
Downloading windows from the cookbooks site at version 1.36.6 to /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/windows.tar.gz
Cookbook saved: /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/bp_bamboo/windows.tar.gz
Removing pre-existing version.
Uncompressing windows version 1.36.6.
removing downloaded tarball
1 files updated, committing changes
ERROR: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of git commit -m "Import windows version 1.36.6" -- windows ----
STDOUT: On branch chef-vendor-windows
nothing to commit, working directory clean
STDERR: 
---- End output of git commit -m "Import windows version 1.36.6" -- windows ----
Ran git commit -m "Import windows version 1.36.6" -- windows returned 1
martincleaver@MartinCaversMBP:~/SoftwareDevelopment/Chef/bp_bamboo 11:32:27 622$

Aborting with code '1' looks like an error. Any idea what's wrong?

Thanks, Martin.

@mrjcleaver
Copy link
Author

Googling matched https://tickets.opscode.com/browse/CHEF-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Which implies that passing --allow-empty would overcome this issue. http://git-scm.com/docs/git-commit

--allow-empty
Usually recording a commit that has the exact same tree as its sole parent commit is a mistake, and the command prevents you from making such a commit. This option bypasses the safety, and is primarily for use by foreign SCM interface scripts.

Ideally I would not change the code as suggested, but provide some default override in the environment. However http://git-scm.com/book/en/v2/Git-Internals-Environment-Variables doesn't come back with anything obvious.

@mrjcleaver mrjcleaver changed the title Dependency on windows, fails on MacOS? Dependency on 'windows' package, fails on MacOS? Apr 15, 2015
@mrjcleaver
Copy link
Author

https://github.com/ramonskie/bamboo/wiki/Wrapper-Cookbook documents the steps I took. Hopefully we can fix up these to help someone after me.

@ramonskie
Copy link
Collaborator

sorry for the late reply
do you still experience these issues?

@mrjcleaver
Copy link
Author

Thanks ramonskie - I'll have to look over the weekend now.

@ramonskie
Copy link
Collaborator

no update for a long time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants