Project

General

Profile

Actions

Bug #10940

closed

Unable to use customrun puppet provider

Added by Vladimir Stackov almost 9 years ago. Updated almost 6 years ago.

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

Description

Description of problem:
Impossible to use customrun puppet provider

Version-Release number of selected component (if applicable):
foreman-proxy-1.8.2-2.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. # cat /etc/foreman-proxy/settings.d/puppet.yml | grep customrun
:puppet_provider: customrun
:customrun_cmd: /usr/local/bin/mco
:customrun_args: -a

2. Restart foreman proxy
3. Press "Run puppet"

Actual results:
/var/log/foreman-proxy/proxy.log:
E, [2015-06-26T15:02:58.471796 #4759] ERROR -- : Exception 'no implicit conversion of Array into String' when executing '["/usr/local/bin/mco", "-a", ["host.domain.tld"]]'
E, [2015-06-26T15:02:58.474202 #4759] ERROR -- : Failed puppet run: Check Log files
IP - - [26/Jun/2015 15:02:58] "POST /puppet/run HTTP/1.1" 500 34 0.0062

Expected results:
Execute /usr/local/bin/mco -a host.domain.tld


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #11557: Foreman 1.8.3 Exception when using Puppetrun provider customrun Duplicate08/25/2015Actions
Actions #1

Updated by Dominic Cleal almost 9 years ago

  • Category set to Puppet
  • Project changed from Foreman to Smart Proxy
Actions #2

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/307 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal almost 9 years ago

  • Translation missing: en.field_release set to 72
  • Assignee set to Anonymous
Actions #4

Updated by Anonymous almost 9 years ago

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

Updated by Dominic Cleal almost 9 years ago

  • Has duplicate Bug #11557: Foreman 1.8.3 Exception when using Puppetrun provider customrun added
Actions

Also available in: Atom PDF