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 mcollective daemon? 
>
> https://puppet.com/docs/mcollective/current/reference/ui/filters.html 
>
>
> https://puppet.com/docs/mcollective/current/configure/server.html#facts-identity-and-classes
>  
>
> Here I have server.cfg managed via puppet so it automagically interpolates 
> the fqdn, which helps. 
>
> On Mon, Mar 12, 2018 at 11:09:03PM -0700, 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 because my application reads "user.name" property from 
> system 
> >    properties.  
> >    When I manually run puppet agent, agent facts are correctly set. 
> >     id => WORKGROUP\ranger_win7 
> >          identity => {"privileged"=>"true", 
> "user"=>"WORKGROUP\\ranger_win7"} 
> >    But when I run agent using mcollective, above facts changes to 
> following. 
> >     id => WORKGROUP\RANGER_WIN7$ 
> >          identity => {"privileged"=>"true", 
> >    "user"=>"WORKGROUP\\RANGER_WIN7$"} 
> >    so when application reads user.name , its getting user name as 
> >    "RANGER_WIN7$" which is wrong. 
> >    Any one has clue why this is happening? 
> > 
> >    -- 
> > 
> >    --- 
> >    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 [1]mcollective-users+unsubscr...@googlegroups.com 
> <javascript:>. 
> >    For more options, visit [2]https://groups.google.com/d/optout. 
> > 
> > References 
> > 
> >    Visible links 
> >    1. mailto:mcollective-users+unsubscr...@googlegroups.com 
> <javascript:> 
> >    2. https://groups.google.com/d/optout 
>
>

-- 

--- 
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 mcollective-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to