Project

General

Profile

Actions

Bug #15867

open

Changing puppet environment on the hostgroup page shows all puppet classes

Added by David Davis over 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Steps to reproduce:

1. Create and publish two content views (View1 and View2) with two different sets of puppet modules
2. Create a Hostgroup and set it to one of the view's environments
3. Edit your Hostgroup and go to the Puppet Classes tab. Observe your view's puppet modules
4. Go back to Host Group tab and hit "Reset Puppet Environment to match selected Content View"
5. See the puppet classes and observe all puppet modules from BOTH content views

The problem is that we're not sending in hostgroup_id or environment_id so it creates a hostgroup without an environment here:

Actions

Also available in: Atom PDF