Find correct service name in FreeBSD rc.conf

If you have the following two lines in /etc/rc.conf:
openntpd_enable="NO"
ntpd_enable="NO"
And run the command:
puppet resource service ntpd enable=true
Both services will be enabled, and rc.conf will now have:
openntpd_enable="YES"
ntpd_enable="YES"
What should have been written is:
openntpd_enable="NO"
ntpd_enable="YES"
The regexp /(#{rcvar}(_enable)?)=\"?(YES|NO)\"?/ should be anchored.