Skip to content

Instantly share code, notes, and snippets.

View np5's full-sized avatar

Éric Falconnier np5

  • Zentral Pro Services GmbH
  • Hamburg, Germany
  • 02:16 (UTC +02:00)
View GitHub Profile
@np5
np5 / 20250227_output.csv
Last active February 27, 2025 21:17
Apple computer / model identifiers model id models ID IDENTIFIERS APPLE mac MacPro script parse download output
Model Type Identifier
MacBook Air LAPTOP Mac14,15
MacBook Air LAPTOP Mac14,2
MacBook Air LAPTOP Mac15,12
MacBook Air LAPTOP Mac15,13
MacBook Air LAPTOP MacBookAir10,1
MacBook Air LAPTOP MacBookAir2,1
MacBook Air LAPTOP MacBookAir3,1
MacBook Air LAPTOP MacBookAir3,2
MacBook Air LAPTOP MacBookAir4,1
@np5
np5 / build_tf_script_checks.py
Last active October 26, 2023 12:07
Tool to load a mSCP guidance file and output the Terraform Munki script check resources definitions
import argparse
import os
from yaml import load, SafeLoader
TEMPLATE = """resource zentral_munki_script_check "mcs-{section}-{rule}" {{
name = "{name}"
description = trimspace(<<EODESC
{description}
EODESC