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 シュッと
Search
pecosantoyobe
February 14, 2015
Technology
1
2.5k
Itamae シュッと
オープンセミナー2015@広島で Itamae について LT という名のショートセッションをしてしまった際のスライド。
pecosantoyobe
February 14, 2015
Tweet
Share
More Decks by pecosantoyobe
See All by pecosantoyobe
Down and Dirty with Chrome Developer Tools を雑にやってみて知ったこと
pecosantoyobe
1
120
morning mail
pecosantoyobe
1
950
Atom
pecosantoyobe
1
180
EditorConfig の紹介をするだけ
pecosantoyobe
0
380
Other Decks in Technology
See All in Technology
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
210
OTelCol_TailSampling_and_SpanMetrics
gumamon
1
220
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.5k
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
10
1.3k
Platform Engineering for Software Developers and Architects
syntasso
1
520
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
"とにかくやってみる"で始めるAWS Security Hub
maimyyym
2
100
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
130
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
110
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1.3k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.9k
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Code Reviewing Like a Champion
maltzj
520
39k
Done Done
chrislema
181
16k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Become a Pro
speakerdeck
PRO
25
5k
Transcript
*UBNBFŢœŕͱ Φʔϓϯηϛφʔ!ౡ
*UBNBFʹ͍ͭͯௐͨ͜ͱ ΛŢœŕͱؒͰհ͢Δ -5Ͱ͢
ࣗݾհ w ݹୡ࠸ w 1SPHSBNNFS!0SBOHF4ZTUFN
ߏཧྺ w ͖͔͚ͬɺSFCVJMEGN w ೖ$IFG4PMPͰ$IFGͷษڧΛ࢝ΊΔ w ձࣾͰͭͷαʔϏεͷαʔόʔͷߏཧΛ $IFGͰͬͯΈͨ
$IFGศར͚ͩΕͲɺ ͬͺΓ͍͠ͳ
ͦͯ͠ൃڰ
None
None
w ࠓͷͱ͜ΖࣗͷؔΘΔنͩͱϨγϐΛ͚ͨΓɺ ࠶ར༻ͨ͠Γ͢Δஈ֊͡Όͳ͍ؾ͕͢Δ w $IFGɺΦʔόʔεϖοΫ͔͠Εͳ͍ w ϛυϧΣΞͷߏͦΜͳʹෳࡶͰͳ͍͠ɺ ͭͷϑΝΠϧʹॻ͔Ε͍ͯΔ΄͏͕Θ͔Γ͍͢ن w
ొਓ͕ଟ͍Α͏
*UBNBF
– https://github.com/itamae-kitchen/itamae l4JNQMFBOEMJHIUXFJHIUDPOpHVSBUJPO NBOBHFNFOUUPPMJOTQJSFECZ$IFGz
*UBNBF w !SZPUBSBJ͞Μ͕࡞ऀ w $IFGͷΑ͏ͳ%4-ͰΠϯϑϥίʔυΛهड़ w $IFGͬͯͨͳΒֶशίετ͍ w $IFGͷϨγϐͱޓੑͳ͍ w
ΤʔδΣϯτϨε w ႈੑ w WͷϦϦʔεɺ݄ w 4QFDJOGSB্ʹ࣮ w 04ͷҧ͍࣮ߦܗࣜͷҧ͍Λٵऩͯ͘͠ΕΔίϚϯυ࣮ߦϨΠϠʔ
*UBNBF w ొਓ͕গͳ͍ DPPLCPPLT SFDJQFT SPMFT FOWJSPONFOUT $IFG4FSWFS #FSLTIFMG SFDJQFT
Chef Itamae
*OTUBMM $ gem install itamae
3FDJQF $ cat recipe.rb package ‘apache2’ service ‘apache2’ do action
[:enable, :start] end remote_file ‘/etc/apache2/sites-available/default’ do source ‘files/apache2/default’ notifies :reload, ‘service[apache2]’ end user ‘craete deploy user’ do username ‘deploy’ password ‘secret’ # SHA-512 でハッシュ化したもの end
"QQMZ MPDBM TTI WBHSBOU $ sudo itamae local recipe.rb $
itamae ssh —―host tfrkd.org recipe.rb $ itamae ssh —―host default —―vagrant recipe.rb
3FTPVSDF w EJSFDUPSZ w FYFDVUF w pMF w HJU w
HSPVQ w MJOL w MPDBM@SVCZ@CMPDL w QBDLBHF w SFNPUF@EJSFDUPSZ w SFNPUF@pMF w TFSWJDF w UFNQMBUF w VTFS 13 resource type
ͦͷଞ w 0IBJ͕͑Δ w ରαʔόͷใΛ͍Ζ͍ΖऔಘͰ͖Δ w PIBJΦϓγϣϯ w /PEF"UUSJCVUFT͕͑Δ w
ϨγϐதͰՄมʹ͍ͨ͠ͱ͜Ζʹ w JODMVEF@SFDJQF w ଞͷϨγϐΛJODMVEF w EFpOJUJPOT w FYFDVUFSFTPVSDFͩΒ͚ʹͳͬͨͱ͖ʹ·ͱΊͯ৽͍͠SFTPVSDFΛ࡞Γ͍ͨ ͱ͖ͱ͔
1MVHJO w HFNʹͯ͠#VOEMFSͰཧ w 3FDJQFͱ3FTPVSDF
4FBSDI1MVHJOT w HJUIVCDPNTFBSDI VUG㾎RJUBNBFQMVHJO w SVCZHFNTPSHTFBSDI VUG㾎RVFSZJUBNBFQMVHJO ໋໊نଇ JUBNBFQMVHJOSFTPVSDFTFOHJSJ JUBNBFQMVHJOSFDJQFUPOKJSV
ใݯ w IUUQTHJUIVCDPNJUBNBFLJUDIFOJUBNBF w (JU)VCϦϙδτϦ w IUUQTHJUIVCDPNJUBNBFLJUDIFOJUBNBFXJLJ w υΩϡϝϯτ(JU)VC8JLJ
w IUUQTXXXHPPHMFDPKQTFBSDI RJUBNBF w (PPHMFݕࡧ w IUUQTRJJUBDPNUBHTJUBNBF w 2JJUB
ใݯ IUUQTTQFBLFSEFDLDPNSZPUBSBJ JUBNBFJOGSBBTDPEFYJBO[IVBOHRVFSFOIVJ
ࡶஊ w $IFGͬͯͨΓɺ3VCZʹೃછΈͷ͋Δɺܰྔͳαʔόʔߏ ཧπʔϧ͕ཉ͍͠ͳͱ͍͏ਓʹ͓͢͢Ί w "OTJCMF͍͍ΑͶ w 3FTPVSDF͕গͳ͍ w
࠷ݶ͋Δɻࠓޙʹظ w υΩϡϝϯτ͕ेʹॻ͔Ε͍ͯͳ͍ w ίʔυΛಡΉඞཁ͕গ͋͠Δ
ࡶஊ w σΟϨΫτϦߏͱ͔Ͳ͜ʹԿΛͲ͜ʹஔ͔͘໎͏ w ଞͷߏཧπʔϧ͕ഓ͖ͬͯͨͷΛࢀߟʹ͢Δ w ίϛϡχςΟʹΑΔϓϥάΠϯ·ͩ͋Μ·Γͳͦ͞͏ w ฒྻ࣮ߦ
w 3BLFpMF $BQJTUSBOPͳͲͰ
Ͳ͏