/usr/lib/ruby/vendor_ruby/chef_zero/endpoints/controls_endpoint.rb is in chef-zero 4.5.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | module ChefZero
module Endpoints
# /organizations/ORG/controls
class ControlsEndpoint < RestBase
# ours is not to wonder why; ours is but to make the pedant specs pass.
def get(request)
error(410, "Server says 410, chef-zero says 410.")
end
def post(request)
error(410, "Server says 410, chef-zero says 410.")
end
end
end
end
|