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
信頼性に挑む中で拡張できる・得られる1人のスキルセットとは?
ken5scal
2
530
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
120
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
ドメイン名の終活について - JPAAWG 7th -
mikit
33
20k
Lambdaと地方とコミュニティ
miu_crescent
2
370
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
5
600
Lexical Analysis
shigashiyama
1
150
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
240
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
290
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
100
Featured
See All Featured
Producing Creativity
orderedlist
PRO
341
39k
Practical Orchestrator
shlominoach
186
10k
Done Done
chrislema
181
16k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Happy Clients
brianwarren
98
6.7k
GraphQLとの向き合い方2022年版
quramy
43
13k
Agile that works and the tools we love
rasmusluckow
327
21k
How STYLIGHT went responsive
nonsquared
95
5.2k
Speed Design
sergeychernyshev
24
610
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ͳͲͰ
Ͳ͏