Project

General

Profile

Actions

Bug #18279

closed

Direct client.pem bootstrap strategy does not work for image based provisioning

Added by Marek Hulán over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman_chef
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The SSH provisioning method ignores after_build hook, we could use before_provision but that's too late so we need to alias :setSSHProvisionScript method and do the orchestration before the template is rendered. Also the template is rendered in Host::Managed context, which is not being extended by extend_template_helpers plugin helper. That should be fixed in core but before I get the patch in there, I'll add a workaround to the plugin.


Related issues 1 (0 open1 closed)

Related to Chef - Bug #17884: foreman_chef macros don't work in job template previewClosedMarek Hulán01/01/2017Actions
Actions

Also available in: Atom PDF