lib/puppet/provider/mobileconfig.rb
# Parse a plist and return a Ruby object
Parse a plist and return a Ruby object
Parse a plist and return a Ruby object
def parse_propertylist(file)
      plist = CFPropertyList::List.new(:file => file)
      raise Puppet::Error, "Cannot parse: #{file}" if plist.nil?
      CFPropertyList.native_types(plist.value)
    end
def parse_propertylist ( file ) plist = CFPropertyList :: List . new ( :file => file ) raise Puppet :: Error , "Cannot parse: #{file}" if plist . nil? CFPropertyList . native_types ( plist . value ) end
Parse a plist and return a Ruby object
Parse a plist and return a Ruby object
file