Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. root@mongodb1:/opt/aws/opsworks/releases/20141010064749_328/bin# ./chef-shell
  2. loading configuration: none (standalone session)
  3. Session type: standalone
  4. Loading......done.
  5.  
  6. This is the chef-shell.
  7. Chef Version: 11.10.4
  8. http://www.opscode.com/chef
  9. http://docs.opscode.com/
  10.  
  11. run `help' for help, `exit' or ^D to quit.
  12.  
  13. Ohai2u ubuntu@mongodb1.localdomain!
  14. chef > attributes_mode
  15. chef:attributes > node['ec2']['instance_id']
  16. => "i-c1a98f2c"
  17. chef:attributes > node['opsworks']['instance']['layers']
  18. NoMethodError: undefined method `[]' for nil:NilClass
  19. from (irb#1):4
  20. chef:attributes >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement