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
mine_functions: | |
external_ip: | |
- mine_function: grains.get | |
- key: external_ip | |
ssh.host_keys: | |
- keydir: /etc/ssh | |
- private: False | |
ssh_backup_key: | |
- mine_function: ssh.user_keys | |
- user: root |
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
# -*- coding: utf-8 -*- | |
# vim: ft=yaml | |
--- | |
borg: | |
backup_key: '/root/.ssh/backup_key' | |
borgmatic: | |
location: | |
source_directories: | |
- /etc | |
- /home |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
#!/bin/bash | |
cat << END | |
[agent] | |
omit_hostname = true | |
[[outputs.file]] | |
files = ["stdout"] | |
data_format = "influx" |
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
[global_tags] | |
[agent] | |
interval = "10s" | |
round_interval = true | |
metric_batch_size = 1000 | |
metric_buffer_limit = 10000 | |
collection_jitter = "0s" | |
flush_interval = "10s" | |
flush_jitter = "0s" | |
precision = "" |
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/env python | |
""" | |
Module to ease work with nightscout profiles. | |
By default lists all profiles found, and supports following sub-commands: | |
* profiles - list defined profiles | |
* display - display named (or default) profile | |
(in nightscout or OpenAPS format) | |
* get - save to disk profile in OpenAPS format | |
""" |
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
include: | |
- mongodb | |
setup nightscout: | |
pkg: | |
- installed | |
- names: | |
- git | |
- node | |
- supervisor |
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
prepare mongodb: | |
pkg: | |
- installed | |
- pkgs: | |
- mongodb | |
- py-mongo | |
file: | |
- managed | |
- name: /etc/mongodb.conf | |
- source: salt://mongodb/mongodb.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
# -*- coding: utf-8 -*- | |
''' | |
Display virtual and physical network devices separately | |
''' | |
from __future__ import absolute_import | |
# Import python libs | |
import os | |
import logging | |
from os.path import join |
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
--- | |
driver: | |
name: vagrant | |
vagrantfile_erb: Vagrantfile.erb | |
#provision: true | |
#http_proxy: http://10.0.2.2:8123 | |
#https_proxy: https://10.0.2.2:8123 | |
provisioner: | |
name: cfengine |
NewerOlder