Bug 2169311

Summary: Deprecated Host-Specific Variables on Templates
Product: Red Hat Satellite Reporter: Pablo Fernández Rodríguez <pafernan>
Component: DocumentationAssignee: Zuzana Lena Ansorgova <zuansorg>
Documentation sub component: default QA Contact:
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: medium CC: arahaman, zuansorg
Version: 6.11.5Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-10 12:35:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pablo Fernández Rodríguez 2023-02-13 09:49:17 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html-single/managing_hosts/index#Host_Specific_Variables_managing-hosts

Section Number and Name: 
A.6. Host-Specific Variables

Describe the issue: 
@host.environment, @host.puppetmaster and @host.puppet_ca_server were deprecated as documented on Foreman https://www.theforeman.org/manuals/2.5/index.html Section "Deprecations"

Suggestions for improvement: 
Replace old variables with correct ones:
@host.environment -> host_puppet_environment
@host.puppetmaster -> host_puppet_server
@host.puppet_ca_server -> host_puppet_ca_server

Comment 1 Marie Hornickova 2023-02-14 12:55:59 UTC
Hello Pablo,
Many thanks for informing us about the incorrect variables by raising this BZ.
The ticket is now assigned and info on updates about the fix will be shared in this ticket.
Thank you!

Comment 4 Zuzana Lena Ansorgova 2023-07-04 21:00:28 UTC
https://github.com/theforeman/foreman-documentation/pull/2273