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/python | |
import csv | |
import json | |
import hashlib | |
import random | |
import string | |
from optparse import OptionParser | |
def random_string(length): | |
char_set = string.ascii_letters + string.digits |
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
packages: | |
rpm: | |
mackerel: "https://mackerel.io/file/agent/rpm/mackerel-agent-latest.noarch.rpm" | |
files: | |
/etc/mackerel-agent/mackerel-agent.conf: | |
mode: "00644" | |
owner: root | |
group: root | |
encoding: plain |