Create the role via the REST API
235 236 237 238
# File 'lib/chef/role.rb', line 235 def create chef_server_rest.post("roles", self) self end