Created
December 22, 2015 18:56
-
-
Save hartmantis/61a377a6c8cee53d3c73 to your computer and use it in GitHub Desktop.
Chef DK / DMG Test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
driver: | |
name: vagrant | |
provisioner: | |
name: chef_zero | |
platforms: | |
- name: macosx-10.10 | |
ssh: | |
insert_key: false | |
suites: | |
- name: default | |
run_list: | |
- recipe[chef-dk-test::default] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://supermarket.chef.io' | |
metadata | |
cookbook 'dmg', github: 'Sauraus/dmg', branch: 'pending' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Transferring files to <default-macosx-1010> | |
Starting Chef Client, version 12.6.0 | |
Creating a new client identity for default-macosx-1010 using the validator key. | |
resolving cookbooks for run list: ["chef-dk-test::default"] | |
Synchronizing Cookbooks: | |
- chef-dk-test (0.1.0) | |
- chef-dk (3.1.0) | |
- dmg (2.3.1) | |
Compiling Cookbooks... | |
Converging 1 resources | |
Recipe: chef-dk::default | |
* chef_dk[chef_dk] action install | |
Recipe: <Dynamically Defined Resource> | |
* chef_gem[omnijack] action install | |
- install version ~> 1.0 of package omnijack | |
* remote_file[/tmp/kitchen/cache/chefdk-0.10.0-1.dmg] action create | |
- create new file /tmp/kitchen/cache/chefdk-0.10.0-1.dmg | |
- update content in file /tmp/kitchen/cache/chefdk-0.10.0-1.dmg from none to 8d2b7f | |
* dmg_package[/tmp/kitchen/cache/chefdk-0.10.0-1.dmg] action install | |
(up to date) | |
* ruby_block[attach /tmp/kitchen/cache/chefdk-0.10.0-1.dmg] action run | |
- execute the ruby block attach /tmp/kitchen/cache/chefdk-0.10.0-1.dmg | |
- execute sudo installer -pkg '/Volumes/Chef Development Kit/chefdk-0.10.0-1.pkg' -target / | |
* execute[hdiutil detach '/Volumes/Chef Development Kit' || hdiutil detach '/Volumes/Chef Development Kit' -force] action run | |
- execute hdiutil detach '/Volumes/Chef Development Kit' || hdiutil detach '/Volumes/Chef Development Kit' -force | |
(up to date) | |
Running handlers: | |
Running handlers complete | |
Chef Client finished, 6/8 resources updated in 01 minutes 56 seconds | |
Finished converging <default-macosx-1010> (2m56.58s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name 'chef-dk-test' | |
maintainer 'The Authors' | |
maintainer_email '[email protected]' | |
license 'all_rights' | |
description 'Installs/Configures chef-dk-test' | |
long_description 'Installs/Configures chef-dk-test' | |
version '0.1.0' | |
depends 'chef-dk' | |
depends 'dmg', '= 2.3.1' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include_recipe 'chef-dk' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment