pagure Logo
  • Log In

heroes / salt

Clone
Source Code
GIT
  • Source
  • Stats
 Overview  Files  Commits  Branches  Forks  Releases

Files

Branch: update-access-crtmgr
adjust-ci-pipeline anikitin/mirrorcache anikitin/t_allow_jinja_in_secrets anikitin/web_mirrors__proxy_mirrorcache bootloader cboltz-borgbackup cboltz-relnotes-15.3 cboltz-scar-sshd doc-o-o gateway hellcp/matrix-synapse-workers-syntax hellcp/paste-sync ifconfig infra libvirt lrupp-production-patch-08358 lrupp/add_identification lrupp/remove_login_interface lrupp/retire lrupp/serve_www mailman micro monitoring-restart paste-socket postfix-aliases production repositories set-secret-detection-config-1 sysctl update-access-crtmgr
  1.   update-access-crtmgr
  2.   bin
  3.   test_extension.sh
Blob Blame History Raw
#!/bin/bash

NON_SLS_PILLAR=$(find pillar -type f | egrep -v "(macros.jinja|(FORMULAS|valid_custom_grains)\.yaml|\.sls)$")
NON_SLS_SALT=$(find salt -type f | egrep -v "/(files|templates)/|(pillar\.example|\.sls)$")
NON_SLS=( ${NON_SLS_PILLAR} ${NON_SLS_SALT} )

if [[ -n $NON_SLS ]]; then
    echo "The following files are missing the .sls extension:"
    for file in ${NON_SLS[@]}; do
        echo ${file}
    done
    exit 1
fi
Powered by Pagure 5.13.3
Documentation • About this Instance • SSH Hostkey/Fingerprint
© Red Hat, Inc. and others.