[mcollective-users] mco puppet runonce -I hostname command is setting wrong facts

2018-03-13 Thread dhananjay patade
When I run agent manually from client machine facts.id is set correct i.e id: RANGER_WIN7\ranger_win7 but when I run agent using mco puppet runonce -I hostname facts.id is set wrong. i.e id: WORKGROUP\RANGER_WIN7$ because of this application deployment is failing, someone know why this is

[mcollective-users] mco puppet runonce -I hostname setting wrong host identity

2018-03-13 Thread dhananjay patade
I am trying to deploy an application. If I run puppet agent manually by logging in to that agent machine, everything works fine, But when I run "mco puppet runonce -I hostname" from my puppet server deployment fails. This happens because my application reads "user.name" property from system pro

Re: [mcollective-users] mco puppet runonce -I hostname setting wrong host identity

2018-03-13 Thread R.I.Pienaar
On Tue, 13 Mar 2018, at 07:09, dhananjay patade wrote: > I am trying to deploy an application. If I run puppet agent manually by > logging in to that agent machine, everything works fine, But when I run > "mco puppet runonce -I hostname" from my puppet server deployment fails. > This happens b

Re: [mcollective-users] mco puppet runonce -I hostname setting wrong host identity

2018-03-13 Thread Christopher Wood
The -I parameter is the identity configured in server.cfg over here. Do you have the correct identity configured for your mcollective daemon? https://puppet.com/docs/mcollective/current/reference/ui/filters.html https://puppet.com/docs/mcollective/current/configure/server.html#facts-identity-and

Re: [mcollective-users] mco puppet runonce -I hostname setting wrong host identity

2018-03-13 Thread dhananjay patade
Hi Christopher, I tried setting identity property in server.cfg still results are same. On Tuesday, March 13, 2018 at 11:05:17 PM UTC+5:30, Christopher Wood wrote: > > The -I parameter is the identity configured in server.cfg over here. Do > you have the correct identity configured for your mcol