/ b i n / e n v r u b y # ^ s y n t a x d e t e c t i o n s i t e ' h t t p : / / c o m m u n i t y . o p s c o d e . c o m / a p i / v 1 ' # c o o k b o o k ' c h e f - c l i e n t ' # c o o k b o o k ' a p a c h e 2 ' , ' > = 1 . 0 . 0 ' # c o o k b o o k ' r v m ' , # : g i t = > ' h t t p s : / / g i t h u b . c o m / f n i c h o l / c h e f - r v m ' # c o o k b o o k ' p o s t g r e s q l ' , # : g i t = > ' h t t p s : / / g i t h u b . c o m / f i n d s y o u / c o o k b o o k s ' , # : r e f = > ' p o s t g r e s q l - i m p r o v e m e n t s '
n i f e s o l o p r e p a r e r o o t @ 1 9 2 . 1 6 8 . 5 . 1 6 4 It will do 2 things: SSH to the remote server and install chef Create a json file in nodes dir
/ u s r / b i n / e n v r u b y # ^ s y n t a x d e t e c t i o n s i t e ' h t t p : / / c o m m u n i t y . o p s c o d e . c o m / a p i / v 1 ' c o o k b o o k " n g i n x "
runlist in nodes json Nginx IN NODES/192.168.5.164.JSON: IN NODES/192.168.5.164.JSON: { " r u n _ l i s t " : [ " r e c i p e [ n g i n x : : s o u r c e ] " ] }