Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

This role is used to manage the admin provided conditions for munki

License

Notifications You must be signed in to change notification settings

ANTS-Framework/macos_munki_condition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macos munki condition

Build Status

This role is used to manage the admin provided conditions for munki. For more details about munki conditional items see the munki wiki

When a condition changes, a file will be created at /private/tmp/.com.googlecode.munki.updatecheck.launchd to activate an update check using /Library/LaunchDaemons/com.googlecode.munki.managedsoftwareupdate-manualcheck.plist

Requirements

This role is useless withouth munki.

Additional preparation is required to take full advantage of the on_corp condition. For more information see the repo by Graham Gilbert

The macOS compatibility scripts have been taken from Hannes Juutilainen. For more information see his git repo.

Role Variables

# Install the templates to this directory
munki_condition__dir: "/usr/local/munki/conditions"
# List of templates to installed
munki_condition__templates:
 - "on_corp"
 - "ants"
# Url for on_corp conditon
# See https://github.com/grahamgilbert/munki_conditions/tree/master/on_corp
munki_condition__on_corp_target: "http:/oncorp.pretencdorp.com//oncorp.plist"
# Path to ants executable
munki_condition__ants_path:
 - "/usr/local/ants/ants.py"

Example Playbook

- hosts: clients
  vars:
    - munki_condition__on_corp_target: "myurl.io"
  roles:
  - role: macos_munki_conditions

License

GPLv3

Author Information

Part of the ANTS Framework

About

This role is used to manage the admin provided conditions for munki

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published