Project

General

Profile

Feature #24923

Add check for puppet class duplicates

Added by Ondřej Pražák about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

When concurrently publishing content views with the same name, duplicate records for Puppet class may be created in Foreman db because Rails validation gets bypassed and there is no uniqueness constraint on db. If there are existing deployments with duplicates, it is not feasible to delete/rename them automatically, because there may be custom overrides configured for the classes. We should ask users to remove the duplicates before proceeding.


Related issues

Related to Foreman - Bug #24633: Duplicate puppet classes are created when publishing content views in parallelClosed

Associated revisions

Revision af4beb6a (diff)
Added by Marek Hulán about 4 years ago

Fixes #24923 - Add check for duplicate puppet classes

History

#1 Updated by Ondřej Pražák about 4 years ago

  • Related to Bug #24633: Duplicate puppet classes are created when publishing content views in parallel added

#2 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/212 added

#3 Updated by The Foreman Bot about 4 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/215 added

#4 Updated by Ivan Necas about 4 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Ivan Necas about 4 years ago

  • Fixed in Releases foreman_maintain-0.3.0 added

Also available in: Atom PDF