Skip to content

stant/bundle-apache-java-tomcat-example

Repository files navigation

bundle-apache-java-tomcat-example-cookbook

The purpose here is to give an example of how to use the stant/bundle-apache-java-tomcat cookbook, which aims to be a simple way to set up a list of web sites.

Supported Platforms

Chef supported linuxes.

Attributes

Key Type Description Default
attributes for project stant/bundle-apache-java-tomcat   see: bundle-apache-java-tomcat The attributes below are from: stant/bundle-apache-java-tomcat
['bajt']['apache']['create_demo_index_htmls'] Boolean If true, this will create simple ['bajt']['apache']['docroot']/index.html pages for each web site created. false
['bajt']['apache']['docroot'] String main root path to apache doc files. /var/www
attributes for project svanzoest/apache2-cookbook   see: apache
attributes for project agileorbit-cookbooks/java   see: java
attributes for project opscode-cookbooks/tomcat   see: tomcat

Usage

bundle-apache-java-tomcat-example::default

Include bundle-apache-java-tomcat-example in your node's run_list:

{
  "run_list": [
    "recipe[bundle-apache-java-tomcat-example::default]"
  ]
}

add to your hosts files

33.33.33.13 apache1.com

fill out apache web site parameters in attributes/webapps.rb

override['bajt']['apache_webapps'] =
						{
						  "apache1" => { "name" => "apache1",
									  "server_name" => "apache1.com",
									  "server_name_aliases" => ["my.apache1.com"],
									  "template" => 'webapp.conf.erb',
									  "src_url" => 'http://10.0.2.2:81/website2.zip'
									}
					   }

kitchen converge will:

create 1 apache web site at the host name above.

License and Authors

Author:: Stan Towianski ([email protected])

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages