add support for master extra config
add missing end
add extra_config here too
typo
avoid deprecated syntax warning
Make case-matching work in Puppet 3.6 RC.