diff --git a/lib/puppet/provider/service/launchd.rb b/lib/puppet/provider/service/launchd.rb index a7eb3a37369..a82f9f43f20 100644 --- a/lib/puppet/provider/service/launchd.rb +++ b/lib/puppet/provider/service/launchd.rb @@ -206,7 +206,7 @@ def has_macosx_plist_overrides? def self.read_plist(path) begin return Plist::parse_xml(path) - rescue ArgumentError => detail + rescue ArgumentError, NoMethodError => detail Puppet.debug("Error reading #{path}: #{detail}. Retrying with plutil.") end