You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a "cute" scenario where I call docker::run and pass parameters but I actually pass either ensure 'present' or 'absent' depending on a parameter.
On most machines this appears to work. Without a consistent reason, however, some machines will error if the container service isn't found rather than silently continue:
Error: /Stage[main]/<redacted>/Service[docker-mysqld-exporter]: Could not evaluate: Could not find init script or upstart conf file for 'docker-mysqld-exporter'
I would expect, as ensure is set to absent, that t would silently continue if said service wasn't found and simply move on. Instead I get an error.
EDIT: I've narrowed it down to being an issue specific to Ubuntu 14.04.5 LTS. Perhaps something unique with how that build handles services? Not certain
The text was updated successfully, but these errors were encountered:
I discovered this occurs with ANY module that leverages service removal in this manner on Ubuntu 14. As this isn't a docker specific issue ... Ill close this request.
I have a "cute" scenario where I call docker::run and pass parameters but I actually pass either ensure 'present' or 'absent' depending on a parameter.
the actual class:
On most machines this appears to work. Without a consistent reason, however, some machines will error if the container service isn't found rather than silently continue:
Error: /Stage[main]/<redacted>/Service[docker-mysqld-exporter]: Could not evaluate: Could not find init script or upstart conf file for 'docker-mysqld-exporter'
I would expect, as ensure is set to absent, that t would silently continue if said service wasn't found and simply move on. Instead I get an error.
EDIT: I've narrowed it down to being an issue specific to Ubuntu 14.04.5 LTS. Perhaps something unique with how that build handles services? Not certain
The text was updated successfully, but these errors were encountered: