Ask Your Question
0

sudo: unable to execute /usr/bin/puppet: No such file or directory

asked 2016-03-10 03:37:11 -0500

HI, I am not able to run any of the puppet command due to this error.

Trying to run: sudo puppet master --verbose --no-daemonize

Getting this error:sudo: unable to execute /usr/bin/puppet: No such file or directory

Using RedHat.

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-03-10 12:41:52 -0500

lavaman gravatar image

The newest versions don't set the symlink like the older versions. Try /opt/puppet/bin/puppet.

edit flag offensive delete link more
0

answered 2016-03-11 03:13:54 -0500

rjc gravatar image

If that's the case, then also add /opt/puppet/bin to your $PATH.

edit flag offensive delete link more

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

Stats

Asked: 2016-03-10 03:36:14 -0500

Seen: 480 times

Last updated: Mar 11 '16