Advertisement
Guest User

Untitled

a guest
Sep 9th, 2015
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. from bpython:
  2.  
  3. >>> product
  4. 'looool'
  5. >>> status
  6. 'lol'
  7. >>> minion_id
  8. 'some-minion'
  9. >>> local.cmd(minion_id,'grains.setvals',['cmdb',{'status': status,'product': product}])
  10. {'some-other-minion1': {}, 'some-other-minion2': {}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement