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

Error: Cannot create /etc/uwsgi/apps-enabled; parent directory /etc/uwsgi does not exist #9

Open
guidoiaquinti opened this issue Nov 27, 2014 · 1 comment · May be fixed by #20
Open

Comments

@guidoiaquinti
Copy link

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty

Linux www 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Python 2.7.6

pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

uWSGI==2.0.8

Seems that at least on my system the '/etc/uwsgi' folder is not "shipped" with the package.

==> default: Error: Cannot create /etc/uwsgi/apps-enabled; parent directory /etc/uwsgi does not exist
==> default: Error: /Stage[main]/Uwsgi/File[/etc/uwsgi/apps-enabled]/ensure: change from absent to directory failed: Cannot create /etc/uwsgi/apps-enabled; parent directory /etc/uwsgi does not exist

I didn't tested on RHEL.

One solution could be specifying the '/etc/uwsgi' path as $default_folder and appending at that the $app_directory variable. Then adding a file type "${default_folder}/${app_directory}" with a require to the $default_folder.

gbalytnikov pushed a commit to gbalytnikov/puppet-uwsgi that referenced this issue Dec 28, 2014
@rfuentescruz rfuentescruz linked a pull request Feb 21, 2017 that will close this issue
@poikilotherm
Copy link

Hi @guidoiaquinti,

can you verify if this is still an issue with my newly released version, which is a major refactored module?

https://forge.puppet.com/poikilotherm/uwsgi

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants