Ask Your Question

What would cause puppet to ignore start command in a service definition

asked 2017-05-09 22:38:16 -0600

rful011 gravatar image

I have recently moved my puppet code from an old (2.7) system to a 4.x system. I have some classes that use service definitions which use my own script for controlling the service. When puppet runs it always tries to start the service using systemd which is the default provider for the platform (ubuntu).

This is an enterprise setup with the vast bulk of the puppet config done by another group and they have no idea why my stuff does not work as expected.

does anyone have any ides?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-10 16:33:37 -0600

rful011 gravatar image

One of the forum admins suggested adding "provider=>base" and this did the trick. I suspect that provider was being explicitly set somewhere in hiera configuration so puppet used that.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-05-09 22:38:16 -0600

Seen: 23 times

Last updated: May 10 '17