Not able to execute puppet cert list

63 views
Skip to first unread message

jiminfote...@gmail.com

unread,
Jul 12, 2016, 3:13:12 AM7/12/16
to Puppet Users
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 ?? My suoders file has already allowed jim to execute any command so if I am not to execute puppet command it should be some settings within puppet itself.. Also what is the best practice to execute commands with root user user or normal user on agents and server.

Please guide me

Thanks
Jim

Mike Hendon

unread,
Jul 13, 2016, 5:02:51 AM7/13/16
to Puppet Users
Hi Jim,

Try: sudo /usr/bin/puppet cert list --all

Regards,
Mike.
Reply all
Reply to author
Forward
0 new messages