This cookbook install and configures ftp-cloudfs.
- Debian 6.0+
- Ubuntu 12.04+
python-pip
- ftp-cloudfs needs python-pip to be installed over pip.python-dev
- need for compile python-keystoneclient
python
- ftp-cloudfs needs this cookbook for install python-pip.memcached
- need if you want use memcached for caching auth.
default['ftp-cloudfs']['package']
- may be use for install ftp-cloudfs from git or other source. Defaultftp-cloudfs
default['ftp-cloudfs']['version']
- may be use for pin specified version of ftp-cloudfs. Defaultlatest
defaul['ftp-cloudfs']['keystone-auth']
- determines whether or not use Auth v2.0 (keystone auth). Defaultfalse
default['ftp-cloudfs']['keystoneclient']['version']
- may be use for pin specified version of python-keystoneclient. Defaultlatest
default['ftp-cloudfs']['log-dir']
- path to log file. Default/var/log/ftp=cloudfs
default['ftp-cloudfs']['pid-dir']
- path to pid file. Default/var/run/ftp-cloudfs
default['ftp-cloudfs']['memcached']
- install local memcached or use external. Defaultnone
. May belocal or external or false
default['ftp-cloudfs']['port']
- udp port for ftp-cloudfs. Default21
default['ftp-cloudfs']['bind_address']
- bind address. Default127.0.0.1
default['ftp-cloudfs']['auth_url']
- auth url. Required. Defaultnil
default['ftp-cloudfs']['memcache']
- array of memcache servers. Default['127.0.0.1:11211']
default['ftp-cloudfs']['max_cons_per_ip']
- maximum number of client connections per IP. Default unlim.default['ftp-cloudfs']['split_large_files']
- large file support. Default unsupport. Type stringdefault['ftp-cloudfs']['hide_part_dir']
- hide .part directory from large files. Defaultno
default['ftp-cloudfs']['verbose']
- be verbose on logging. Defaultno
default['ftp-cloudfs']['syslog']
- enable logging to the system logger. Defaultno
default['ftp-cloudfs']['logfile']
- log file name. Defaultftpcloudfs.log
default['ftp-cloudfs']['pidfile']
- pid file name. Defaultftpcloudfs.pid
default['ftp-cloudfs']['uid']
- uid. Defaultnil
default['ftp-cloudfs']['gid']
- gid. Defaultnil
default['ftp-cloudfs']['keystone_region_name']
- region name to be used with Auth 2.0 (optional). Defaultnone
default['ftp-cloudfs']['keystone_tenant_separator']
- tenant separator to be used with Auth 2.0 (eg. TENANT.USERNAME). Default.
default['ftp-cloudfs']['keystone_service_type']
- service type to be used with Auth 2.0. Defaultobject-store
default['ftp-cloudfs']['keystone_endpoint_type']
- endpoint type to be used with Auth 2.0. DefaultpublicURL
default['ftp-cloudfs']['rackspace_service_net']
- Use Rackspace's ServiceNet internal network. Defaultfalse
{
"name":"my_node",
"ftp-cloudfs": {
"auth_url": "http://your.auth.url"
},
"run_list": [
"recipe[ftp-cloudfs]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
This cookbook is set up to test using
- knife test
- foodcritic
- chefspec
- test-kitchen
- rubocop
To launch all the tests, run:
- bundle install
- bundle exec strainer test
Author:: Dmitry R. dmitry.r@cyberflow.net
Copyright:: 2014, Dmitry R.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.