Browsed by
Author: jgreat

Pop!_OS on Razer Blade Stealth (i7-8550U)

Pop!_OS on Razer Blade Stealth (i7-8550U)

Getting Pop!_OS running on the new Razer Blade Stealth is a little bit challenging, but through a lot of trial and spelunking through half through what seemed like half the forums on the internets I have a combination of options that work for me. Install Burn the Pop!_OS ISO to a USB drive and boot. I tripped over two things. Connect to your WIFI network before you start the install. When you get the warning about Force UEFI Instalation choose…

Read More Read More

PyTN2017

PyTN2017

Code and presentation for PyTennessee 2017 Presentation Slides Demo Code py-vote-demo-web vote-demo-worker vote-demo-results Example Rancher-Catalogs These are built using the drone-rancher-catalog Drone plugin. rancher-py-vote-demo-web rancher-vote-demo-worker rancher-vote-demo-results drone-rancher-catalog Drone CI Drone CI Project drone-cowpoke – Drone plugin to kick off a Rancher Stack upgrade via Cowpoke Service. Rancher Rancher Cowpoke cowpoke – Connector Service that scans Rancher Environments and upgrade stacks.

Nodevember

Nodevember

I’m presenting at nodevember. Demo Code vote-demo-web vote-demo-worker vote-demo-results Example Rancher-Catalogs These are built using the drone-rancher-catalog Drone plugin. rancher-vote-demo-web rancher-vote-demo-worker rancher-vote-demo-results drone-rancher-catalog Drone CI Drone CI Project drone-cowpoke – Drone plugin to kick off a Rancher Stack upgrade via Cowpoke Service. buildgoggles – NPM module to create more descriptive tags for our builds. Rancher Rancher Cowpoke cowpoke – Connector Service that scans Rancher Environments and upgrade stacks.

Rancher Application Pipeline

Rancher Application Pipeline

Rancher Labs has invited me to give a demo during their Web Meetup on Wednesday 07/27/2016. I’m presenting the Application Pipeline we have build at LeanKit. Github, Drone CI and Rancher. Disclaimer: A lot of this code is specific to how WE do things. It may or may not work out of the box for you. YMMV Presentation Video – My Part starts at about 1:23:00 Rancher-Application-Pipeline-Demo Demo Code vote-demo-web vote-demo-worker vote-demo-results Example Rancher-Catalogs These are built using the drone-rancher-catalog…

Read More Read More

Install Puppet 4 (Open-source Version)

Install Puppet 4 (Open-source Version)

Puppet 4 Master with PuppetDB, and SSL. Puppet 4 Management TL;DR Service: Start: service puppetserver start Stop: service puppetserver stop Agent Run: puppet agent -t Configs: /etc/puppetlabs/puppet Manifests: /etc/puppetlabs/code Logs: /var/log/puppetlabs SSL Certs: /etc/puppetlabs/puppet/ssl Ports: puppetserver: 8140 mcollective (not covered here): 61613 The System We assume you already have a server. These instructions are geared to running on Ubuntu 14.04LTS. If you are using another OS, YMMV. I’m running in Azure on a Standard_D2_v2 (2 core 7GB system). This is…

Read More Read More

Configure Storage on the Fly with Puppet 4

Configure Storage on the Fly with Puppet 4

Here’s a snippet of puppet I’m using to configure storage. Now whenever I add new disks to the instance, puppet will expand the storage for me. I apply this before I install the docker-engine package. package { ‘lvm2’: } $::disks.each |$d, $v| { if ($d =~ /^sd[c-z]+/) { # Create pv if not a pv exec { “/sbin/pvcreate /dev/${d}”: unless => “/sbin/pvs –noheadings /dev/${d}”, } # Create VG if not exists exec { “/sbin/vgcreate ${vg} /dev/${d}”: unless => “/sbin/vgs ${vg}”,…

Read More Read More

Convert an Existing WordPress Site to Docker

Convert an Existing WordPress Site to Docker

I had a “classic” install of WordPress, Apache/PHP, and Mysql installed on the root drive, that I wanted to convert to Docker containers. Why? Install Installing is easy. Installing and starting publicly available images is a single docker run command. Maintain With a little bit of planning updating your apps is a simple process. docker pull the latest image. docker rm -f the current container (remember to use volumes on data you need to save). docker run with the same…

Read More Read More

Encrypted Volume Setup

Encrypted Volume Setup

Based on blog post: http://thesimplecomputer.info/full-disk-encryption-with-ubuntu Notes. Remember when it cost hundreds of thousands of dollars for a few TB of storage? Well I just bought a pair of 4TB disk for about $250, WE LIVE IN THE FUTURE!!! Okay, I want to encrypt the data I’m storing. I currently have my home encrypted using ecryptfs (i.e. “Encrypt my Home” in Ubuntu Setup). This is fine for home, but I have services that I want to run while not logged in….

Read More Read More

Role based Puppet/MCollective in EC2 – Part 3 Installing MCollective with SSL

Role based Puppet/MCollective in EC2 – Part 3 Installing MCollective with SSL

This post will take you through adding MCollective orchestration software to the puppetmaster you just finished building. This howto includes configuring MCollective over SSL. This builds on the puppetmaster you built in Part 2. Ubuntu 14.04 running on EC2. On a side note, if you have the budget, I highly suggest supporting Puppet Labs and their efforts by subscribing to Puppet Enterprise. Of course if you did, you wouldn’t need these instructions 🙂 About MCollective. MCollective is orchestration software by…

Read More Read More

Role based Puppet/MCollective in EC2 – Part 2 Installing puppetmaster

Role based Puppet/MCollective in EC2 – Part 2 Installing puppetmaster

This how to will show you how to build a “production ready” puppetmaster in EC2 based on an Ubuntu 14.04 AMI. Prerequisites It will help a lot if you already have some EC2 experience. I’m not going to explain all the ins and outs of the EC2 pieces, just what you will need to set up. This howto also assumes that you will be working in a VPC (since that’s the current default). Set up Security Groups In a traditional…

Read More Read More