Updated for a couple nits

This makes a few updates to clean up the new repo-build role.

Change-Id: Ie87ea568157ce83aa67bc2115d3bcdd23784d951
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2015-10-22 11:28:06 -05:00
parent 75f954bd7a
commit cc7ff9855f
2 changed files with 1 additions and 4 deletions

View File

@ -12,6 +12,3 @@ Role to deploy a repository build for both python packages and git sources.
user: root user: root
roles: roles:
- { role: "repo_build", tags: [ "repo-build" ] } - { role: "repo_build", tags: [ "repo-build" ] }
vars:
memcached_builds: 127.0.0.1:11211
memcached_encryption_key: secrete

View File

@ -2,7 +2,7 @@
{% set constraint_pkgs = [] -%} {% set constraint_pkgs = [] -%}
{% for clone_item in cloned_repos.stdout_lines -%} {% for clone_item in cloned_repos.stdout_lines -%}
git+file://{{ clone_item }}#egg={{ clone_item | git_link_parse_name | replace('-', '_') | lower }} git+file://{{ clone_item }}#egg={{ clone_item | git_link_parse_name | replace('-', '_') | lower }}
{% if constraint_pkgs.append(clone_item | git_link_parse_name | replace('-', '_') | lower) %}{% endif %} {% set _ = constraint_pkgs.append(clone_item | git_link_parse_name | replace('-', '_') | lower) %}
{% endfor %} {% endfor %}
# upper boundry constraints from requirements repo. # upper boundry constraints from requirements repo.
{% for constraint_item in upper_constraints %} {% for constraint_item in upper_constraints %}