Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#[puppethack] MODULES-4003 Fix ordering issue when using a package for installation #184

Merged
merged 3 commits into from Dec 13, 2016

Conversation

dhollinger
Copy link

Here is the initial change, working to add some more extensive testing to better validate the it.

David Hollinger III added 2 commits December 13, 2016 11:13
Added the rbenv .ruby-version file to gitignore
Add a 'require => Tomcat::Install[$name]' to the ensure_resource
function at line 78
@dhollinger
Copy link
Author

Fixed Title

@dhollinger dhollinger changed the title MODULES-4003 Fix ordering issue when using a package for installation "#[puppethack]" MODULES-4003 Fix ordering issue when using a package for installation Dec 13, 2016
@dhollinger dhollinger changed the title "#[puppethack]" MODULES-4003 Fix ordering issue when using a package for installation #[puppethack] MODULES-4003 Fix ordering issue when using a package for installation Dec 13, 2016
@hunner
Copy link
Contributor

hunner commented Dec 13, 2016

I think it would be better to add any dependencies needed to https://github.com/puppetlabs/puppetlabs-tomcat/blob/master/manifests/instance/dependencies.pp as the titles can change based on the various kinds of deployments.

@hunner
Copy link
Contributor

hunner commented Dec 13, 2016

Though I guess in this case tomcat::install[$name] is known to be defined because it is the next thing in the manifest. But this would break for the source case as the source is installed into catalina_home anyway... I really wish we could just drop the package install entirely because the distro packaging for tomcat is not consistent nor official.

Removing logic that checks to see if catalina_base and catalina_home are
the same. This is being done as the catalina_home directory is only
created if its path doesn't match catalina_base. In that case, it
creates an empty directory that is unused by the module anyway.
@hunner hunner merged commit 1d84d3a into puppetlabs:master Dec 13, 2016
tphoney pushed a commit to tphoney/puppetlabs-tomcat that referenced this pull request Dec 21, 2016
DavidS added a commit that referenced this pull request Dec 21, 2016
MODULES-4238 fix #184 create $catalina_home
ikogan pushed a commit to ohioit/puppetlabs-tomcat that referenced this pull request Jan 10, 2017
ikogan pushed a commit to ohioit/puppetlabs-tomcat that referenced this pull request Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants