Last active
August 29, 2015 14:11
-
-
Save trekr5/7b70735b6d109be2a145 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#have a user on my hosted chef server called ace67 and wish to change the password. | |
obj = rid.user.find("ace67") | |
# is a new instance of my Ridley object | |
# want to change the paassword of this user | |
obj.password = "catsanddogs" | |
rid.user.update(obj) | |
#this should update the password for my user but instead i get an error eg HTTPMethodNotAllowed <html><head><title>405 Method Not Allowed </title></head></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment