Add Ubuntu support.
 - Add case statement to set packages and buildoptions based on OS and OS Release.
 - Change buildoptions class attribute to avoid conflict with buildoptions set in the case statement.
Merged upstream changes.
Bug fixes for ubuntu.
- Replace erlang-dev dependency with erlang for the ubuntu dependencies.
- Add xulrunner.conf file so couchdb compiles correctly.
Create definition to install a couchdb config file.
fix conflict
coding style
move couchdb::conf definition to conf.pp
coding style : fix alignment
add 'lock' after apt-get update
fix dynamic lookup for Puppet 2.8 compatibility
Check if curl is already defined
Puppet language style
Add namespace to top-scope variables
Add default case statement
ensure should be the first attribute
Set HOME environment variable (puppet unsets HOME)
Specify depenedencies for ubuntu versions different from 10.04.
Bump default install version to couchdb 1.2
Add support for configuring the default realm
Add support for configuring require_valid_user