Project

Profile

Help

Story #732

As a user, repo deletion causes puppet modules to be uninstalled

Added by mhrivnak over 6 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
March 2015
Quarter:

Description

The install distributor installs puppet modules to a specified environment on the pulp system. When the repo gets deleted, those modules should be uninstalled.

Associated revisions

Revision e4fb236c View on GitHub
Added by mhrivnak over 6 years ago

The install-distributor now cleans up (deletes) modules on removal from a repo

When this distributor gets removed from a repository, such as when the repository gets deleted, all modules in its install path will be deleted.

closes #732

Revision 0419e29a View on GitHub
Added by mhrivnak over 6 years ago

Repo delete now causes install distributor to delete the environment's directory.

fixes #732

History

#1 Updated by cduryee over 6 years ago

Where doe the code live that does the install? I'd like to take a look at it to see how complex the uninstall will be but I am having some trouble finding it.

#4 Updated by mhrivnak over 6 years ago

  • Priority changed from Normal to High

#5 Updated by bmbouter over 6 years ago

  • Tags Groomed added
  • Tags deleted (Sprint Candidate)

#6 Updated by bmbouter over 6 years ago

  • Tags Sprint Candidate added

#7 Updated by mhrivnak over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mhrivnak
  • Platform Release set to 2.7.0

#8 Updated by mhrivnak over 6 years ago

  • Status changed from ASSIGNED to POST

#9 Updated by mhrivnak over 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#11 Updated by mhrivnak over 6 years ago

  • Sprint/Milestone set to 14

#12 Updated by bmbouter over 6 years ago

  • Groomed set to Yes
  • Tags deleted (Groomed)

#13 Updated by bmbouter over 6 years ago

  • Sprint Candidate set to Yes
  • Tags deleted (Sprint Candidate)

#14 Updated by mhrivnak over 6 years ago

  • Status changed from MODIFIED to POST

https://github.com/pulp/pulp_puppet/pull/187

Modifying the behavior slightly, by request from katello. Instead of leaving an empty environment directory after repo deletion, this will delete that directory also.

#15 Updated by mhrivnak over 6 years ago

  • Status changed from POST to MODIFIED

#16 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#17 Updated by mhrivnak about 6 years ago

To verify:

1. see documentation: https://pulp-puppet.readthedocs.org/en/latest/tech-reference/plugin_conf.html#install-distributor
2. ensure that install_path doesn't exist, but that the apache user has permission to create it.
3. publish with the install_distributor
4. make sure the install_path was created
5. delete the repo or remove the distributor from the repo
6. make sure the install_path was removed

#18 Updated by dkliban@redhat.com almost 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#20 Updated by bmbouter over 3 years ago

  • Sprint set to March 2015

#21 Updated by bmbouter over 3 years ago

  • Sprint/Milestone deleted (14)

#22 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF