Project

Profile

Help

Story #732

closed

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

Added by mhrivnak about 9 years ago. Updated almost 5 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 about 9 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 about 9 years ago

  • Priority changed from Normal to High
Actions #5

Updated by bmbouter about 9 years ago

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

Updated by bmbouter about 9 years ago

  • Tags Sprint Candidate added
Actions #7

Updated by mhrivnak almost 9 years ago

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

Added by mhrivnak almost 9 years ago

Revision e4fb236c | View on GitHub

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 almost 9 years ago

  • Status changed from ASSIGNED to POST
Actions #9

Updated by mhrivnak almost 9 years ago

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

Updated by mhrivnak almost 9 years ago

  • Sprint/Milestone set to 14
Actions #12

Updated by bmbouter almost 9 years ago

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

Updated by bmbouter almost 9 years ago

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

Updated by mhrivnak almost 9 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 almost 9 years ago

Revision 0419e29a | View on GitHub

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

fixes #732

Actions #15

Updated by mhrivnak almost 9 years ago

  • Status changed from POST to MODIFIED
Actions #16

Updated by dkliban@redhat.com almost 9 years ago

  • Status changed from MODIFIED to 5
Actions #17

Updated by mhrivnak over 8 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 over 8 years ago

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

Updated by bmbouter about 6 years ago

  • Sprint set to March 2015
Actions #21

Updated by bmbouter about 6 years ago

  • Sprint/Milestone deleted (14)
Actions #22

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF