Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
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 |
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
################### 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 |
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
.
We will assume the following: