Project

General

Profile

Actions

Bug #14284

closed

Automatically sign

Added by Loic FONTAINE over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
PuppetCA
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When you deploy a Windows machine using Image-Based (i.e. VMware Templates) the Puppet certificate is not automatically sign.
You must go on "Infrastructure" --> "Smart Proxies" in order to sign the certificate.

Actions #1

Updated by Dominic Cleal over 8 years ago

  • Category set to PuppetCA
  • Status changed from New to Need more information

Are you using a user data template? If so, you must run the Puppet agent before the foreman_url('built') is called for it to autosign.

Actions #2

Updated by Loic FONTAINE over 8 years ago

Yes I am using a user template which invoke foreman_url('built') after Puppet was installed and launched.

I use Windows 2012 Server

Actions #3

Updated by Dominic Cleal over 8 years ago

Can you check if the autosign entry is added during provisioning, before built is called? Does the host have a Puppet CA proxy assigned?

Actions #4

Updated by Loic FONTAINE over 8 years ago

It works now ! :)

I must do a "Sleep 300" in order to wait 5 minutes between puppet installation and foreman('built').
Thank you Dominic :)

Actions #5

Updated by Dominic Cleal over 8 years ago

  • Status changed from Need more information to Resolved

Glad it's sorted. You can also probably run the agent explicitly, which is what happens in other OS templates: https://github.com/theforeman/community-templates/blob/develop/snippets/puppet_setup.erb#L59

Actions

Also available in: Atom PDF