pepperexample.py 209 B

12345678910
  1. import pepper.libpepper
  2. s = pepper.libpepper.Pepper('https://localhost:32768')
  3. s.login('salt', 'foobar', 'sharedsecret')
  4. s.local('*', 'test.ping')
  5. type(s.local('*', 'test.ping'))
  6. s.local('*', 'test.ping')