Project

General

Profile

Actions

Bug #18279

closed

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

Added by Marek Hulán almost 8 years ago. Updated over 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 #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_chef/pull/69 added
Actions #2

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #17884: foreman_chef macros don't work in job template preview added
Actions #3

Updated by Marek Hulán almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF