This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#grains in yaml format | |
dictkey: | |
- "list element 0" | |
- "list element 1" | |
- "list element 2" | |
#jinja2 | |
{% set myitem = grains['dictkey'][1] %} | |
some state: | |
my.state: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
from aio_pika import connect, Message | |
async def main(future): | |
USERNAME = 'myuser' | |
PASSWORD = 'mypass' | |
HOST = 'localhost' | |
PORT = 5672 | |
QUEUE = 'text' | |
ROUTING_KEY = 'example.text' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ salt-call hubble.top -l debug | |
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/hubblestack.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/hubblestack.conf | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/minion.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/minion.conf | |
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: master | |
[DEBUG ] Configuration file path: /etc/salt/minion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"schemaVersion":1,"label":"coverage","message":"93%","color":"green"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"schemaVersion":1,"label":"Python","message":"3.9 | 3.8","color":"blue"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"schemaVersion":1,"label":"rethinkdb-python","message":"2.4.8","color":"blueviolet"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=================================================== test session starts ==================================================== | |
platform linux -- Python 3.9.1, pytest-5.4.1, py-1.10.0, pluggy-0.13.1 -- /vagrant/_own_projects/rethinkdb-python/.venv/bin/python | |
cachedir: .pytest_cache | |
rootdir: /vagrant/_own_projects/rethinkdb-python, inifile: pytest.ini | |
plugins: cov-2.8.1, tornasync-0.6.0.post2, trio-0.5.2 | |
collected 136 items | |
tests/test_date_and_time.py::TestNow::test_get_now PASSED [ 0%] | |
tests/test_handshake.py::TestLocalThreadCache::test_initialization PASSED [ 1%] |