Thanks. Looks like I misunderstood what was available. I'm looking forward 
to 1.14!

On Wednesday, September 28, 2016 at 6:18:35 PM UTC-4, Chris Baldwin wrote:
>
> Hi,
>
> I can't seem to use/find the config_group fact (for puppet) in 1.12 
> anymore. Did I miss something? I saw the bug fix in 1.12.3 for sorting by 
> config_group and hostgroup, but that seemed unrelated to this.
>
> I've looked at https://theforeman.org/manuals/1.12/index.html#4.2.2Classes 
> , the last part talks about looking at the "yaml" page for a host. I would 
> have expected to find a fact called "config_group" in there, just like the 
> "hostgroup" fact. A host that has a config group assigned to its hostgroup 
> looks like this (edited to remove identifying company data):
>
> ---
> classes:
>   (classes from the CG go here)
> parameters:
>   puppetmaster: $puppetmaster_fqdn
>   domainname: domain.com
>   hostgroup: my/hostgroup
>   location: USA
>   organization: MyOrg
>   root_pw: 
>   puppet_ca: $puppetmaster_fqdn
>   foreman_env: $my_env
>   owner_name: Admin User
>   owner_email: [email protected]
>   foreman_subnets: []
>   foreman_interfaces:
>   - ip: 192.168.100.115
>     mac: 00:50:56:74:17:70
>     name: $hostname.fqdn
>     attrs:
>       mtu: '1500'
>       network: 192.168.100.0
>       netmask: 255.255.254.0
>     virtual: false
>     link: true
>     identifier: eth0
>     managed: true
>     primary: true
>     provision: true
>     subnet: 
>     tag: 
>     attached_to: 
>     type: Interface
> environment: $my_env
>
>
> Am I missing something? What else should I look at? The DB doesn't seem to 
> have this fact in it either. 
>
>
> Thanks for any suggestions.
>
> -Chris
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to