Skip to content

bila-olavo/tomcat-deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tomcat Deploy Cookbook

HowTo

  • Install GIT client

  • Install chef solo

     curl -L https://www.opscode.com/chef/install.sh | bash
    
  • Download and configure CHEF-REPO structure

     wget http://github.com/opscode/chef-repo/tarball/master
     tar -zxvf master
     mv opscode-chef-repo-ef75514/ /opt/chef-repo
     mkdir /opt/chef-repo/.chef
    
  • Configre cookbook path (/opt/chef-repo/.chef/knife.rb)

     - Add line
             cookbook_path [ '/opt/chef-repo/cookbooks' ]
    
  • Configure solo.rb (/opt/chef-repo/solo.rb)

     - Add lines:
             file_cache_path "/opt/chef-solo"
             cookbook_path "/opt/chef-repo/cookbooks"
    
  • Download REPO:

     git clone https://github.com/mantellatto/tomcat-deploy.git -l /opt/chef-repo/cookbooks/tomcat-deploy
    
  • Create your json (/opt/chef-repo/tomcat-deploy.json)

     - Add line:
             {   "run_list": [ "recipe[tomcat-deploy]" ] }
    
  • Execute CHEF-SOLO

     chef-solo -c /opt/chef-repo/solo.rb -j /opt/chef-repo/tomcat-deploy.json
    
  • Test App

     http://IP:8080
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages