On 06/12/16 19:42, Sankara wrote:
> Hi
> 
> 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?
> 
> Error: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Invalid parameter dns_realm on Class[Foreman_proxy] at
> /dev/modules/fmanproxy/manifests/config.pp:128 on node poc-agent.local
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run

You're supplying a parameter that isn't on the foreman_proxy class.

>     the config.pp file in my module fmanproxy, I have the below
>         class fmanproxy::config {
>           class { '::foreman_proxy':
>             bind_host                    => $::fmanproxy::bind_host,
>             bmc                          => $::fmanproxy::bmc,
>             dns_realm                    => $::fmanproxy::dns_realm,

dns_realm isn't a valid parameter on the foreman_proxy class. Check
against the list of valid parameters in the manifest:

https://github.com/theforeman/puppet-foreman_proxy/blob/3.0.1/manifests/init.pp

I'm unsure which you intend to set, probably either dns, realm or dns_zone.


>         } ## End of class ::foreman_proxy
> 
>           # Install the foreman_proxy
>             include ::foreman_proxy

Unnecessary - you're already including it by using class {
'::foreman_proxy': .. }.

-- 
Dominic Cleal
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to