cookbook 'chef-davical', '= 0.4.0'
chef-davical (2) Versions 0.4.0 Follow0
Installs/Configures davical
cookbook 'chef-davical', '= 0.4.0', :supermarket
knife supermarket install chef-davical
knife supermarket download chef-davical
chef-davical Cookbook
Installs and configures davical on to a server
Requirements
Cookbooks
-
firewall
- to open up the server to TCP connections through port 80 -
apt
- update the apt-cache
Operating systems
Ubuntu 10.04 and 12.04
Attributes
chef-davical::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>[:davical][:dir]</tt></td>
<td>String</td>
<td>Path to the davical directory</td>
<td><tt>/usr/share/davical</tt></td>
</tr>
<tr>
<td><tt>[:awl][:dir]</tt></td>
<td>String</td>
<td>Path to the awl directory</td>
<td><tt>/usr/share/awl</tt></td>
</tr>
<tr>
<td><tt>[:davical][:server_name]</tt></td>
<td>String</td>
<td>Server name that the nginx configuration responds to</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>[:davical][:system_name]</tt></td>
<td>String</td>
<td>The name of the application that delegates to Davical</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>[:davical][:system_email]</tt></td>
<td>String</td>
<td>The email account from which iCal reminders are sent</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>[:davical][:time_zone]</tt></td>
<td>String</td>
<td>Calendar time zone</td>
<td><tt>Europe/London</tt></td>
</tr>
</table>
Usage
chef-davical::default
Just include chef-davical
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[chef-davical]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_feature_f
) - Write tests for your change
- Write your change
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Hemal N Varambhia
Dependent cookbooks
apt >= 0.0.0 |
firewall >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
chef-davical CHANGELOG
This file is used to list changes made in each version of the chef-davical cookbook.
0.1.0
- [your_name] - Initial release of chef-davical
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
0.4.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:44
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:61
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:62
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:63
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:64
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/web_server.rb:29
FC002: Avoid string interpolation where not required: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/libraries/nginx_server_name_matcher.rb:20
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/database.rb:5
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/database.rb:12
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/database.rb:31
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:24
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/web_server.rb:9
0.4.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:44
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:61
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:62
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:63
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:64
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/web_server.rb:29
FC002: Avoid string interpolation where not required: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/libraries/nginx_server_name_matcher.rb:20
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/database.rb:5
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/database.rb:12
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/database.rb:31
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/default.rb:24
FC019: Access node attributes in a consistent manner: /tmp/cook/8608c4476fb179fb617e06e5/chef-davical/recipes/web_server.rb:9