Skip to content

Instantly share code, notes, and snippets.

@trekr5
Last active August 29, 2015 14:11
Show Gist options
  • Save trekr5/7b70735b6d109be2a145 to your computer and use it in GitHub Desktop.
Save trekr5/7b70735b6d109be2a145 to your computer and use it in GitHub Desktop.
#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