On Tuesday, 31 January 2017 15:45:06 UTC, R.I.Pienaar wrote:
>
>
>
> On Tue, Jan 31, 2017, at 16:42, Paul Seymour wrote: 
> > Hello, 
> > 
> > Just kicking the tyres on a greenfield Puppet AIO setup to migrate from 
> > our 
> > v3 setup and hopefully clean up a ton of cruft on the way. Only a couple 
> > of 
> > nodes for now. 
> > 
> > Just trying to get choria working and pulled the v0.21 modules and deps 
> > from the forge and put them in. 
> > 
> > Every agent run I get entries added to the server.cfg/client.cfg files. 
> > 
> > [] 
> > securityprovider = choria 
>
> do you mean you end up with a huge long list of duplicates of these? 
> with the "[]" inbetween? 
>
> That's very odd, I can't think why, so will need to see details like 
> logs, hiera configs etc 
>

That's correct. Hiera stuff looks like this at environment level:-
mcollective_choria::config:
  use_srv_records: false
  puppetserver_host: "puppet4.dev.example.com"
  puppetserver_port: 8140
  puppetca_host: "puppet4.dev.example.com"
  puppetca_port: 8140
  puppetdb_host: "pdb001.example.com"
  puppetdb_port: 8081
  middleware_hosts:
    - "puppet4.dev.example.com:4222" 

With the couple of hosts have server true on the puppet-server, and client 
true on both.

Not sure what logs you are after an agent run always shows:-
Info: Applying configuration version '1485876971'
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_securityprovider]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_securityprovider]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_identity]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_identity]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_connector]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_connector]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_collectives]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_collectives]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_main_collective]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_main_collective]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_classesfile]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_classesfile]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_rpcauthorization]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_rpcauthorization]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_rpcauthprovider]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_rpcauthprovider]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_rpcaudit]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_rpcaudit]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_rpcauditprovider]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_rpcauditprovider]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_plugin.rpcaudit.logfile]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_plugin.rpcaudit.logfile]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_factsource]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_factsource]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_plugin.yaml]/ensure:
 
created
Info: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_server_plugin.yaml]:
 
Scheduling refresh of Class[Mcollective::Service]
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_client_securityprovider]/ensure:
 
created
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_client_identity]/ensure:
 
created
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_client_connector]/ensure:
 
created
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_client_collectives]/ensure:
 
created
Notice: 
/Stage[main]/Mcollective::Config/Ini_setting[mcollective::config_client_main_collective]/ensure:
 
created
Info: Class[Mcollective::Service]: Scheduling refresh of 
Service[mcollective]
Notice: /Stage[main]/Mcollective::Service/Service[mcollective]: Triggered 
'refresh' from 1 events
Notice: Applied catalog in 29.21 seconds

Thanks very much.
Paul

-- 

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

Reply via email to