Project

General

Profile

Feature #1179

Create puppet template with attribute foreman hostgroup

Added by anto anto over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
External Nodes
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Hello,

All is in the subject. I don't know if it is possible to use the hostgroup attribute of a host in a puppet template but when i use "<%= hostgroup %>" in a template I have this error : Could not find value for 'hostgroup'.

It is possible ? It is an other name of attribute ?
It is possible to add this possibility ?

Thanks for all.

Associated revisions

Revision e20f5716 (diff)
Added by Ohad Levy over 7 years ago

fixes #1179 - exposes foreman attributes in enc
this includes:

  • hostgroup
  • root password (when in unattended mode)
  • foreman env (workaround for puppet enc bug)
  • owner name
  • owner email (or array of emails if its a group)

Revision 052dc65f (diff)
Added by Ohad Levy over 7 years ago

refs #1179 - hostname name in enc should include its parents too

Revision 771129f2 (diff)
Added by Ohad Levy over 7 years ago

adds host description as an ENC parameter refs #1179

History

#1 Updated by Ohad Levy over 7 years ago

  • Category set to External Nodes
  • Assignee set to Ohad Levy
  • Target version set to 0.4

#2 Updated by Ohad Levy over 7 years ago

which other attributes should be exposed as well?

#3 Updated by Ohad Levy over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF