> first of all thanks a ton for the great help.

No problem, I'm glad Deepak chimed in about 'facts upload' its a much
better way to do it.

> It seems there is some issue with the  "puppet facts upload" command"
>
> I already have the certname & server configuration directives declared in
> the puppet.conf but for some reason the same are not being recognized by the
> puppet facts command
>
> When I am trying to run
> # puppet facts upload
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: NO)

This is a mysql error ... btw. Let see your puppet.conf on the agent
your testing on, it looks almost as if you have same old storeconfig
setups remaining somewhere. Check in particular for db* style settings
...

> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: NO)
> Error: getaddrinfo: Name or service not known
> Error: Try 'puppet help facts upload' for usage
>
> But when I try to run
> # puppet facts upload --server="puppet_master_server"
> --certname="agent_certname"
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: NO)
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: NO)
> Notice: Uploaded facts for 'agent_certname'
>
> Also I tried to use the postrun_command within the puppet.conf on the client
> node but I end up getting the same error.

Yeah, I'll need to see the puppet.conf on the agent you are trying to
run the facts upload specifically. Remember 'puppet facts upload'
doesn't use your [agent] section (its not an agent is it?), so you
might need to specify the server in your [main].

ken.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAE4bNTnCZJR_z7hWJeZbAhmbKREp6rz%2BUJ73c3%2B0fZZYQ3ZYng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to