MagerValp/bash-facts

A framework for "admin-provided conditionals" for Munki.

★ 12Forks 3ShellGitHub ↗Compare

README

Introduction

This is a collection of "admin-provided conditions" for Munki as described here.

munki-facts used to be a set of Python modules with a common runner to generate facts. With the removal of Python in munki 7 they have instead been ported to bash to provide a smooth upgrade path for organizations that previously deployed the Python facts.

Usage

The shell scripts and the lib directory should be installed in /usr/local/munki/conditions. The scripts must be marked as executable.

Munki will run the scripts and insert any facts they generate into the dictionary of items that are used in manifest conditional_items predicates and in installable_condition items in pkginfo files.

Contributors

gregneagleMagerValperiknghomebysixSoxIn4n8feltonpatgmacsheagcraig

Issues