This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My complete configuration is now hosted at https://gitlab.mim-libre.fr/-/snippets/13 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import glob | |
import os | |
import re | |
import sys | |
from string import Template | |
from ruamel.yaml import YAML |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf | |
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: testmachine1.example.net | |
[DEBUG ] Configuration file path: /etc/salt/minion | |
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged. | |
[DEBUG ] Grains refresh requested. Refreshing grains. | |
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# This script is used to split the content of mapdata dumps extracted | |
# from the kitchen containers: | |
# | |
# 0. make sure to have <FORMULA>._mapdata in kitchen.yml suites | |
# 1. build all platforms: ./bin/kitchen converge | |
# 2. extract the YAML dumps: ./bin/kitchen exec -c 'base64 /tmp/salt_mapdata_dump.yaml' | tee /tmp/kitchen_mapdata_dumps.txt | |
# 3. split the mapdata dumps per platform: split-platforms-mapdata-dumps /tmp/kitchen_mapdata_dumps.txt |