pepper
pepper copied to clipboard
A library and stand-alone CLI tools to access a salt-api instance
There are some bugs when using py3.8. linux_distribution is no longer available in `platform` etc. Those need to be fixed before it is released.
Can somebody help me out to understand why we sometimes got the following exception: ``` File "/usr/local/lib/python2.7/dist-packages/pepper/libpepper.py", line 297, in low return self.req(path, lowstate) File "/usr/local/lib/python2.7/dist-packages/pepper/libpepper.py", line 241, in req...
Hi! Pepper is very cool tool for delegate/manage rights access to salt It would be nice if it was able set default output format in config file.
- This allows folks using this as a library to get the same behavior as CLI (`cli.run()` sets `full_return=True`), if they so choose.
Right now I'm doing something like: ``` from pepper import cli import pepper pepper_cli = cli.PepperCli() client = pepper.Pepper(pepper_cli.parse_url()) pepper_cli.login(client) ``` so my apps using Pepper benefit from `pepperrc`, but...
The --verbose and --debug-http don't display anything. I've tried adding some logger.debug statements which don't change anything. Adding some prints are displayed. ``` logger.debug('Sending ', postdata) ``` would be useful.
If minion1-3 are connect directly to a master where the API is running, globbing isn't a problem. ``` pepper --fail-if-incomplete minion* test.version {u'return': [{u'jid': u'20170727125430772351', u'minions': [u'minion1', u'minion2', u'minion3']}]} ```...
Sometimes pepper returns data before jid available. It looks like this: ``` { "return": [ { "minion": false } ] } ``` It is because of this (in SaltStack API...
Hi, Can we have gpg encryption support for secrets in .pepperrc? Currently we use ldap, and I don't like the concept of storing your AD password out in the open...
Original client gives warning that something wrong at least. ``` > salt 'ezh.msk.ru' cmd.run 'abc' ezh.msk.ru: /bin/sh: abc: command not found ERROR: Minions returned with non-zero exit code ``` ```...