Skip to content

Processor MunkiImporter

github-actions edited this page Dec 6, 2022 · 8 revisions

MunkiImporter

NOTE: This page is automatically generated by GitHub Actions when a new release is tagged.
Updates to the information on this page should be submitted as pull requests to the AutoPkg repository. Processors are located here.

Description

Imports a pkg or dmg to the Munki repo.

Input Variables

  • MUNKI_REPO:
    • description: Path to a mounted Munki repo.
    • required: True
  • MUNKI_REPO_PLUGIN:
    • description: Munki repo plugin. Defaults to FileRepo. Munki must be installed and available at MUNKILIB_DIR if a plugin other than FileRepo is specified.
    • required: False
    • default: FileRepo
  • MUNKILIB_DIR:
    • description: Directory path that contains munkilib. Defaults to /usr/local/munki
    • required: False
    • default: /usr/local/munki
  • force_munki_repo_lib:
    • description: When True, munki code libraries will be utilized when the FileRepo plugin is used. Munki must be installed and available at MUNKILIB_DIR
    • required: False
    • default: False
  • pkg_path:
    • required: True
    • description: Path to a pkg or dmg to import.
  • munkiimport_pkgname:
    • required: False
    • description: Corresponds to --pkgname option to munkiimport.
  • munkiimport_appname:
    • required: False
    • description: Corresponds to --appname option to munkiimport.
  • repo_subdirectory:
    • required: False
    • description: The subdirectory under pkgs to which the item will be copied, and under pkgsinfo where the pkginfo will be created.
  • pkginfo:
    • required: False
    • description: Dictionary of pkginfo keys to copy to generated pkginfo.
  • extract_icon:
    • required: False
    • description: If not empty, attempt to extract and import an icon from the installer item. Munki must be installed and available at MUNKILIB_DIR.
  • force_munkiimport:
    • required: False
    • description: If not False or Null, causes the pkg/dmg to be imported even if there is a matching pkg already in the repo.
  • additional_makepkginfo_options:
    • required: False
    • description: Array of additional command-line options that will be inserted when calling 'makepkginfo'.
  • version_comparison_key:
    • required: False
    • description: String to set 'version_comparison_key' for any generated installs items.
  • uninstaller_pkg_path:
    • required: False
    • description: Path to an uninstaller pkg, supported for Adobe installer_type items.
  • MUNKI_PKGINFO_FILE_EXTENSION:
    • description: Extension for output pkginfo files. Default is 'plist'.
    • required: False
  • metadata_additions:
    • description: A dictionary that will be merged with the pkginfo _metadata. Unique keys will be added, but overlapping keys will replace existing values.
    • required: False

Output Variables

  • pkginfo_repo_path:
    • description: The repo path where the pkginfo was written. Empty if item not imported.
  • pkg_repo_path:
    • description: The repo path where the pkg was written. Empty if item not imported.
  • munki_info:
    • description: The pkginfo property list. Empty if item not imported.
  • munki_repo_changed:
    • description: True if item was imported.
  • munki_importer_summary_result:
    • description: Description of interesting results.

Table of Contents

Clone this wiki locally