Project

General

Profile

Actions

Bug #23894

closed

The foreman templates are not being imported from directory of git repository

Added by Ondřej Pražák over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Foreman templates are not being imported from a directory of a git repository.

  1. curl -H "Accept: application/json" -H "Content-Type: application/json" -k -X POST -u user:passwd https://foreman.example.com/api/v2/templates/import -d '{"verbose":"true", "associate": "new", "repo":"ssh:/user/foreman_templates", "dirname":"testDir", "branch":"master"}'
Actions

Also available in: Atom PDF