theforeman

Foreman with puppet node.rb error 404 Not Found

你。 提交于 2019-12-12 14:24:41
问题 I have installed foreman-1.2 with puppet, after installation i have registered my puppet to smart-proxy on foreman. when i run following command [root@puppet ~]# puppet agent -t Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Failed to find puppet.example.com via exec: Execution of '/etc/puppet/node.rb puppet.example.com' returned 1: --- false Info: Retrieving plugin Error: Could not retrieve catalog from remote server: Error 400 on

How does host groups work with foreman?

自作多情 提交于 2019-12-11 20:40:01
问题 I know how to declare foreman hostgroups using the online portal but how do you make it affect a host? Also where does all the manifests/module regarding the host group go? And is there a particular format to it? Thanks for replying in advance! 回答1: You need to set the host group on the host, by going to the hosts list ( Hosts > All hosts ), click Edit next to the host and select the host group from the dropdown list, then Submit . Any Puppet classes you set on the host group will apply to