Project

General

Profile

Actions

Bug #11557

closed

Foreman 1.8.3 Exception when using Puppetrun provider customrun

Added by Martin Zimmermann over 8 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Smart Proxy
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I'm using the puppetrun provider "customrun", but every run fails with this error message:

/var/log/foreman-proxy/proxy.log

D, [2015-08-25T18:06:15.559074 #27172] DEBUG -- : about to execute: ["/bin/true", "-ay -f -s", ["l2917022.sdst.sbaintern.de"]]
E, [2015-08-25T18:06:15.559362 #27172] ERROR -- : Exception 'no implicit conversion of Array into String' when executing '["/bin/true", "-ay -f -s", ["l2917022.sdst.sbaintern.de"]]'
E, [2015-08-25T18:06:15.561525 #27172] ERROR -- : Failed puppet run: Check Log files

My puppetrun configuration looks like this (i'm using /bin/true in this example just for demonstration purposes):

/etc/foreman-proxy/settings.d/puppet.yml

---
:enabled: true
:puppet_conf: /etc/puppet/puppet.conf
:puppet_url: https://l9994022.edst.ebaintern.de:8140
:puppet_ssl_ca: /var/lib/puppet/ssl/certs/ca.pem
:puppet_ssl_cert: /var/lib/puppet/ssl/certs/l9994022.edst.ebaintern.de.pem
:puppet_ssl_key: /var/lib/puppet/ssl/private_keys/l9994022.edst.ebaintern.de.pem
:puppet_provider: customrun
:customrun_cmd: /bin/true
:customrun_args: -ay -f -s


Related issues 1 (0 open1 closed)

Is duplicate of Smart Proxy - Bug #10940: Unable to use customrun puppet providerClosed06/26/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Is duplicate of Bug #10940: Unable to use customrun puppet provider added
Actions #2

Updated by Dominic Cleal over 8 years ago

  • Status changed from New to Duplicate

Thanks for the report, this has just been fixed in #10940 for Foreman 1.9.1.

Actions

Also available in: Atom PDF