Ask Your Question

Not able to execute puppet cert list

asked 2016-07-10 23:44:32 -0600

newcomer gravatar image

updated 2016-07-10 23:45:08 -0600

Good Folks,

Having an issue while executing puppet cert list a normal user it doesn't give me a list of outstanding pending certificates..

Please find below

[jim@puppet ~]$ puppet cert list
[jim@puppet ~]$ puppet cert list --all
[jim@puppet ~]$ sudo puppet cert list --all
[sudo] password for jim: 
sudo: puppet: command not found
[root@puppet ~]# puppet cert list
  "agent1.netgear" (SHA256) 15:8F:C1:34:5B:BD:0A:0D:F8:EA:79:84:EE:37:A0:39:BE:2D:E4:BD:E9:B4:14:5B:AE:77:B4:82:96:12:B7:7D
  "agent2.netgear" (SHA256) 62:04:E8:8F:29:2B:2A:F4:DE:8B:CB:76:49:24:AF:26:BE:C7:24:2E:06:7C:53:69:8F:49:77:79:34:4A:5E:2B
  "agent3.netgear" (SHA256) C5:1C:19:F2:79:BC:3E:F0:A6:CB:1B:C0:B9:33:2A:58:FD:15:07:92:1E:02:B9:6A:7A:64:A6:B7:29:B4:F9:8E
[root@puppet ~]# su - jim
[jim@puppet ~]$ puppet cert list
[jim@puppet ~]$

When I do execute commands should I be root or jim ? or Should I be jim but execute commands with sudo ?? Please guide me


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-11 18:40:45 -0600

cm01 gravatar image

I always run as root. The sgent needs root to do its thing.
Just be careful ;)
You should be able to go via sudo I think, but its possible your sudoers file needs amending.

edit flag offensive delete link more


I run as root as well :) I wonder if that is allowed in organisation though. I believe that should be puppet application because my sudoers file is update with the following enrty: jim ALL=(ALL) ALL

newcomer gravatar imagenewcomer ( 2016-07-11 20:08:03 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-07-10 23:44:32 -0600

Seen: 85 times

Last updated: Jul 11 '16