Advertisement
Guest User

test.check_piller

a guest
Apr 24th, 2015
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.49 KB | None | 0 0
  1. user@master $ cat /srv/salt/base.hg/glance_pillar.sls                      
  2. check_pillar_keys:
  3.     test.check_pillar:
  4.         - dictionary: glance
  5.         - string:
  6.             - keystone.username
  7.             - keystone.admin_password
  8.         - integer:
  9.             - cinder:database:password
  10.         - boolean:
  11.             - glance:database:password
  12.  
  13. user@master $ sudo salt hw-\* state.sls glance_pillar
  14. hw-comp1:
  15. ----------
  16.           ID: check_pillar_keys
  17.     Function: test.check_pillar
  18.       Result: False
  19.      Comment: Pillar key "cinder:database:password" is missing.
  20.               Pillar key "glance" is missing.
  21.               Pillar key "glance:database:password" is missing.
  22.               Pillar key "keystone.admin_password" is missing.
  23.               Pillar key "keystone.username" is missing.
  24.      Started: 16:05:15.729084
  25.     Duration: 0.831 ms
  26.      Changes:  
  27.  
  28. Summary
  29. ------------
  30. Succeeded: 0
  31. Failed:    1
  32. ------------
  33. Total states run:     1
  34. hw-ctrl:
  35. ----------
  36.           ID: check_pillar_keys
  37.     Function: test.check_pillar
  38.       Result: False
  39.      Comment: Pillar key "cinder:database:password" is not <type 'int'>.
  40.               Pillar key "glance:database:password" is missing.
  41.               Pillar key "keystone.admin_password" is missing.
  42.               Pillar key "keystone.username" is missing.
  43.      Started: 16:05:22.088536
  44.     Duration: 0.885 ms
  45.      Changes:  
  46.  
  47. Summary
  48. ------------
  49. Succeeded: 0
  50. Failed:    1
  51. ------------
  52. Total states run:     1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement