Skip to content

[BUG] apache.config.modules.mod_wsgi fails, pkg: apache not found #370

Open
@iaingeorgeson

Description

@iaingeorgeson

Your setup

Formula commit hash / release tag

v1.1.8

Versions reports (master & minion)

Salt Version:
Salt: 3003.2

Dependency Versions:
cffi: Not Installed
cherrypy: unknown
dateutil: 2.7.3
docker-py: Not Installed
gitdb: 2.0.5
gitpython: 2.1.11
Jinja2: 2.10
libgit2: Not Installed
M2Crypto: 0.31.0
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-17-cloud-amd64
system: Linux
version: Debian GNU/Linux 10 buster

Pillar / config used


Bug details

Describe the bug

Including apache.config.modules.mod_wsgi fails. pkg: apache-config-modules-wsgi-pkg attempts to require pkg: apache, but that state no longer exists. The correct name is now apache-package-install-pkg-installed

https://github.com/saltstack-formulas/apache-formula/blob/v1.1.8/apache/config/modules/mod_wsgi.sls#L17

The mod_ssl.sls state in the same directory uses the correct pkg name.

Steps to reproduce the bug

include:
[...]

  • apache.config.modules.mod_wsgi

Expected behaviour

mod_wsgi is enabled.

Actual behaviour:

      ID: apache-config-modules-wsgi-pkg
Function: pkg.installed
    Name: mod_wsgi
  Result: False
 Comment: The following requisites were not found:
                             require:
                                 pkg: apache

Attempts to fix the bug

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions