Refactor #31059
Tracker #30160: Extract Puppet ENC to a plugin
Tracker #30173: Extract Puppet Environments to a plugin
Extract Environments models
Description
- Environment model and tests
- EnvironmentClass model and tests
- HostCommon
- Operatingsystem
- PuppetHostExtensions -> Facet in the plugin
- Host::Managed -> Facet
- Hostgroup -> Hostgroup Facet
- Nic::Managed
- Puppetclass - temporarily
- Report
- Taxonomy
- User #visible_environments
- app/controller/application_controller.rb#included_associations `environments` need to be moved, thus added from monkey patch
Related issues
Associated revisions
Refs #31059 - drop environment hostgroup extension
Remove uses of environment from Hostgroup.
Refs #31059 - drop environments from nic
Removes uses of Environment from Nic::Managed model
Refs #31059 - drop environment from PuppetFactParser
Removes uses of Environment in PuppetFactParser and implement plugin
guard to import plugin Envrionment if plugin is installed.
Refs #31059 - cleanup Environment from tests
Removes Environment related notes from tests, mostly just Host being
uselessly provided an environment.
Refs #31059 - guard for Environment in setting
We need to introduce a guard for Environment being present in settings,
as we are about to drop Environment.
Reimplementation and movement of the Puppet settings is separate commit.
Fixes #31059 - drop Environment models
Fixes #31059 - regenerate snapshots without environment
History
#1
Updated by Ondřej Ezr over 2 years ago
- Description updated (diff)
#2
Updated by Ondřej Ezr over 2 years ago
- Blocked by Feature #31084: Nested attributes for Hostgroup facets added
#3
Updated by Ondřej Ezr over 2 years ago
- Description updated (diff)
ProvisioningTemplate should be part of TemplateCombinations
#4
Updated by Ondřej Ezr over 2 years ago
- Description updated (diff)
#5
Updated by Ondřej Ezr about 2 years ago
- Status changed from New to Assigned
#6
Updated by Ondřej Ezr almost 2 years ago
- Status changed from Assigned to Closed
Applied in changeset foreman|51dc65d8fe984640826004afe7b78b572d27090c.
Refs #31059 - drop environments Host extensions
Removes uses of environment from Host