Skip to content

Commit

Permalink
Merge pull request #4804 from ccaviness/fix/3.x/plist_line_continuation
Browse files Browse the repository at this point in the history
(PUP-6073) Handle launchd plists with line continuations
  • Loading branch information
Michael Smith committed Mar 22, 2016
2 parents eca6be0 + 26a9881 commit abf3649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/service/launchd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit abf3649

Please sign in to comment.