Metadata schema specifications for debmirror client

Metadata schema specifications for debmirror client

Core Properties

Name Type Description
enabled boolean Enables debmirror processing.
mirrors object Set of mirror to sync For details, see: debmirror:mirror definition

debmirror:mirror definition

Name Type Description
dist array description_notset
target_dir string Destination folder for mirror
http_proxy string Specify proxy parameter.
ftp_proxy string Specify proxy parameter.
exclude_deb_section array Never download any files whose Debian Section (games, doc, oldlibs, science, etc.) match the regex.
rsync_proxy string Specify proxy parameter.
fetch_retry integer Number of retries, to fetch mirror. Works only with Salt 2017+.
force boolean Ignore lockfile
arch array description_notset
filter object

Sorted list of any kind filtered options. Possible marks include:

  • --ignore=regex

    Never delete any files whose filenames match the regex.

  • --exclude=regex
     

    Never download any files whose filenames match the regex.

  • --include=regex
     

    Don’t exclude any files whose filenames match the regex.

mirror_root string Specifies the directory on the remote host that is the root of the Ubuntu archive. The root directory has a dists subdirectory.
no_proxy array Specifies list of host-exludes for proxy.
mirror_host string description_notset
section array Specifies the section of Ubuntu to mirror.
enabled boolean Enables exact mirror processing.
extra_flags array description_notset
lock_target boolean Creates lockfile inside target dic, to prevent future repo updates
https_proxy string Specifies proxy parameter
log_file string description_notset
method string Specifies the method to download files. Currently, supported methods are ftp, http, https, and rsync. The file method is experimentally supported.