autopkg / hjuutilainen-recipes

Recipes for AutoPkg
MIT License
49 stars 74 forks source link

Update TeamViewerHost Recipes #281

Closed paul-cossey closed 2 months ago

paul-cossey commented 2 months ago

Hi, @hjuutilainen

This PR updates the TeamViewerHost Recipes. The vendor is no longer supplying an Installer application.

Output from a successful -vv run

TeamViewer % autopkg run -vv TeamViewerHost.munki.recipe
Looking for io.github.hjuutilainen.pkg.TeamViewerHost...
Did not find io.github.hjuutilainen.pkg.TeamViewerHost in recipe map
Rebuilding recipe map with current working directories...
Looking for io.github.hjuutilainen.pkg.TeamViewerHost...
Found io.github.hjuutilainen.pkg.TeamViewerHost in recipe map
Looking for io.github.hjuutilainen.download.TeamViewerHost...
Found io.github.hjuutilainen.download.TeamViewerHost in recipe map
**load_recipe time: 0.008664583001518622
Processing TeamViewerHost.munki.recipe...
WARNING: TeamViewerHost.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'url': 'https://download.teamviewer.com/download/TeamViewerHost.dmg'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg
{'Output': {'pathname': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: TeamViewer '
                                        'GmbH (H7UGFBUGV6)',
                                        'Developer ID Certification Authority',
                                        'Apple Root CA'],
           'input_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg/Install '
                         'TeamViewerHost.pkg'}}
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Install TeamViewerHost.pkg":
CodeSignatureVerifier:    Status: signed by a developer certificate issued by Apple for distribution
CodeSignatureVerifier:    Signed with a trusted timestamp on: 2021-04-13 12:10:09 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: TeamViewer GmbH (H7UGFBUGV6)
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            4A 8D BB E3 46 A9 BA 57 EE F5 E4 FA 24 85 B3 49 D4 53 C6 E3 7F 3A 
CodeSignatureVerifier:            18 09 C6 60 55 90 F5 7F 29 E5
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        Expires: 2035-02-09 21:40:36 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C 
CodeSignatureVerifier:            68 C5 BE 91 B5 A1 10 01 F0 24
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Authority name chain is valid
{'Output': {}}
FlatPkgUnpacker
{'Input': {'destination_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack',
           'flat_pkg_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg/Install '
                            'TeamViewerHost.pkg'}}
FlatPkgUnpacker: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg
FlatPkgUnpacker: Unpacked /private/tmp/dmg.80i6fV/Install TeamViewerHost.pkg to /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack
{'Output': {}}
PkgRootCreator
{'Input': {'pkgdirs': {},
           'pkgroot': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications'}}
PkgRootCreator: Created /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications
{'Output': {}}
PBXZPayloadUnpacker
{'Input': {'destination_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications',
           'pkg_payload_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack/TeamViewerHostApp.pkg/Payload'}}
PBXZPayloadUnpacker: Unpacked /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack/TeamViewerHostApp.pkg/Payload to /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications
{'Output': {}}
PlistReader
{'Input': {'info_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications/TeamViewerHost.app',
           'plist_keys': {'CFBundleShortVersionString': 'version',
                          'LSMinimumSystemVersion': 'min_os_version'}}}
PlistReader: Reading: /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications/TeamViewerHost.app/Contents/Info.plist
PlistReader: Assigning value of '9.0.259204' to output variable 'version'
PlistReader: Assigning value of '10.6' to output variable 'min_os_version'
{'Output': {'plist_reader_output_variables': {'min_os_version': '10.6',
                                              'version': '9.0.259204'}}}
PkgCopier
{'Input': {'pkg_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/TeamViewerHost-9.0.259204.pkg',
           'source_pkg': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg/Install '
                         'TeamViewerHost.app/Contents/Resources/Install '
                         'TeamViewerHost.pkg'}}
PkgCopier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg
list index out of range
Failed.
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/receipts/TeamViewerHost.munki-receipt-20240408-111713.plist

The following recipes failed:
    TeamViewerHost.munki.recipe
        Error in io.github.hjuutilainen.munki.TeamViewerHost: Processor: PkgCopier: Error: list index out of range

Nothing downloaded, packaged or imported.
paul.cossey@Q14MXL62T3MBP TeamViewer % autopkg run -vv TeamViewerHost.munki.recipe
Looking for io.github.hjuutilainen.pkg.TeamViewerHost...
Did not find io.github.hjuutilainen.pkg.TeamViewerHost in recipe map
Rebuilding recipe map with current working directories...
Looking for io.github.hjuutilainen.pkg.TeamViewerHost...
Found io.github.hjuutilainen.pkg.TeamViewerHost in recipe map
Looking for io.github.hjuutilainen.download.TeamViewerHost...
Found io.github.hjuutilainen.download.TeamViewerHost in recipe map
**load_recipe time: 0.008082667016424239
Processing TeamViewerHost.munki.recipe...
WARNING: TeamViewerHost.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'url': 'https://download.teamviewer.com/download/TeamViewerHost.dmg'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg
{'Output': {'pathname': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: TeamViewer '
                                        'GmbH (H7UGFBUGV6)',
                                        'Developer ID Certification Authority',
                                        'Apple Root CA'],
           'input_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg/Install '
                         'TeamViewerHost.pkg'}}
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Install TeamViewerHost.pkg":
CodeSignatureVerifier:    Status: signed by a developer certificate issued by Apple for distribution
CodeSignatureVerifier:    Signed with a trusted timestamp on: 2021-04-13 12:10:09 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: TeamViewer GmbH (H7UGFBUGV6)
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            4A 8D BB E3 46 A9 BA 57 EE F5 E4 FA 24 85 B3 49 D4 53 C6 E3 7F 3A 
CodeSignatureVerifier:            18 09 C6 60 55 90 F5 7F 29 E5
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        Expires: 2035-02-09 21:40:36 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C 
CodeSignatureVerifier:            68 C5 BE 91 B5 A1 10 01 F0 24
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Authority name chain is valid
{'Output': {}}
FlatPkgUnpacker
{'Input': {'destination_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack',
           'flat_pkg_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg/Install '
                            'TeamViewerHost.pkg'}}
FlatPkgUnpacker: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg
FlatPkgUnpacker: Unpacked /private/tmp/dmg.xdb5rX/Install TeamViewerHost.pkg to /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack
{'Output': {}}
PkgRootCreator
{'Input': {'pkgdirs': {},
           'pkgroot': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications'}}
PkgRootCreator: Created /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications
{'Output': {}}
PBXZPayloadUnpacker
{'Input': {'destination_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications',
           'pkg_payload_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack/TeamViewerHostApp.pkg/Payload'}}
PBXZPayloadUnpacker: Unpacked /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack/TeamViewerHostApp.pkg/Payload to /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications
{'Output': {}}
PlistReader
{'Input': {'info_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications/TeamViewerHost.app',
           'plist_keys': {'CFBundleShortVersionString': 'version',
                          'LSMinimumSystemVersion': 'min_os_version'}}}
PlistReader: Reading: /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root/Applications/TeamViewerHost.app/Contents/Info.plist
PlistReader: Assigning value of '9.0.259204' to output variable 'version'
PlistReader: Assigning value of '10.6' to output variable 'min_os_version'
{'Output': {'plist_reader_output_variables': {'min_os_version': '10.6',
                                              'version': '9.0.259204'}}}
PkgCopier
{'Input': {'pkg_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/TeamViewerHost-9.0.259204.pkg',
           'source_pkg': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg/Install '
                         'TeamViewerHost.pkg'}}
PkgCopier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/downloads/TeamViewerHost.dmg
PkgCopier: Copied /private/tmp/dmg.wOSTmf/Install TeamViewerHost.pkg to /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/TeamViewerHost-9.0.259204.pkg
{'Output': {'pkg_copier_summary_result': {'data': {'pkg_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/TeamViewerHost-9.0.259204.pkg'},
                                          'summary_text': 'The following '
                                                          'packages were '
                                                          'copied:'},
            'pkg_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/TeamViewerHost-9.0.259204.pkg'}}
MunkiInstallsItemsCreator
{'Input': {'derive_minimum_os_version': 'YES',
           'faux_root': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload/root',
           'installs_item_paths': ['/Applications/TeamViewerHost.app']}}
MunkiInstallsItemsCreator: Created installs item for /Applications/TeamViewerHost.app
MunkiInstallsItemsCreator: Derived minimum os version as: 10.6
{'Output': {'additional_pkginfo': {'installs': [{'CFBundleIdentifier': 'com.teamviewer.TeamViewerHost',
                                                 'CFBundleName': 'TeamViewerHost',
                                                 'CFBundleShortVersionString': '9.0.259204',
                                                 'CFBundleVersion': '1',
                                                 'minosversion': '10.6',
                                                 'path': '/Applications/TeamViewerHost.app',
                                                 'type': 'application',
                                                 'version_comparison_key': 'CFBundleShortVersionString'}],
                                   'minimum_os_version': '10.6'}}}
MunkiPkginfoMerger
{'Input': {'additional_pkginfo': {'installs': [{'CFBundleIdentifier': 'com.teamviewer.TeamViewerHost',
                                                'CFBundleName': 'TeamViewerHost',
                                                'CFBundleShortVersionString': '9.0.259204',
                                                'CFBundleVersion': '1',
                                                'minosversion': '10.6',
                                                'path': '/Applications/TeamViewerHost.app',
                                                'type': 'application',
                                                'version_comparison_key': 'CFBundleShortVersionString'}],
                                  'minimum_os_version': '10.6'},
           'pkginfo': {'catalogs': ['testing'],
                       'category': 'Internet',
                       'description': 'All-In-One Solution for Remote Access '
                                      'and Support over the Internet.',
                       'developer': 'TeamViewer GmbH',
                       'display_name': 'TeamViewer Host',
                       'name': 'TeamViewerHost',
                       'unattended_install': True,
                       'unattended_uninstall': True}}}
MunkiPkginfoMerger: Merged {'installs': [{'CFBundleIdentifier': 'com.teamviewer.TeamViewerHost', 'CFBundleName': 'TeamViewerHost', 'CFBundleShortVersionString': '9.0.259204', 'CFBundleVersion': '1', 'minosversion': '10.6', 'path': '/Applications/TeamViewerHost.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}], 'minimum_os_version': '10.6'} into pkginfo
{'Output': {'pkginfo': {'catalogs': ['testing'],
                        'category': 'Internet',
                        'description': 'All-In-One Solution for Remote Access '
                                       'and Support over the Internet.',
                        'developer': 'TeamViewer GmbH',
                        'display_name': 'TeamViewer Host',
                        'installs': [{'CFBundleIdentifier': 'com.teamviewer.TeamViewerHost',
                                      'CFBundleName': 'TeamViewerHost',
                                      'CFBundleShortVersionString': '9.0.259204',
                                      'CFBundleVersion': '1',
                                      'minosversion': '10.6',
                                      'path': '/Applications/TeamViewerHost.app',
                                      'type': 'application',
                                      'version_comparison_key': 'CFBundleShortVersionString'}],
                        'minimum_os_version': '10.6',
                        'name': 'TeamViewerHost',
                        'unattended_install': True,
                        'unattended_uninstall': True}}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/TeamViewerHost-9.0.259204.pkg',
           'pkginfo': {'catalogs': ['testing'],
                       'category': 'Internet',
                       'description': 'All-In-One Solution for Remote Access '
                                      'and Support over the Internet.',
                       'developer': 'TeamViewer GmbH',
                       'display_name': 'TeamViewer Host',
                       'installs': [{'CFBundleIdentifier': 'com.teamviewer.TeamViewerHost',
                                     'CFBundleName': 'TeamViewerHost',
                                     'CFBundleShortVersionString': '9.0.259204',
                                     'CFBundleVersion': '1',
                                     'minosversion': '10.6',
                                     'path': '/Applications/TeamViewerHost.app',
                                     'type': 'application',
                                     'version_comparison_key': 'CFBundleShortVersionString'}],
                       'minimum_os_version': '10.6',
                       'name': 'TeamViewerHost',
                       'unattended_install': True,
                       'unattended_uninstall': True},
           'repo_subdirectory': 'apps/teamviewer'}}
MunkiImporter: No value supplied for MUNKI_REPO_PLUGIN, setting default value of: FileRepo
MunkiImporter: No value supplied for MUNKILIB_DIR, setting default value of: /usr/local/munki
MunkiImporter: No value supplied for force_munki_repo_lib, setting default value of: False
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/teamviewer/TeamViewerHost-9.0.259204.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/teamviewer/TeamViewerHost-9.0.259204.pkg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'TeamViewerHost',
                                                       'pkg_repo_path': 'apps/teamviewer/TeamViewerHost-9.0.259204.pkg',
                                                       'pkginfo_path': 'apps/teamviewer/TeamViewerHost-9.0.259204.plist',
                                                       'version': '9.0.259204'},
                                              'report_fields': ['name',
                                                                'version',
                                                                'catalogs',
                                                                'pkginfo_path',
                                                                'pkg_repo_path',
                                                                'icon_repo_path'],
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'imported into '
                                                              'Munki:'},
            'munki_info': {'_metadata': {'created_by': 'paul.cossey',
                                         'creation_date': datetime.datetime(2024, 4, 8, 10, 23, 49),
                                         'munki_version': '6.3.2.4588',
                                         'os_version': '14.4.1'},
                           'autoremove': False,
                           'catalogs': ['testing'],
                           'category': 'Internet',
                           'description': 'All-In-One Solution for Remote '
                                          'Access and Support over the '
                                          'Internet.',
                           'developer': 'TeamViewer GmbH',
                           'display_name': 'TeamViewer Host',
                           'installed_size': 44446,
                           'installer_item_hash': 'd99f7b898cc6f7df41ae9da878cff5e0e41805c7291ae69c16853d03ac068862',
                           'installer_item_location': 'apps/teamviewer/TeamViewerHost-9.0.259204.pkg',
                           'installer_item_size': 15918,
                           'installs': [{'CFBundleIdentifier': 'com.teamviewer.TeamViewerHost',
                                         'CFBundleName': 'TeamViewerHost',
                                         'CFBundleShortVersionString': '9.0.259204',
                                         'CFBundleVersion': '1',
                                         'minosversion': '10.6',
                                         'path': '/Applications/TeamViewerHost.app',
                                         'type': 'application',
                                         'version_comparison_key': 'CFBundleShortVersionString'}],
                           'minimum_os_version': '10.6',
                           'name': 'TeamViewerHost',
                           'receipts': [{'installed_size': 44412,
                                         'packageid': 'com.teamviewer.teamviewerhost9',
                                         'version': '9.0.259204'},
                                        {'installed_size': 5,
                                         'packageid': 'com.teamviewer.teamviewerhost9Agent',
                                         'version': '9.0.259204'},
                                        {'installed_size': 1,
                                         'packageid': 'com.teamviewer.teamviewerhost9Restarter',
                                         'version': '9.0.259204'},
                                        {'installed_size': 28,
                                         'packageid': 'com.teamviewer.teamviewer9AuthPlugin',
                                         'version': '9.0.259204'}],
                           'unattended_install': True,
                           'unattended_uninstall': True,
                           'uninstall_method': 'removepackages',
                           'uninstallable': True,
                           'version': '9.0.259204'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/teamviewer/TeamViewerHost-9.0.259204.pkg',
            'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/apps/teamviewer/TeamViewerHost-9.0.259204.plist'}}
PathDeleter
{'Input': {'path_list': ['/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack',
                         '/Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload']}}
PathDeleter: Deleted /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/unpack
PathDeleter: Deleted /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/payload
{'Output': {}}
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/receipts/TeamViewerHost.munki-receipt-20240408-112349.plist

The following packages were copied:
    Pkg Path                                                                                                            
    --------                                                                                                            
    /Users/paul.cossey/Library/AutoPkg/Cache/io.github.hjuutilainen.munki.TeamViewerHost/TeamViewerHost-9.0.259204.pkg  

The following new items were imported into Munki:
    Name            Version     Catalogs  Pkginfo Path                                     Pkg Repo Path                                  Icon Repo Path  
    ----            -------     --------  ------------                                     -------------                                  --------------  
    TeamViewerHost  9.0.259204  testing   apps/teamviewer/TeamViewerHost-9.0.259204.plist  apps/teamviewer/TeamViewerHost-9.0.259204.pkg
TonyPaco commented 2 months ago

@paul-cossey The version (v9.0.259204) you are getting from https://download.teamviewer.com/download/TeamViewerHost.dmg with your run is outdated. (See attached.) TeamViewerHost_9

Current version per this link is 15.52.3: https://www.teamviewer.com/en-us/download/macos/

When/If TeamViewer posts the correct version to the usual download link, the recipe should function normally.

paul-cossey commented 2 months ago

Huh! So it is!

I wonder why they published such an old version?

Anyways, current recipe is now working as expected for me - downloading 15.52.3. I'll close this off.

Thanks, @TonyPaco