Skip to content

Instantly share code, notes, and snippets.

View ryancragun's full-sized avatar

Ryan Cragun ryancragun

View GitHub Profile
@ryancragun
ryancragun / gist:922133
Created April 15, 2011 17:55
remove password auth
#!/bin/bash -e
# Ryan C.
# Disable SSH password auth
if [ $RS_DISTRO = ubuntu ]; then
ssh="ssh"
elif [ $RS_DISTRO = centos ]; then
ssh="sshd"
fi
12:26:15: Starting Chef Solo Run
12:26:17: Replacing the run_list with ["right_scripts_cookbook::SYS_Timezone_set___11H1", "right_scripts_cookbook::SYS_Syslog_remote_logging_client___11H1", "right_scripts_cookbook::MAIL_Postfix_local_delivery___11H1", "right_scripts_cookbook::SYS_Monitoring_install___11H1"] from JSON
*ERROR> Chef converge failed
*ERROR> An error occurred during the execution of Chef. The error message was:
uninitialized constant Chef::Node::Opscode
The error occurred line 20 of [COOKBOOKS]//1/mysql/attributes/server.rb in method 'from_file' while executing:
18 #