Skip to content

fix: remove unnecessary and problematic init file - #182

Open
ndf-dw wants to merge 1 commit into
camptocamp:masterfrom
ndf-dw:ManageTomcatInitScript
Open

fix: remove unnecessary and problematic init file#182
ndf-dw wants to merge 1 commit into
camptocamp:masterfrom
ndf-dw:ManageTomcatInitScript

Conversation

@ndf-dw

@ndf-dw ndf-dw commented Jan 31, 2022

Copy link
Copy Markdown
Contributor

When trying to install tomcat from distribution (buster in my case) package:

Notice: /Stage[main]/Java/Package[java]/ensure: created (corrective)
Notice: /Stage[main]/Tomcat::Install/Package[tomcat]/ensure: created (corrective)
Error: Could not disable tomcat9: 
Error: /Stage[main]/Tomcat::Install/Service[tomcat]/enable: change from 'true' to 'false' failed: Could not disable tomcat9:  (corrective)

It is trying to disable a service via a non-executable file which is empty....
When not creating this file:

Notice: /Stage[main]/Java/Package[java]/ensure: created (corrective)
Notice: /Stage[main]/Tomcat::Install/Package[tomcat]/ensure: created (corrective)
Notice: /Stage[main]/Tomcat::Install/Service[tomcat]/ensure: ensure changed 'running' to 'stopped' (corrective)

@twillouer

Copy link
Copy Markdown

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants