Skip to content

Instantly share code, notes, and snippets.

@dannyim
Created June 16, 2016 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dannyim/f508b426f90d992e0d4fe4c977128834 to your computer and use it in GitHub Desktop.
Save dannyim/f508b426f90d992e0d4fe4c977128834 to your computer and use it in GitHub Desktop.
chef registry check output
Starting Chef Client, version 12.11.18
[2016-06-16T15:08:04-05:00] INFO: *** Chef 12.11.18 ***
[2016-06-16T15:08:04-05:00] INFO: Platform: x64-mingw32
[2016-06-16T15:08:04-05:00] INFO: Chef-client pid: 5016
[2016-06-16T15:08:08-05:00] INFO: Run List is [recipe[regtest]]
[2016-06-16T15:08:08-05:00] INFO: Run List expands to [regtest]
[2016-06-16T15:08:08-05:00] INFO: Starting Chef Run for toney
[2016-06-16T15:08:08-05:00] INFO: Running start handlers
[2016-06-16T15:08:08-05:00] INFO: Start handlers complete.
resolving cookbooks for run list: ["regtest"]
[2016-06-16T15:08:08-05:00] INFO: Loading cookbooks [regtest@0.1.0, windows@1.41.0, chef_handler@1.3.0]
Synchronizing Cookbooks:
- regtest (0.1.0)
- windows (1.41.0)
- chef_handler (1.3.0)
Installing Cookbook Gems:
Compiling Cookbooks...
C:/opscode/chef/embedded/lib/ruby/2.1.0/x64-mingw32/dl.so: warning: already initialized constant DL::RUBY_FREE
C:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/net-ssh-3.1.1/lib/net/ssh/authentication/pageant.rb:16: warning: previous definition of RUBY_FREE was here
DL is deprecated, please use Fiddle
Converging 3 resources
Recipe: regtest::default
* registry_key[foobar] action create[2016-06-16T15:08:09-05:00] INFO: Processing registry_key[foobar] action create (regtest::default line 11)
- create key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\foobar
* ruby_block[checkfoobar] action run[2016-06-16T15:08:09-05:00] INFO: Processing ruby_block[checkfoobar] action run (regtest::default line 16)
registry key does not exist
[2016-06-16T15:08:09-05:00] INFO: ruby_block[checkfoobar] called
- execute the ruby block checkfoobar
* registry_key[delfoobar] action delete_key[2016-06-16T15:08:09-05:00] INFO: Processing registry_key[delfoobar] action
delete_key (regtest::default line 28)
- delete key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\foobar
[2016-06-16T15:08:09-05:00] INFO: Chef Run complete in 0.624966 seconds
←[0m
Running handlers:
[2016-06-16T15:08:09-05:00] INFO: Running report handlers
Running handlers complete
[2016-06-16T15:08:09-05:00] INFO: Report handlers complete
Chef Client finished, 3/3 resources updated in 05 seconds
[2016-06-16T15:08:09-05:00] INFO: Sending resource update report (run-id: 40188a62-7fc2-4ebb-b592-5d13c5768828)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment