sawanoboly / stns-cookbook

chef cookbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STNS Cookbook

Build Status

stns install cookbook

Attributes

stns::server

Key Type Description Default
['stns']['server']['port'] int start up port 1104
['stns']['server']['user'] string Basic Auth User
['stns']['server']['password'] string Basic Auth Password
['stns']['server']['users'] ArrayHash users [{}]
['stns']['server']['groups'] ArrayHash groups [{}]
users or groups hash
default['stns']['server']['users'] = [
  { 'name' => 'example', 'id' => 1001 }
]

default['stns']['server']['groups'] = [
  { 'name' => 'example', 'id' => 2001 }
]

stns::client

Key Type Description Default
['stns']['client']['api_endpoint'] string stns end point http://localhost:1104/v2
['stns']['client']['user'] string Basic Auth User
['stns']['client']['password'] string Basic Auth Password
['stns']['client']['wrapper_path'] string stns query wrapper path /usr/local/bin/stns-query-wrapper
['stns']['client']['chain_ssh_wrapper'] string fail over ssh wrapper
['stns']['client']['ssl_verify'] bool ssl verify true
['stns']['client']['request_timeout'] int wrapper request timeout 3
['stns']['client']['http_proxy'] string http proxy url

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

  • pyama86

About

chef cookbook


Languages

Language:Ruby 91.6%Language:HTML 8.4%