Puppetrun not enabled

I have a foreman installation configured through puppet and wanted to enable puppetruns through puppetssh. The foreman-proxy log shows that the providers are initialized correctly, but the puppet run button is greyed out with “required that puppet run is enabled”. Under settings the puppetrun variable says “setting is defined through settings.yaml and read-only”.

Foreman and Proxy versions:

Puppet version:

debug.log and configurations:

D, [2018-03-10T15:51:26.512760 ] DEBUG -- : 'puppet' settings: 'enabled': https, 'puppet_version': 5.4.0, 'use_provider': ["puppet_proxy_ssh", :puppet_proxy_puppet_api]
D, [2018-03-10T15:51:26.551730 ] DEBUG -- : 'puppet_proxy_puppet_api' settings: 'api_timeout': 30 (default), 'classes_retriever': apiv3, 'environments_retriever': apiv3, 'puppet_ssl_ca': /etc/puppetlabs/puppet/ssl/certs/ca.pem, 'puppet_ssl_cert': /etc/puppetlabs/puppet/ssl/certs/***.pem, 'puppet_ssl_key': /etc/puppetlabs/puppet/ssl/private_keys/***.pem, 'puppet_url': https://***:8140, 'puppet_version': 5.4.0, 'use_provider': ["puppet_proxy_ssh", :puppet_proxy_puppet_api]
D, [2018-03-10T15:51:26.562936 ] DEBUG -- : 'puppet_proxy_ssh' settings: 'command': /opt/puppetlabs/bin/puppet agent -t --no-noop --no-usecacheonfailure, 'keyfile': /etc/foreman-proxy/id_rsa, 'puppet_version': 5.4.0, 'use_provider': ["puppet_proxy_ssh", :puppet_proxy_puppet_api], 'use_sudo': false (default), 'user': foreman-ssh, 'wait': false (default)
I, [2018-03-10T15:51:26.563709 ]  INFO -- : Successfully initialized 'puppet_proxy_puppet_api'
I, [2018-03-10T15:51:26.565676 ]  INFO -- : Successfully initialized 'puppet_proxy_ssh'
I, [2018-03-10T15:51:26.565718 ]  INFO -- : Successfully initialized 'puppet'


:enabled: https
:use_provider: puppet_proxy_ssh
:puppet_version: 5.4.0


:command: /opt/puppetlabs/bin/puppet agent -t --no-noop --no-usecacheonfailure
:use_sudo: false
:wait: false
:user: foreman-ssh
:keyfile: /etc/foreman-proxy/id_rsa

Any suggestions on what I might be doing wrong ?

Thanks in advance

I think we should deprecate or remove “puppet run” and recommend remote execution plugin for the same. It’s already shipped with the template for triggering a puppet run. The benefit is a better authentication capabilities and all other features it brings. Would that be an option for you?

Hey thanks for the fast answer,

yes that would be an option for me, but because of issues:20050 I cant get it to work at the moment. Maybe ill downgrade to 1.16 and then add the workaround, even though thats not my prefered method :slight_smile: