Is there a way to restart nodes using the GUI?

asked 2017-02-16 09:46:04 -0600

ITeddy gravatar image

Restarted ssh and sshd service using GUI but I need to restart the puppet master and I can't SSH in due the reason below:

Last night I closed out of linuxacademy with my servers because I kept getting this error when tying to install openssh

Error: Could not start Service[sshd]: Execution of '/sbin/service sshd start' returned 255: Starting sshd: /etc/ssh/sshd_config: line 2: Bad configuration option: $OpenBSD:

I woke this morning and realized the issue is with the config file, I probably need to add a # to $OpenBSD but I can't SSH in because it never restarted. I used the GUI to start the services but I need to restart master.

Can't SSH in so is there a way to restart the nodes on the GUI console?

edit retag flag offensive close merge delete


You can always add an exec to the nodes manifest to do what you want done (sed command to comment out the line, move the file so it uses the default values instead, etc). Or even better, template out the entire file and use puppet to place the correct file where you want it.

DarylW gravatar imageDarylW ( 2017-02-17 07:25:03 -0600 )edit