Project

Profile

Help

Story #732

closed

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

Added by mhrivnak over 7 years ago. Updated over 3 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.

Actions #1

Updated by cduryee over 7 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.

Actions #4

Updated by mhrivnak over 7 years ago

  • Priority changed from Normal to High
Actions #5

Updated by bmbouter over 7 years ago

  • Tags Groomed added
  • Tags deleted (Sprint Candidate)
Actions #6

Updated by bmbouter over 7 years ago

  • Tags Sprint Candidate added
Actions #7

Updated by mhrivnak over 7 years ago

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

Added by mhrivnak over 7 years ago

Revision e4fb236c

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

Actions #8

Updated by mhrivnak over 7 years ago

  • Status changed from ASSIGNED to POST
Actions #9

Updated by mhrivnak over 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #11

Updated by mhrivnak over 7 years ago

  • Sprint/Milestone set to 14
Actions #12

Updated by bmbouter over 7 years ago

  • Groomed set to Yes
  • Tags deleted (Groomed)
Actions #13

Updated by bmbouter over 7 years ago

  • Sprint Candidate set to Yes
  • Tags deleted (Sprint Candidate)
Actions #14

Updated by mhrivnak over 7 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.

Added by mhrivnak over 7 years ago

Revision 0419e29a

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

fixes #732

Actions #15

Updated by mhrivnak over 7 years ago

  • Status changed from POST to MODIFIED
Actions #16

Updated by dkliban@redhat.com over 7 years ago

  • Status changed from MODIFIED to 5
Actions #17

Updated by mhrivnak about 7 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

Actions #18

Updated by dkliban@redhat.com almost 7 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #20

Updated by bmbouter over 4 years ago

  • Sprint set to March 2015
Actions #21

Updated by bmbouter over 4 years ago

  • Sprint/Milestone deleted (14)
Actions #22

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF