Skip to content
Snippets Groups Projects
Select Git revision
  • master default
1 result

pillar.example

Blame
    • hk's avatar
      a932a8cc
      fix: update to modern defaults for Debian family · a932a8cc
      hk authored
      Don't add key_url as it is deprecated and not needed when
      pkgrepo_keyring is set. This has been supported since stretch so make it
      the default. Also use py3 repo by default for Debian family as it is now
      the only option.
      
      Additionally, Raspbian has been updated to use signed-by by default.
      a932a8cc
      History
      fix: update to modern defaults for Debian family
      hk authored
      Don't add key_url as it is deprecated and not needed when
      pkgrepo_keyring is set. This has been supported since stretch so make it
      the default. Also use py3 repo by default for Debian family as it is now
      the only option.
      
      Additionally, Raspbian has been updated to use signed-by by default.
    pillar.example 13.81 KiB
    # -*- coding: utf-8 -*-
    # vim: ft=yaml
    ---
    salt:
      # Set this to true to clean any non-salt-formula managed files out of
      # /etc/salt/{master,minion}.d ... You really don't want to do this on 2015.2
      # and up as it'll wipe out important files that Salt relies on.
      clean_config_d_dir: false
    
      # This state will remove "/etc/salt/minion" when you set this to true.
      minion_remove_config: true
    
      # This state will remove "/etc/salt/master" when you set this to true.
      master_remove_config: true
    
      # Set this to 'py3' to install the Python 3 packages.
      # The default varies between OS versions.
      py_ver: 'py3'
    
      # Set this to false to not have the formula install packages (in the case you
      # install Salt via git/pip/etc.)
      install_packages: true
    
      # Optional: set salt version (if install_packages is set to true)
      version: 2017.7.2-1.el7
    
      # Pin version provided under 'version' key by using apt-pinning
      # available only on Debian family OS-es
      pin_version: false
    
      # to overwrite map.jinja salt packages
      lookup:
        salt_master: 'salt-master'
        salt_minion: 'salt-minion'
        salt_syndic: 'salt-syndic'
        salt_cloud: 'salt-cloud'
        salt_ssh: 'salt-ssh'
        pyinotify: 'python-pyinotify'  # the package to be installed for pyinotify
    
      # Set which salt repository to use, default to https://repo.saltproject.io
      # For older releases use https://archive.repo.saltproject.io
      repo: 'https://archive.repo.saltproject.io'
    
      # Set which release of SaltStack to use, default to 'latest'
      # To get the available releases:
      # * http://repo.saltproject.io/yum/redhat/7/x86_64/
      # * http://repo.saltproject.io/apt/debian/8/amd64/
      release: '2018.3'
    
      # MacOS has no package management.
      # Instead, we use file.managed to download an appropriate .pkg file and
      # macpackage.installed to install it 'version', if set (see above), will be
      # used to check the .pkg version to determine if it should be installed
      #
      # NOTE: if 'version' is not set version comparison will not occur and the
      # .pkg WILL NOT be installed if a salt .pkg is already installed
      # NOTE: salt_minion_pkg_hash, if set, will be passed into file.managed's
      # source_hash, use URL or hash string
      # yamllint disable rule:line-length
      salt_minion_pkg_source: 'https://repo.saltproject.io/osx/salt-2017.7.4-py3-x86_64.pkg'
      salt_minion_pkg_hash: 'https://repo.saltproject.io/osx/salt-2017.7.4-py3-x86_64.pkg.md5'
      # yamllint enable rule:line-length
    
      # tofs:
      #   The files_switch key serves as a selector for alternative
      #   directories under the formula files directory. See TOFS pattern
      #   doc for more info.
      #   Note: Any value not evaluated by `config.get` will be used literally.
      #   This can be used to set custom paths, as many levels deep as required.
      #   files_switch: