Created
August 26, 2014 23:28
-
-
Save kwilczynski/90e0fac4cb2087555e47 to your computer and use it in GitHub Desktop.
This file contains 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
chef > recipe_mode | |
chef:recipe > execute 'test' do | |
chef:recipe > command 'bash -c "source ~/.bashrc"' | |
chef:recipe ?> end | |
=> execute[test] name: "test" noop: nil before: nil params: {} provider: nil allowed_actions: [:nothing, :run] action: "run" updated: false updated_by_last_action: false supports: {} ignore_failure: false retries: 0 retry_delay: 2 source_line: "(irb#1):1:in `irb_binding'" guard_interpreter: :default elapsed_time: 0 resource_name: :execute command: "bash -c "source ~/.bashrc"" backup: 5 creates: nil cwd: nil environment: nil group: nil path: nil returns: 0 timeout: nil user: nil umask: nil cookbook_name: nil recipe_name: nil | |
chef:recipe > | |
=> :recipe | |
chef > run_chef | |
[2014-08-27T00:27:23+01:00] INFO: Processing execute[test] action run ((irb#1) line 1) | |
[2014-08-27T00:27:23+01:00] INFO: execute[test] ran successfully | |
=> true | |
chef > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment