Hi Team
I am trying to install and configure foreman-proxy 1.12 (in one of the
node, say compile master) using the module available at
https://forge.puppet.com/theforeman/foreman_proxy/3.0.1/compatibility
While running “puppet agent -t” (to install and configure foreman-proxy) ,
I am getting the below error on my node. Can you please help me to find
what could be the issue?
[root@poc-agent vagrant]# puppet agent -t --server=<CompileMasterHost>
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find class ::tftp::params for poc-agent.local on node
poc-agent.local
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@poc-agent vagrant]#
···
=================================================
What I have in my Puppetfile?
I have added the below line to download the module
mod 'theforeman/foreman_proxy', '3.0.1'
What I did in Foreman UI?
Imported the environment
created a host group called Sankara-Test-CM-Fmanproxy
assigned the class foreman_proxy to this host group
Assigned my node poc-agent to this host group
what I did in poc-agent node?
Logged into poc-agent and run the command “puppet agent -t
–server=”
Thanks
Sankara
> I am trying to install and configure foreman-proxy 1.12 (in one of the
> node, say compile master) using the module available at
> https://forge.puppet.com/theforeman/foreman_proxy/3.0.1/compatibility
>
> While running “puppet agent -t” (to install and configure
> foreman-proxy) , I am getting the below error on my node. Can you please
> help me to find what could be the issue?
>
> [root@poc-agent vagrant]# puppet agent -t --server=<CompileMasterHost>
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Loading facts
> Error: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Could not find class ::tftp::params for poc-agent.local on node
> poc-agent.local
You're probably missing the theforeman/tftp module, which is a
dependency. See
https://forge.puppet.com/theforeman/foreman_proxy/3.0.1/dependencies for
the full list.
puppet module install theforeman/tftp -v 2.0.0
should add it.
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
> [root@poc-agent vagrant]#
>
> =================================================
>
> What I have in my Puppetfile?
>
> I have added the below line to download the module
> mod 'theforeman/foreman_proxy', '3.0.1'
Not all tools download dependencies (r10k doesn't, librarian-puppet should).
···
On 08/12/16 21:46, Sankara wrote:
–
Dominic Cleal
dominic@cleal.org
Correction, -v 1.8.2 (2.0.0 isn't compatible with that old version).
···
On 12/12/16 09:07, Dominic Cleal wrote:
> On 08/12/16 21:46, Sankara wrote:
>> I am trying to install and configure foreman-proxy 1.12 (in one of the
>> node, say compile master) using the module available at
>> https://forge.puppet.com/theforeman/foreman_proxy/3.0.1/compatibility
>>
>> While running “puppet agent -t” (to install and configure
>> foreman-proxy) , I am getting the below error on my node. Can you please
>> help me to find what could be the issue?
>>
>> [root@poc-agent vagrant]# puppet agent -t --server=
>> Info: Retrieving pluginfacts
>> Info: Retrieving plugin
>> Info: Loading facts
>> Error: Could not retrieve catalog from remote server: Error 400 on
>> SERVER: Could not find class ::tftp::params for poc-agent.local on node
>> poc-agent.local
>
> You're probably missing the theforeman/tftp module, which is a
> dependency. See
> https://forge.puppet.com/theforeman/foreman_proxy/3.0.1/dependencies for
> the full list.
>
> `puppet module install theforeman/tftp -v 2.0.0` should add it.
–
Dominic Cleal
dominic@cleal.org