diff options
author | Nick Groenen <zoni@zoni.nl> | 2013-03-11 14:20:25 +0100 |
---|---|---|
committer | Nick Groenen <zoni@zoni.nl> | 2013-03-11 14:20:25 +0100 |
commit | 451b21537565b335a45bca0d90ff03567a10e9c2 (patch) | |
tree | 0aab5e3597fc0a7d4877df52beda51bb8b1454bc /manifests/config.pp | |
parent | 8fb868d5aa7bbe4d19f83367ba86d4ac4deb6d25 (diff) |
Resolve a cyclic dependency
There was a dependency between python::virtualenv and
python::requirements. Basically, the virtualenv wanted to initialize
requirements, but requirements depended on the virtualenv being created
already, resulting in:
err: Could not apply complete catalog: Found 1 dependency cycle:
(Exec[python_requirements_check_/usr/share/err/repo/requirements.txt] =>
Python::Requirements[/usr/share/err/repo/requirements.txt] =>
Exec[python_virtualenv_/usr/share/err/python3] =>
Python::Requirements[/usr/share/err/repo/requirements.txt] =>
Exec[python_requirements_check_/usr/share/err/repo/requirements.txt])
Diffstat (limited to 'manifests/config.pp')
-rw-r--r-- | manifests/config.pp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/manifests/config.pp b/manifests/config.pp index 43da22e..49e5230 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -5,7 +5,6 @@ class python::config { Class['python::install'] -> Python::Virtualenv <| |> Python::Virtualenv <| |> -> Python::Pip <| |> - Python::Virtualenv <| |> -> Python::Requirements <| |> if $python::gunicorn { Class['python::install'] -> Python::Gunicorn <| |> |