Name: chef-xonacatl
Owner: Tilezen
Description: Chef recipes for deploying xonacatl.
Created: 2016-10-20 11:26:46.0
Updated: 2016-10-20 11:27:06.0
Pushed: 2017-03-23 20:54:51.0
Homepage: null
Size: 8
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This cookbook sets up Xonacatl, the “layers” server.
apt
golang
runit
user
Key | Type | Description | Default |
---|---|---|---|
['xonacatl']['package'] | String | Package to install | github.com/tilezen/xonacatl/xonacatl_server |
['xonacatl']['cfg_file'] | String | Config file name | xonacatl.conf |
['xonacatl']['cfg_path'] | String | Config file location | /etc/xonacatl |
['xonacatl']['pattern'] | String | URL pattern to use for matching requests. Anything which doesn't match will return a 404. The Gorilla Mux syntax for URL patterns is used, and you may use any captures you like. The pattern captures *must* include `layers` and `fmt`. | /{layers}/{z:[0-9]+}/{x:[0-9]+}/{y:[0-9]+}.{fmt} |
['xonacatl']['host'] | String | Upstream URL pattern to use for fetching tiles. Note that the default value is not valid, and should be replaced with whatever you want. The interpolation variables available are those used in the pattern. | http://upstream.tile.server/{layers}/{z:[0-9]+}/{x:[0-9]+}/{y:[0-9]+}.{fmt} |
['xonacatl']['listen'] | String | The `interface:port` to listen on. | :80 |
['xonacatl']['headers'] | Array of String | Optional. Any extra headers to add when making requests to the origin. | [] |
['xonacatl']['healthcheck'] | String | Optional. If present, then the path to respond to healthchecks on. | nil |
['xonacatl']['runit']['timeout'] | Integer | The time in seconds runit should wait to see if a service starts up successfully. | 60 |
['xonacatl']['user']['create_group'] | Boolean | Whether to create a group for the user. | true |
['xonacatl']['user']['enabled'] | Boolean | Whether to create a user for xonacatl. | true |
['xonacatl']['user']['home'] | String | The user's home directory location. | /home/xonacatl |
['xonacatl']['user']['user'] | String | The user's name. | xonacatl |
We welcome contributions to xonacatl's Chef recipe. To contribute, please use the standard Github workflow:
add_component_x
)Copyright Mapzen 2016. Available under the MIT license. See LICENSE for more information.