saltstack-formulas / ntp-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
23 stars 158 forks source link

Configurable init provider for ntp.ng (e.g. for systemd on Gentoo) #18

Closed cprima closed 9 years ago

cprima commented 9 years ago

Added to the pillar example for ntp.ng a configurable "provider" option for the service definition. A provider is the same as the grain "init":

# salt myminion grains.get init
myminion:
    systemd

The change allows a quick way to set systemd on Gentoo as the init system instead of OpenRC.