Skip to content

Simulates the opscode community API by serving cookbooks from a chef server or private chef organisation

License

Notifications You must be signed in to change notification settings

dyninc/cookbookapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cookbook-api

A simple sinatra app that can act as a site api endpoint for Berkshelf that pulls cookbooks from a Chef API

Author

Dyn Inc - http://dyn.com
Paul Thomas [email protected]

License

Apache 2.0
http://www.apache.org/licenses/LICENSE-2.0.txt

Configuration

Configuration options are all at the start of cookbook-api.rb

  • CHEF_SERVER_URL - The API URL to connect to where the script can download the cookbooks it serves
  • CHEF_CLIENT_NAME - The name of the client to connect to the API with
  • CHEF_CLIENT_KEY - The key for the client to use to connect
  • COOKBOOK_MAINTAINER - Certain fields in the cookbook metadata are 'filled' with data from here
  • API_BASE_URL - The base URL the sinatra app will be listening at (used to make links back to itself)

About

Simulates the opscode community API by serving cookbooks from a chef server or private chef organisation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages