Skip to content

Instantly share code, notes, and snippets.

diff --git a/components/developer/jenkins/files/jenkins-standalone.xml b/components/developer/jenkins/files/jenkins-standalone.xml
index 1cda73652..1bcdb93b1 100644
--- a/components/developer/jenkins/files/jenkins-standalone.xml
+++ b/components/developer/jenkins/files/jenkins-standalone.xml
@@ -58,7 +58,7 @@
both for JAVA and the JAR itself... Or keep it simple? -->
<exec_method type='method'
name='start'
- exec='/usr/bin/java -DsessionTimeout=1440 -jar %{jenkins_war_file} --httpPort=%{httpPort}'
+ exec='/usr/bin/java -DsessionTimeout=1440 -jar %{httpd/jenkins_war_file} --httpPort=%{httpd/httpPort}'
@xen0l
xen0l / Vagrantfile
Last active September 21, 2017 12:27
Vagrantfile for Ansible workshop at Barcelona SDN meetup
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.require_version('>= 2.0')
unless Vagrant.has_plugin?('vagrant-vyos')
system('vagrant plugin install vagrant-vyos') || exit!
exit system('vagrant', *ARGV)
end
Vagrant.configure("2") do |config|
def send_log_to_datadog(data, dd_api_token, ingestion_endpoint=LOG_INGESTION_ENDPOINT):
try:
req = requests.request(
"POST",
"https://{url}/v1/input".format(url=ingestion_endpoint),
headers={"Content-Type": "application/json", "DD-API-KEY": dd_api_token},
json=data,
)
req.raise_for_status()
except requests.exceptions.HTTPError as err: