This file contains 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
find . -iname 'metadata.json' -exec bash -c 'jq ".requirements[]| select( .name == \"puppet\" )|.version_requirement" {} |grep -v -P -e "[7-9]\.0\.0\"$" ' \; -printf "%p\n\n" |
This file contains 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/env python3 | |
import os | |
import sys | |
import signal | |
import argparse | |
import json | |
import time | |
from logging import debug,info,warning,error | |
import logging |
This file contains 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
# -*- coding: utf-8 -*- | |
import json | |
import sys | |
import re | |
from configparser import (ConfigParser, MissingSectionHeaderError, | |
ParsingError, DEFAULTSECT) | |
def isIniLine(line): | |
#filter for lines with |