Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-4003

The tomcat module has an ordering issue when using a package for installation

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • tomcat
    • Hide

      There should not be any errors when installing via package and setting a custom catalina_home.

      Show
      There should not be any errors when installing via package and setting a custom catalina_home .
    • Modules
    • Modules - Engineering Backlog

    Description

      With puppetlabs-tomcat 1.6.0 and puppet 4.7.0 we noticed that, when installing via package, the tomcat user and group was not created prior to the file at https://github.com/puppetlabs/puppetlabs-tomcat/blob/master/manifests/instance.pp#L78 attempting to be created.

      In theory, the following will fix the issue (untested):

      ensure_resource('file',$_catalina_home, {
          ensure => directory,
          owner  => $_user,
          group  => $_group,
          after  => Tomcat::Install[$name]
       })
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              peiriannydd Trevor Vaughan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support