Skip to content

Instantly share code, notes, and snippets.

@lucky-sideburn
Created October 3, 2012 12:52

Revisions

  1. lucky-sideburn created this gist Oct 3, 2012.
    19 changes: 19 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    include_recipe "tomcat::base"
    include_recipe "ark"

    gb_user = node['geobatch']['user']

    user gb_user do
    action :create
    supports :manage_home => true
    end


    tomcat "geobatch" do
    user gb_user
    action :install
    jvm_opts node['geobatch']['java_options']
    http_port 8080
    manage_config_file false
    env node['geobatch']['env']
    end