Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Boxen: PuppetCamp ATL
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Will Farrington
March 19, 2013
Technology
320
0
Share
Boxen: PuppetCamp ATL
A Boxen talk focused at folks who might attend a PuppetCamp.
Will Farrington
March 19, 2013
More Decks by Will Farrington
See All by Will Farrington
test-queue makes your tests run fast
wfarr
0
480
Incident Response Done Right: From First Page to Postmortem
wfarr
0
590
Boxen: PuppetConf 2013
wfarr
6
910
Puppet at GitHub: PuppetConf 2013
wfarr
21
2.2k
Puppet at GitHub (PuppetCamp Raleigh 2013)
wfarr
1
490
Boxen: PuppetCamp SF 2013
wfarr
5
1.1k
Boxen: MWRC
wfarr
5
280
BOXEN
wfarr
43
5.6k
Boxen-puppetconf
wfarr
13
2.2k
Other Decks in Technology
See All in Technology
ServiceによるKubernetes通信制御ーClusterIPを例に
miku01
1
170
AWS運用におけるAI Agent活用術 / JAWS-UG 神戸 #11 LT大会
genda
1
250
SLI/SLO、「完全に理解した」から「チョットデキル」へ
maruloop
5
480
バイブコーディング、仕様駆動、その先へ - 「不確実性に対する検査‧適応のサイクル」を設計する
littlehands
1
190
鹿野さんに聞く!CSSの最新トレンド Ver.2026
tonkotsuboy_com
6
3.1k
「QA=テスト」「シフトレフト=スクラムイベントの参加者の一員」の呪縛を解く。アジャイルな開発を止めないために、10Xで挑んだ「右側のしわ寄せ」解消記 #scrumniigata
nihonbuson
PRO
5
1.4k
【関西製造業祭り2026春】現場を変える技術はここまで来た〜世界最大の製造業見本市から持って帰ってきたもの〜
tanakaseiya
0
160
Purview 勉強会報告 Microsoft Purview 入門しようとしてみた
masakichixo
1
410
LookerとADKで作る社内AIエージェント
chanyou0311
0
210
20260515 ログイン機能だけではないアカウント管理を全体で考える~サービス設計者向け~
oidfj
0
490
会社説明資料|株式会社ギークプラス ソフトウェア事業部
geekplus_tech
0
230
Swift Sequence の便利 API 再発見
treastrain
1
280
Featured
See All Featured
It's Worth the Effort
3n
188
29k
The Curse of the Amulet
leimatthew05
1
12k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
140
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
360
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.8k
HDC tutorial
michielstock
2
660
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
Google's AI Overviews - The New Search
badams
0
1k
Transcript
boxen
wfarr
ops
friction
what is boxen?
STORY TIME
@jbarnette + @wfarr
None
None
developing software is harder than it used to be
our toolchains have gotten more robust
our toolchains have gotten more complicated
want to work on $anything?
better install a ruby version manager, like 8 versions of
ruby, a handful of gems to try and make the behavior remotely sane, and then pray it doesn't break
None
s/ruby/literally everything but bash/g
None
let's make it better
None
None
THINGS BOXEN IS
a framework
stdlib
wat
None
None
THINGS BOXEN IS NOT
nope
nope
newp
sadly, no
why should i use boxen?
FRICTION SUCKS
friction is anything that gets in the way of doing
stuff
friction is the greatest source of frustration in every organization
configuring development environments is a week-long marathon in friction
"all right, new work laptop! i wonder where that blog
post i used last time to set up ruby, python, go, and git is. hopefully it still works and by the end of the week i can start shipping."
"all right, new work laptop! i wonder where that blog
post i used last time to set up ruby, python, go, and git is. hopefully it still works and by the end of the week i can start shipping." lame
None
None
None
None
getting any part of the stack running locally should never
block someone from shipping
USS COOL STUFF
None
INCONSISTENCY SUCKS
when was the last time you knew every human was
running the same services in dev and prod?
None
"hey so my postgresql isn't working. is yours working? it
is? huh. i have no idea what's wrong."
"hey so my postgresql isn't working. is yours working? it
is? huh. i have no idea what's wrong." lame
manual audits are tedious
manual audits are error-prone
ask software instead of humans
lock every core component to the same version as in
prod
UPDATING SUCKS
"jeeeeeez the mac app store has been bugging me for
like forever! i have a billion updates... meh"
"jeeeeeez the mac app store has been bugging me for
like forever! i have a billion updates... meh" lame
maybe you use CM in dev already, but when was
the last time you updated and ran it?
SECURITY SUCKS
security is a war of attrition
bug people enough about security and they stop caring about
it
"ugh, another security thing? whatever, i have way more important
things to do"
"ugh, another security thing? whatever, i have way more important
things to do" lame
let code handle security, then inform people so they know
why the code's making changes
no surprises
BOXEN ENABLES YOU TO MAKE THESE THINGS BETTER FOR YOUR
ORG
None
what do i get?
RUNNER
boxen is run via some ruby
it collects info for facter
it checks for prerequisites and conflicts before each run
it detects certain changes post-run
it has hooks too
PUPPET
"the core"
homebrew, git, hub, gcc, rbenv, ruby 1.8.7, ruby 1.9.3, ruby
2.0.0, nvm, nodejs 0.4.x, nodejs 0.6.x, nodejs 0.8.x, nginx, .dev dns, FDE, and puppetlabs-stdlib
rbenv_gem, repository, osx_chsh, osx_login_item, boxen::project, ruby::local, mysql::database, etc.
package: homebrew, compressed_app
repository: git
service: ghlaunchd
"the library"
130+ modules on GitHub
GitHub uses ~81 of those
travis-ci
CARDBOARD
gem that simplifies creating new puppet modules, optimized for the
boxen-recommended stack
librarian-puppet, rspec-puppet, puppet-lint, etc.
PUPPET-TEMPLATE
example module using cardboard
OUR-BOXEN
template boxen project
BOXEN-WEB
small rails app to allow distributing your boxen easily, with
auth
how do i get it?
Automate Everything
boxen/boxen-web
None
how do i use it?
CLI
$ boxen # run it
$ boxen --projects # list projects Boxen knows about
$ boxen <project> # run it but include <project> in
the catalog automatically
PROJECT MANIFESTS
i want to hack on my project
# modules/projects/manifests/team.pp class projects::team { boxen::project { 'team': dotenv =>
true, mysql => true, nginx => true, ruby => '1.9.3', source => 'github/team', } }
$ boxen team warning: Setting up 'team'. This can be
made permanent by having 'include projects::team' in your personal manifest.
cloned repo nginx vhost ruby version mysql databases .env file
$ cd ~/src/team $ script/server $ open http://team.dev/
PERSONAL MANIFESTS
i want to install $x but only for me
# modules/people/manifests/wfarr.pp class people::wfarr { include minecraft }
# modules/people/manifests/wfarr.pp class people::wfarr { include zsh }
# modules/people/manifests/wfarr.pp class people::wfarr { case $::hostname { 'bender': {
include projects::all } 'scruffy': { include projects::team } default: {} } }
# modules/people/manifests/wfarr.pp class people::wfarr { git::config::global { 'alias.st': value =>
'status'; 'alias.ci': value => 'commit'; 'alias.di': value => 'diff'; 'alias.lp': value => 'log -p'; 'color.ui': value => 'true'; 'user.name': value => 'Will Farrington'; 'user.email': value => '
[email protected]
'; } }
# modules/people/manifests/wfarr.pp class people::wfarr { include osx::example_things }
ISSUES
$ boxen Error: ZOMG at /opt/boxen/repo/ modules/people/manifests/wfarr.pp:8 on node scruffy.gateway.github.lan
Sorry! Creating an issue on github/ totally-a-madeup-repo-name.
CODEZ
CODEZ who failed
CODEZ how long ago
CODEZ machine
CODEZ os version
CODEZ shell
CODEZ ref
CODEZ compare view
CODEZ git status
CODEZ full command
CODEZ full log
i fix the error and run `boxen`
CODEZ
via issues api
# config/boxen.rb ENV['BOXEN_REPO_NAME'] = \ 'github/boxen' ENV['BOXEN_ISSUES_ENABLED'] = 'yes'
UPDATES
$ boxen Boxen is up-to-date.
$ boxen Boxen has a dirty tree, won't auto- update!
$ boxen Boxen has unpushed commits on master, won't auto-update!
$ boxen Boxen on a non-master branch 'new- project', won't
auto-update!
i'm sold.
None
what if i have problems?
file issues
irc.freenode.net
be chuck yeager
None
"So, we're uh in the air. We made it. That's
uh good news, obviously."
"Flight attendants, if you could just hang on to uh...
whatever..."
detail text
wfarr come work with me on things like boxen
CODEZ
thanks
speakerdeck.com/wfarr/ boxen-puppetcamp-atl