Logo
My Journal
Category

DevOps

Category

Datadog Dashboard [Ex/Im]port Script

I had a need recently to copy a developed dashboard between orgs within Datadog and ran across this Github Gist post that I've wrapped into a shell utility: #!/bin/bash api_key='REPLACEME' app_key='REPLACEME' dash_id=$2 if [[ $1 == "import" ]]; then curl -X POST -H "Content-type: applic...

Continue reading ...

Jenkins Job DSL

I've wanted to post for some time a couple of thoughts and templates for good DSL job scripts for Jenkins(Hudson) but haven't been able to pull enough details together to make it cohesive. Nothing's changed in that regard but I'm fed up with looking at the draft... Assuming you have all the pre-...

Continue reading ...

Oracle Java Chef Recipe

There are a number of Java recipes out there that are quite good but I really had a need for a lightweight one with minimal fuss and for Ubuntu only. I would wrap this up as a solo cookbook but there really isn't a point since it's a grand total of 45 lines and requires 1 attribute defined. Check i...

Continue reading ...

Backup for One day old files

This should be verified as I may have inadvertently introduced a bug while I was 'scrubbing' this. I'm recycling some of my tricks/scripts/configs in the off chance that they are of use to someone besides me. For this one I needed a quick shell script to create a tar.gz backup file of anything modi...

Continue reading ...

Vagrant AWS Template

This took me a bit to gather all the details together so I wanted to document this and maybe provide some usefulness to others. There are a number of plugins, features, configurations tricks that I've found extremely useful over the last several years for working with Vagrant and Chef. Below is a s...

Continue reading ...