Permalink
Commits on Apr 3, 2017
  1. library: Merge 'settings' hashes from attributes and data bag

    legal90 committed Oct 13, 2015
    If collision occurs, then values from data bag will have a higher priority than attribute values.
Commits on Dec 5, 2015
Commits on Oct 22, 2015
  1. Use FileEdit#search_file_replace method instead of "file" cookbook

    legal90 committed Oct 22, 2015
    "file" cookbook is obsolete and it is not published on supermarket, which makes it pretty hard to wrap the cookbook.
    We can just use the built-in method instead.
Commits on Oct 20, 2015
  1. Remove ['jira']['arch'] attribute mentioning

    legal90 committed Oct 19, 2015
    This attribute has been removed previously, so its default value is nil and it should be removed completely
  2. Move integration test suites to the shared example "jira behind the a…

    legal90 committed Oct 20, 2015
    …pache proxy"
    
    There is also "--location" flag added to http-related curl command. It is required for curl to follow HTTP 302 redirects
  3. Redirect HTTP to HTTPS

    legal90 committed Oct 20, 2015
    Documentation page:
    https://confluence.atlassian.com/jira/integrating-jira-with-apache-using-ssl-203395380.html#IntegratingJIRAwithApacheusingSSL-2.3RedirectHTTPtoHTTPS
    
    Also, since we add a global rewrite rule, then we don't need to configure proxy for HTTP-based virtual host.
Commits on Oct 14, 2015
  1. Force to use bundled JRE for "installer" type

    legal90 committed Oct 14, 2015
    JRE is bundled to the Jira installer and Atlassian recommends to use it with Jira.
    So, we don't need to manage Java separately if "installer" type is selected.
    
    While defining JAVA_HOME, we should check the ['jira']['installer_type'] value
    instead of ['java']['java_home'].
    It helps to avoid collisions if node has already some ['java'] attributes assigned.
  2. Move init script management to the single recipe

    legal90 committed Oct 14, 2015
    Supported both of "systemd" and "sysv"("init")
  3. .kitchen.yml: Use "bento" boxes

    legal90 committed Oct 14, 2015
    kitchen-vagrant supports the new form of box names (appeared in Vagrant 1.6), so there is no need to specify urls explicitly.
    "opscode", "chef" and "bento" are absolutely the same boxes, they have been just renamed.
  4. Remove jira_test fixture

    legal90 committed Oct 14, 2015
    Since we use TestKitchen with ServerSpec, then we can just specify the run_list and attributes in .kitchen.yml
  5. Disable https on the Tomcat side

    legal90 committed Oct 13, 2015
    Most of production instances of JIRA use some web server as a reverse proxy in the front of Tomcat.
    In this cookbook we also configure Apache web server for these needs.
    
    So, since https is actually terminating on the Apache side, there are no needs to manage keystore
    and configure TLS/SSL on the Tomcat side.
  6. Remove ['jira']['init_type'] attribute

    legal90 committed Oct 12, 2015
    We don't need this attribute because the only 'sysv' value is supported
  7. Remove ['jira']['container_server']['name'] attribute

    legal90 committed Oct 12, 2015
    We don't need this attribute because the only 'tomcat' value is supported
  8. Deprecate "war" installation method

    legal90 committed Oct 12, 2015
    "war" installation type is no longer supported by Atlassian starting since JIRA 7
    So, it has been removed from this cookbook and all appropriate logic has been dropped.
Commits on Oct 12, 2015
  1. Get rid of derived attributes

    legal90 committed Oct 8, 2015
    Includes PRs from the similar cookbook `confluense`:
    * Set version dependent attributes in the separated recipe [sous-chefs/confluence#30]
    * Stop storing state in attributes [sous-chefs/confluence#62]