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
構成管理ツールを渡り歩いてItamaeに辿り着いた話/Itamae Meetup #1
Search
sugamasao
December 10, 2015
Technology
1
1.3k
構成管理ツールを渡り歩いてItamaeに辿り着いた話/Itamae Meetup #1
http://itamae.connpass.com/event/22857/
に登壇した際の資料です
sugamasao
December 10, 2015
Tweet
Share
More Decks by sugamasao
See All by sugamasao
開発生産性、上から見るか 下から見るか / development productivity and cognitive science
sugamasao
12
8.1k
開発の安定性・スループットを定量的に見る #とは / Quantitative view of development
sugamasao
1
840
SaaS.tech #1 / SmartHR
sugamasao
2
5.1k
Ruby history of my life
sugamasao
2
11k
Perfect Ruby on Rails v2
sugamasao
0
20k
Ruby on Rails 6.0 New Feature
sugamasao
1
12k
Rubyを説明するのは難しい(仮) / ruby is difficult
sugamasao
5
9.3k
書籍執筆ツールRe:VIEWのご紹介 / yapc8oji
sugamasao
0
380
スペースの位置とか議論したくない
sugamasao
0
630
Other Decks in Technology
See All in Technology
エンジニア採用ノウハウ0から継続的な採用に至るまで / Try recruiting engineers
ohageeq
0
130
Bidirectional Quadratic Voting Leveraging Issue-Based Matching
kentaro
2
170
FastConnect の冗長性
ocise
0
7.1k
Dojo 20240830 COBOL to Java on Z
ichikawayasuhisa
0
240
Discover Your Tailored Platform Strategy with Real-World Practice
hhiroshell
1
130
[RSJ24] Object Retrieval in Large-Scale Indoor Environments Using Dense Text with a Multi-Modal Large Language Model
keio_smilab
PRO
0
220
Datadog を使ったプロダクトとクラウドの セキュリティモニタリング
mrtc0
0
450
いまからでも遅くない! コンテナでWebアプリケーションを 動かしてみよう(1)Gitハンズオン
nomu
0
280
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
140
AWS版GitHub?Amazon CodeCatalystの全体像をまとめてみた
oshanqq
1
3.2k
「名前解決」から振り返るAmazon VPC
yuki_ink
0
320
AWSを始めた頃に陥りがちなポイントをまとめてみた
oshanqq
1
1.7k
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
230
130k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
24
2k
Build your cross-platform service in a week with App Engine
jlugia
228
18k
Designing on Purpose - Digital PM Summit 2013
jponch
113
6.8k
Web Components: a chance to create the future
zenorocha
308
41k
Building Flexible Design Systems
yeseniaperezcruz
324
37k
Side Projects
sachag
451
42k
Atom: Resistance is Futile
akmur
261
25k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
Making Projects Easy
brettharned
113
5.8k
The Cost Of JavaScript in 2023
addyosmani
39
5.1k
Transcript
ߏཧπʔϧΛΓ า͍ͯItamaeʹḷΓண ͍ͨ Itamae Meetup #1 sugamasao 2015/12/09
HN: sugamasao PN: ͕͢ΘΒ·͞ͷΓ RubyͰΞϓϦέʔγϣϯ ίʔυΛॻ͖ͭͭΠϯϑϥͷ ߏஙӡ༻ͳͲΔϚϯ ࣗݾհ
ॻ͍ͨͷʢએʣ
ॻ͍ͨͷʢද࡞తͳͷʣ https://github.com/sugamasao/kanojo_bot
લஔ͖ • ࣠ΞϓϦέʔγϣϯΤϯδχΞ • ΠϯϑϥઐͷΤϯδχΞͰͳ͍ • ͋·Γ࣌ؒΛֻ͚ΒΕͳ͍…… • αʔό͕૿͑Δͱ͍͍͍ͬͯͤͥ 10͘Β͍ͷنײͰ͢
ߏཧπʔϧͷมભͱಋೖ࣌ظ • fabricظʢ3ʙ4લ͘Β͍ʁʣ • chef-soloظʢ2લ͘Β͍ʁʣ • Itamaeظʢ1લ͘Β͍ʁʣ ※αʔόߏΛݟ͢λΠϛϯάͰΓ͑ͯΔɺɺɺ
͍
fabricظ • αʔό͕͘͝গͳ͍࣌ • ࣗલϏϧυͷϛυϧΣΞ͕͍ͭ͘ ͔
fabric
fabric from fabric.api import local def sample(): local("ls -l") •
खଓ͖తʹॲཧ͕ॻ͚Δ • ϩʔΧϧଆͱαʔόଆͰͦΕͧΕγΣϧεΫϦϓ τΛॻ͘ײ͡ ➜ fab sample : # ls ͷ݁Ռ͕ग़ྗ͞ΕΔ
fabricظ γΣϧεΫϦϓτΛศརʹॻ͚Δ A͕͋ͬͨΒBΛ֬ೝ͔ͯ͠ΒϏϧυʙ Έ͍ͨͳҰ࿈ͷྲྀΕΛॻ͖͍͢ ίϚϯυͷΓͷ֬ೝϑΝΠϧͷ సૹͳͲࡉʑͨ͠࡞ۀ༻ʹศརϝιο υ͕ఏڙ͞Ε͍ͯΔ put/sed/containsͳͲ
fabricظ ύοέʔδͷΠϯετʔϧͳͲܾ·Γͬ ͨॲཧͳͲγΣϧεΫϦϓτϕʔεͰ ॻ͘ඞཁ͕͋ΔͷͰͪΐͬͱ໘ ※ࠓͦ͏͍͏ͷ͋Δ͔ʁ
αʔόߏΛม͑Δʹ͋ͨΓཉ͔ͬͨ͠ Ϡʔπ • ύοέʔδͷΠϯετʔϧ͕Ͱ͖ͯ • ઃఆϑΝΠϧஔ͚ͯ • దͳσΟϨΫτϦΛ࡞Ͱ͖Δ
ཉ͔ͬͨ͠ͷ ͜ΕͰ ʂʂʂʁʂʂʂ ʁʂʂʁ http://www.amazon.co.jp/dp/B00BSPH158
chef-soloظ • αʔό͕ͪΐͬͱ૿͑ͨ࣌ • ࣗલϏϧυΛഇࢭͯ͠ఏڙ͞Ε͍ͯ ΔύοέʔδΛੵۃతʹར༻͢Δ • fabricͷརͩͬͨখճΓͷྑ͕͞ ׆͔ͤͳ͘ͳ͖ͬͯͨ
chef-soloظ DSLͰඞཁͳ͚ͩॻ͚Δ ඞཁͳػೳἧͬͯͦ͏
chef-soloظ ίϛϡχςΟΫοΫϒοΫ͏ͷɺ༐ؾ͕͍ Δ……ʢͳ͍͔શ෦ಡΉӋʹͳΔʣ ͱ͍͏͔ͦͦɺͦΜͳʹେڼͳͷ͡Ό ͳͯ͘ྑ͍…… ࣗͰ࡞Δʹͯ͠ͻͳܗͳͲେڼͳײ͡
1ʙ2ϲ݄ޙ ʮϤογϟߏͪΐͬͱม͑ΔͰʯ ʮσΟϨΫτϦߏ֮͑ͱΒΜ…ʯ ʮʯ
͜ΜͳͣͰ
chef-soloɺྑ͍͚Ͳδϣ δϣͰྫ͑ΔͳΒΘ͟Θ͟ ϩʔυϩʔϥʔΛ୳͖ͯ͠ ͯͿͬ௵ͦ͏ͱ͢ΔΑ͏ͳ େڼ͞Λײ͍ͯͨ͡ࠒɺ ItamaeͷଘࡏΛͬͨ
ٻΊ͍ͯͨ ͷɺ͜ΕͰʁ
Itamaeظ
Itamaeظ DSLͰຊʹඞཁͳ͚ͩॻ͚Δ ΤʔδΣϯτϨε ڍಈ͕Α͘Θ͔Βͳͯ͘ίʔυΛ͙͢ ಡΊΔαΠζ
Itamaeظ ʢ࣌ʣυΩϡϝϯτ͕গͳ͘ɺख୳ ΓͰਐΊ͍ͯ͘͜ͱ͕ଟ͔ͬͨ ͬͱྲྀߦͬͯ΄͍͠w
ٻΊ͍ͯͨͷɺ ͜Εͩͬͨʂ
Itamae࠷ߴ
͕࣌ؒ༨ͬͨ Β͢༻
Itamaeʹ·ͭΘΔྑ͍ ʢྑ͍ఆ͓ئ͍͠·͢ʣ
ڈͷࠓࠒ·Ͱɺ ࣮༻తͳOSSπʔϧʹ ରͯ͠p-rΛͨ͜͠ͱ ͕ͳ͔ͬͨ
ඞཁʹഭΒΕ͔ͨΒͱ͍ ͏͜ͱ͋Δ͚ΕͲɺ ItamaeόοΫΤϯυͰ ༻͍ͯ͠ΔSpecinfraʹ ରͯ͠ز͔ͭमਖ਼ͷp-rΛ ͯ͠ɺऔΓࠐ·Εͨ☺️
͜Εخ͍͠ ίʔυͰੈͷதʹߩݙͰ͖Δ ͜ͱ΄Ͳخ͍͜͠ͱͳ͍
͜Μͳܦݧ͕Ͱ͖ ͨͷItamaeͷ ͓͔͛Ͱ͢
Itamae࠷ߴ