Skip to content

Django configure step fails, no /current directory? #10

Description

@meconlin

I am attempting to setup a Django application layer in Opsworks.
I can run opsworks_deploy_python::django-setup with no issue.
However opsworks_deploy_python::django-configure fails with the error below.

The directory .../current does not exist.
Am I missing a step?

My stack has this custom json:

{
"deploy": {
    "django-test": {
     "custom_type":"django"                
    }
}
}

error logs:

[2016-01-18T18:43:03+00:00] INFO: Processing template[/srv/www/django-test/current/local_settings.py] action create (opsworks_deploy_python::django-configure line 47)

================================================================================
Error executing action `create` on resource 'template[/srv/www/django-test/current/local_settings.py]'
================================================================================


Chef::Exceptions::EnclosingDirectoryDoesNotExist
------------------------------------------------
Parent directory /srv/www/django-test/current does not exist.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions