Skip to content

Instantly share code, notes, and snippets.

View jcookfastrobot's full-sized avatar

John Cook jcookfastrobot

  • FastRobot, LLC
  • San Francisco, Ca
View GitHub Profile
@jcookfastrobot
jcookfastrobot / default.rb
Created September 19, 2018 06:15
Module 12
#
# Cookbook:: apt_repos
# Recipe:: default
#
# Copyright:: 2017, The Authors, All Rights Reserved.
execute 'apt_refresh' do
command 'apt update'
action :nothing
end
#
# HA HA HA THIS IS MY NTP.CONF!
#
# Auto-generated by Chef.
# Local modifications will be overwritten.
#
<%# Windows OHAI does not support determining if a host is a guest %>
<% unless node['platform'] == 'windows' -%>
<%-%>tinker <%= node['ntp']['tinker'].flatten.join(' ') %>
<%-%>statsdir <%= node['ntp']['statsdir'] %>
### Keybase proof
I hereby claim:
* I am jcookfastrobot on github.
* I am jpcook (https://keybase.io/jpcook) on keybase.
* I have a public key ASCiyqeAqO6V3nYcD8YaLSyGq6NKwkWqeWpA-mb1byOoJAo
To claim this, I am signing this object:
Instructor: John Cook (john@fastrobot.com)
Link to Chef Essentials Slides: https://github.com/chef-training/chef-essentials
Machines for Chef Essentials class (http://bit.ly/1UFaq6A)
Button, Russell ec2-54-88-190-72.compute-1.amazonaws.com 54.88.190.72
ec2-54-172-39-188.compute-1.amazonaws.com 54.172.39.188
ec2-54-86-246-31.compute-1.amazonaws.com 54.86.246.31
Haber, Moshe ec2-52-23-197-138.compute-1.amazonaws.com 52.23.197.138