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
{ | |
"handlers": { | |
"remediator": { | |
"type": "pipe", | |
"command": "/etc/sensu/handlers/remediator.rb" | |
}, | |
}, | |
"checks": { | |
"fail_with_remediation": { | |
"command": "/bin/false", |
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
tell application "Safari" | |
--Variables | |
set windowCount to number of windows | |
set docText to "" | |
--Repeat for Every Window | |
repeat with x from 1 to windowCount | |
set tabcount to number of tabs in window x | |
--Repeat for Every Tab in Current Window | |
repeat with y from 1 to tabcount | |
--Get Tab Name & URL |
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
vagrant@vagrant:~$ sudo chef-solo -c /tmp/vagrant-chef-2/solo.rb -j /tmp/vagrant-chef-2/dna.json | |
[Thu, 28 Jul 2011 00:49:38 +0000] INFO: *** Chef 0.10.2 *** | |
[Thu, 28 Jul 2011 00:49:38 +0000] INFO: Setting the run_list to ["recipe[minitest]", "recipe[minitest::examples]"] from JSON | |
[Thu, 28 Jul 2011 00:49:38 +0000] INFO: Run List is [recipe[minitest], recipe[minitest::examples]] | |
[Thu, 28 Jul 2011 00:49:38 +0000] INFO: Run List expands to [minitest, minitest::examples] | |
[Thu, 28 Jul 2011 00:49:38 +0000] INFO: Starting Chef Run for vagrant.monkeybrains.net | |
[Thu, 28 Jul 2011 00:49:38 +0000] INFO: Processing gem_package[minitest] action install (minitest::default line 19) | |
[Thu, 28 Jul 2011 00:49:42 +0000] INFO: gem_package[minitest] installed version ~> 2.3.1 | |
[Thu, 28 Jul 2011 00:49:42 +0000] INFO: Processing gem_package[net-tftp] action install (minitest::default line 24) | |
[Thu, 28 Jul 2011 00:49:42 +0000] INFO: Chef Handlers will be at: /tmp/handlers |