Skip to content

Conversation

@markgoddard
Copy link

Promotion of one distribution to the publication of another distribution
currently fails. We see:

'str object' has no attribute 'pulp_href'

This change fixes the issue by refactoring the complex jinja logic into
ansible filters.

Also fixes an issue when a distribution has a state of absent - we
should not need to specify a repository or base_path.

Fixes: #34
Fixes: #35

Promotion of one distribution to the publication of another distribution
currently fails. We see:

    'str object' has no attribute 'pulp_href'

This change fixes the issue by refactoring the complex jinja logic into
ansible filters.

Also fixes an issue when a distribution has a state of absent - we
should not need to specify a repository or base_path.

Fixes: #34
Fixes: #35
@markgoddard markgoddard self-assigned this Dec 7, 2021
Base automatically changed from testing to master December 7, 2021 11:43
@markgoddard markgoddard merged commit ced1fd8 into master Dec 7, 2021
@markgoddard markgoddard deleted the issues/34 branch December 7, 2021 11:44
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 this pull request may close these issues.

pulp_distribution: repository and base_path should not be required when state is absent pulp distribution promotion failing

3 participants