I hereby claim:
- I am jfklingler on github.
- I am jfklingler (https://keybase.io/jfklingler) on keybase.
- I have a public key ASA_TKdghPt1L_d13q0h1wjjMnqf76KZWA5HoBsjayBMfwo
To claim this, I am signing this object:
""" | |
Copyright 2019 Jason Hu <awaregit at gmail.com> | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
I hereby claim:
To claim this, I am signing this object:
# Where to get input | |
input { | |
# syslog inputs | |
tcp { | |
port => 5000 | |
tags => ["system"] | |
type => "syslog" | |
} | |
udp { | |
port => 5000 |
#!/bin/bash | |
if_prefix=${VB_IF_PREFIX:-vboxnet} | |
if_name=$(ifconfig | grep $if_prefix | awk -F':' '{print $1}') | |
if [[ $if_name == "" ]]; then | |
echo "Couldn't find $if_prefix interface" >&2 | |
exit 1 | |
fi |
# This quick and dirty vagrant set up will let you build RPMs on systems | |
# that don't (or don't easily) support building RPMs. Just place this | |
# Vagrantfile in your project root, or pull the "rpm-build" VM definition | |
# into your existing Vagrantfile if you're already using vagrant. | |
# | |
# The first 'vagrant up rpm-build' will set up the VM and build the RPMs | |
# Subsequent 'vagrant provision rpm-build' will rebuild the RPMs | |
# You can 'vagrant ssh rpm-build', go to the appropriate target/ for | |
# your project under /vagrant, and inspect your RPM with | |
# 'rpm -qlp --scripts <rpm file name>'. |