Added a few lines to make puppet-ls work with Puppet Enterprise (Pe).