Problem:
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:
1.17.0~rc1-1
Puppet version:
5.4
debug.log and configurations:
debug.log:
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'
settings.d/puppet.yml:
:enabled: https
:use_provider: puppet_proxy_ssh
:puppet_version: 5.4.0
settings.d/puppet_proxy_ssh.yml:
: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