Project

Profile

Help

Story #2108

closed

Add option to puppet_install distributor to install to 'modules' directory and cleanup base directory

Added by jsherril@redhat.com over 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.13.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 15
Quarter:

Description

The current puppet_install distributor installs to whatever path the user specifies. If you are wanting to install to a puppet master you'd have to specify:

/etc/puppet/environments/MYENV/modules/

However when we delete the repository, the distributor cleanup logic only deletes:

/etc/puppet/environments/MYENV/modules

With the current implementation pulp cannot know to safely remove the MYENV directory. One solution would be to provide some option such that the user could just specify

/etc/puppet/environments/MYENV/

and pulp would automatically populate the modules under ./modules/. Then at delete time pulp could safely delete the MYENV directory.

Also available in: Atom PDF