Module Expr Str Import alias Import alias Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Str FunctionDef arguments args defaults body Assign NameStore Call SubscriptLoad NameLoad Index Str Assign NameStore Call SubscriptLoad NameLoad Index Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str BinOpAdd SubscriptLoad NameLoad Index Str Str Str BinOpAdd SubscriptLoad NameLoad Index Str Str ListLoad Dict Str Dict Str Str Str ListLoad Str Str Str Str Str Str Str Str ListLoad Str Str Str Str Str Str Str Str Str Str Return NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return Call NameLoad decorator_list
N/A N/A 

.. _module_mc_tomcat:

mc_tomcat / tomcat functions
============================================
 N/A logging N/A mc_states.api N/A __name tomcat N/A log N/A N/A logging getLogger __name__ settings N/A N/A N/A N/A N/A 
    tomcat settings

    jdk_ver
        jdk version to use (will install packages)
    java_opts
        java opts to give to tomcat start
    java_home
        JAVA_HOME of the jdk to use
    users
        mapping of users, roles & password::

            {
                'admin': {
                  'password': 'admin',
                  'roles': ['admin', 'manager'],
                }
            }

    shutdown_port
        default shutdown port (8005)
    tomcat_user
        tomcat system user
    tomcat_group
        tomcat system group
    address
        default address to listen on
    port
        default http port (8080)
    ssl_port
        default ssl port (8443)
    ajp_port
        default ajp port (8009)
    defaultHost
        default hostname (localhost)
    welcome_files
        list of files to serve as index (index.{htm,html,jsp})
    loglevel_console
        log level console (FINE)
    loglevel_1catalina_org
        log level for defaults vhosts (FINE)
    loglevel_2localhost_org
        log level for defaults vhosts (FINE)
    loglevel_Catalina_localhost_level
        loglevel for catalina section (INFO)
     _settings N/A N/A N/A N/A N/A locs N/A N/A __salt__ N/A mc_locations.settings N/A data N/A N/A __salt__ N/A mc_utils.defaults makina-states.services.java.tomcat7 N/A jdk_ver java_home java_opts conf_dir roles users shutdown_port address port ssl_port ajp_port defaultHost welcome_files ver loglevel_console loglevel_1catalina_org loglevel_2localhost_org loglevel_Catalina_localhost_level tomcat_user tomcat_group 6 N/A N/A locs N/A usr_dir /lib/jvm/java-{jdk_ver}-oracle -Djava.awt.headless=true -Xms256M -Xmx2048M -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC N/A N/A locs N/A conf_dir /tomcat7 N/A N/A admin N/A password roles admin N/A admin manager 8005 127.0.0.1 8080 8443 8009 localhost N/A index.html index.jsp index.htm 7 FINE FINE FINE INFO tomcat7 tomcat7 N/A data N/A N/A N/A N/A mc_states api lazy_subregistry_get __salt__ __name N/A N/A _settings N/A