Project

General

Custom queries

Profile

Actions

Bug #8521

closed

Host clone should include associated Puppet classes

Added by Joshua Hoblitt over 10 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

As of 1.6.3, cloning a host does not duplicate it's included classes. It would be very convient when provisioning multiple hosts if there was a mechanism to clone an existing host that encompassed config groups, included classes, and host level parameters.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #7407: Cloning a hostgroup do not clone Puppet classes and parametersClosedTom Caspy09/11/2014Actions
Related to Foreman - Bug #9815: HostGroup Clone doesn't work if the hostgroup has parametersClosedChristine Fouant03/18/2015Actions

Added by Dominic Cleal over 9 years ago

Revision f1a2c140 (diff)

fixes #8521 - fix classes accessors, copy overrides on host clone

The various 'classes' accessors that are used in the UI for displaying
the Puppet classes tab only really worked for saved objects, so they're
changed to work better on an unsaved cloned object. Tests now check
all associations and UI accessors return consistent results for various
types of class associations.

Actions

Also available in: Atom PDF