Project

General

Profile

Actions

Feature #13060

closed

Missing puppetca in YAML parameters

Added by julien ippolito over 8 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
External Nodes
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

In the generated yaml, i don't find reference for the puppetca server.
This is need by a puppet module to change the puppetca like we can change the puppet master.

Actually, I define a global with the value à the puppetca using the template syntaxe.

Thanks to add this field in the yaml export.

In the same time can you add in the documentation of template, this field? actualy we can find the usage in the puppet.conf template but it is not in the template documentation.

Thanks


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #9359: puppet_ca parameter made available for unmanaged hostsClosedjulien ippolito02/12/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Category set to External Nodes
  • Status changed from New to Need more information

The ENC YAML output will contain the parameter puppet_ca if the unattended setting (in /etc/foreman/settings.yaml) is enabled and the host has a PuppetCA smart proxy assigned. Do you have one unset?

Actions #2

Updated by julien ippolito over 8 years ago

Dominic Cleal wrote:

The ENC YAML output will contain the parameter puppet_ca if the unattended setting (in /etc/foreman/settings.yaml) is enabled and the host has a PuppetCA smart proxy assigned. Do you have one unset?

In the file /etc/foreman/setting.yaml i have :
:unattended: true

this is the list of smartproxy :
Nom URL Fonctionnalités
gcf-mut-appv1.adm.parimutuel.... http://gcf-mut-appv1.adm.parimutuel.local:8000 Puppet et Facts Rafraichir les fonctions
gcf-mut-gdav1.adm.parimutuel.... http://gcf-mut-gdav1.adm.parimutuel.local:8000 Puppet CA Certificats
gcf-mut-gdav2.adm.parimutuel.... http://gcf-mut-gdav2.adm.parimutuel.local:8000 Puppet CA Certificats
gcf-mut-prov1.adm.parimutuel.... https://gcf-mut-prov1.adm.parimutuel.local:8443 TFTP, Puppet et Puppet CA Certificats
gcf-prd-appv1.adm.parimutuel.... http://gcf-prd-appv1.adm.parimutuel.local:8000 Puppet et Facts Rafraichir les fonctions

I define on one node :
Puppet CA : gcf-mut-gdav1.adm.parimutuel.local

and this is the YAML output :
---
classes:
mcollective::facts:
pmu_os_package:
reference: lpp_AIX_7100-03-04-1441
url_to_archives: http://sic-mut-refv1.adm.parimutuel.local:8081/nexus/service/local/repositories/industrialisation/content/
url_to_rpms: http://sic-mut-refv1.adm.parimutuel.local:8081/nexus/service/local/repositories/rpm_repo/content/
pmu_svc_art_batch:
ensure: present
version: 12.1.3.0.0.23-1
pmu_svc_art_cics:
ensure: present
version: 12.1.3.0.0.24-1
pmu_svc_art_ims:
ensure: present
version: 12.1.3.0.0.21-1
pmu_svc_puppet:
pmu_svc_tuxedo:
ensure: present
version: 12.1.3.0.0.30-1
parameters:
puppetmaster: gcf-mut-appv1.adm.parimutuel.local
hostgroup: Test et recette (puppet)
root_pw:
foreman_env: bas_tuxedo_master
owner_name: Admin User
owner_email: root@adm.parimutuel.local
foreman_subnets: []
foreman_interfaces:
- mac:
ip: 10.42.67.98
type: Interface
name: sic-dev-tmsm2-d48.dev.parimutuel.local
attrs:
mtu: '0'
network: 10.42.67.0
netmask: 255.255.255.0
virtual: false
link: true
identifier: en3
managed: true
primary: true
provision: true
subnet:
puppetca: gcf-mut-gdav1.adm.parimutuel.local
puppet_mode: noop
puppet_parser: future
url_to_distrib: http://sic-mut-refv1.adm.parimutuel.local:8081/nexus/content/sites/industrialisation/
url_to_rpm_depot: http://sic-mut-refv1.adm.parimutuel.local:8081/nexus/service/local/repositories/rpm_repo/content/
environment: bas_tuxedo_master

the puppetca field is one field defined in global parameters :
Nouveau paramètre Documentation
Nom Valeur
puppetca <%= @host.puppet_ca_server %>
puppet_mode noop
puppet_parser future

Actions #3

Updated by Dominic Cleal over 8 years ago

If you go to edit the host, do you have a "Manage host" or an "Unmanaged host" button in the top-right?

Actions #4

Updated by julien ippolito over 8 years ago

i have a "Manage host" button, i don't use de machine provisioning at this time

Actions #5

Updated by julien ippolito over 8 years ago

if i active this fonctionnality, y have the puppet_ce field in the YAML, it's possible to always add this field on the yaml?

Actions #6

Updated by Dominic Cleal over 8 years ago

  • Is duplicate of Bug #9359: puppet_ca parameter made available for unmanaged hosts added
Actions #7

Updated by Dominic Cleal over 8 years ago

  • Status changed from Need more information to Duplicate

Yep, that's tracked under the existing ticket #9359 then. I don't think it should be limited to just managed hosts.

Actions #8

Updated by julien ippolito over 8 years ago

Do you think if this issue will be resolve soon? the existing #9359 ticket have 1 year old and is not attached whith new release.

Actions #9

Updated by Dominic Cleal over 8 years ago

I don't know, probably not. A release will be assigned when somebody submits a pull request and it's merged (http://theforeman.org/contribute.html).

Actions #10

Updated by Chris Pisano over 8 years ago

I submitted the original issue about a year ago. I just assigned that to myself. If you wouldn't mind assigning this one to me as well I will try and get something submitted as time permits.

Actions #11

Updated by Dominic Cleal over 8 years ago

Don't worry Chris, as Julien's kindly sent a pull request in under the other ticket.

Actions

Also available in: Atom PDF