Skip to content

Instantly share code, notes, and snippets.

@valadan
valadan / keytool.rb
Created January 31, 2017 03:02 — forked from lusis/keytool.rb
recipe for adding certs to keytool
keystore = "/etc/java-6-sun/security/cacerts"
keystore_pass = "foobar"
# you'll need foo.cert et. al. in files/default
certs = %w{foo bar bang}
certs.each do |cert|
cookbook_file "#{Chef::Config[:file_cache_path]}/#{cert}.cert" do
source "#{cert}.cert"
end
@valadan
valadan / README.md
Created May 5, 2017 11:11 — forked from dnozay/_Jenkins+Script+Console.md
jenkins groovy scripts collection.
@valadan
valadan / jhipster-log-filebeat-conf
Created January 18, 2019 01:56 — forked from shudarshon/jhipster-log-filebeat-conf
this filebeat configuration in used for jhipster app parsing in logstash server
################### Filebeat Configuration Example #########################
############################# Filebeat ######################################
filebeat:
# List of prospectors to fetch data.
prospectors:
# Each - is a prospector. Below are the prospector specific configurations
-
# Paths that should be crawled and fetched. Glob based paths.
# To fetch all ".log" files from a specific level of subdirectories
@valadan
valadan / readme.md
Created January 22, 2019 21:18 — forked from ubergesundheit/readme.md
systemd traefik.service

systemd Service Unit for Traefik

Adapted from traefik systemd Service Unit

The provided file should work with systemd version 219 or later. It might work with earlier versions. The easiest way to check your systemd version is to run systemctl --version.

Instructions

We will assume the following: