Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] handle of stub_status #281

Open
sposs opened this issue Apr 1, 2021 · 0 comments
Open

[BUG] handle of stub_status #281

sposs opened this issue Apr 1, 2021 · 0 comments
Labels

Comments

@sposs
Copy link

sposs commented Apr 1, 2021

Your setup

Formula commit hash / release tag

Latest git as of today.

Versions reports (master & minion)

Salt Version:
Salt: 3003

Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.7.3
docker-py: Not Installed
gitdb: 2.0.5
gitpython: 2.1.11
Jinja2: 2.10
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 0.5.6
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: 3.6.1
pygit2: Not Installed
Python: 3.7.3 (default, Jan 22 2021, 20:04:44)
python-gnupg: Not Installed
PyYAML: 3.13
PyZMQ: 17.1.2
smmap: 2.0.5
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.1

System Versions:
dist: debian 10 buster
locale: UTF-8
machine: x86_64
release: 4.19.0-14-amd64
system: Linux
version: Debian GNU/Linux 10 buster

Pillar / config used

Trying to add

              - location = /stub_status:
                  stub_status

Bug details

Describe the bug

The rendered seems to expect something after the first word, but if that's true for most, the stub_status command is standing alone.

Steps to reproduce the bug

Use the above YAML, and observe.

Expected behaviour

The rendering should not fail because there is no value after stub_status.

Attempts to fix the bug

Solution is to use

- location = /stub_status:
    - stub_status: 'on'

But, the 'on' is not necessary as per the nginx doc.

Additional context

Ideally, it should be added in the pillar.example so that people do not struggle...

@sposs sposs added the bug label Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant