vagrant
ã¬ãã¼ãsynced_folderã®ãã¡ã¤ã«æ¨©é0777ã«ãªãã®ä½ã¨ããªãããã¼ã¼ ansibleã®hostsãexecutableã«ãªãã¨ããã©ãï¼â a3no (@a3noplus) 2014, 9æ 27 ã¨æã£ã¦æ¸ãã¦ããã°ã°ãããã©ãããè¨å®ã§ããã£ã½ããç¾å¨ãªãã¼ãä¸ããããâ a3no (@a3noplus) 20â¦
以åããVagrantã§knife-soloï¼Serverspecãªboxãä½ã£ã¦ãã話ãã§ããä½æ¥ã Chef使ã£ã¦ãã®ã«æä½æ¥ã¯ãªãããã¨Chefã®ã¬ã·ãã«è½ã¨ãè¾¼ãã§ã¿ã¾ãããä½ã£ãã¬ã·ãã¯ä»¥ä¸ã[site-cookbooks/knifesolobox/recipes/default.rb] execute "install-chef" do uâ¦
ãVagrantã§knife-soloï¼Serverspecãªboxãä½ã£ã¦ãã話ãã®ãã¾ãçãªè©±ã§ããVagrantã¨ãChefã¨ã使ã£ã¦ãã¨ãããã«æ§ã ã¢ã¯ã»ã¹ããã¨æãã¾ããã ä¼æ¥ã«ãã£ã¦ã¯ãããã¸ã®ã¢ã¯ã»ã¹ã«Proxyã使ã£ã¦ãæãå¤ããã¨æãã¾ãã ãããé常ã«æ¯åè²ã ã¯ã¾â¦
6æãããããVagrantï¼knife-soloï¼Serverspecã使ã£ã¦ãã¾ãã ãããã®ãã¼ã«ã使ã£ãè¨äºã¯é常ã«å¤ãæ¨ä»ã§ããã èªåã®ä½¿ãæ¹ãæ§ç¯ã®ä»æ¹ãç°¡åã«æ¸ãã¦ã¿ãããã¨ãâ èªåã®ä½¿ãæ¹ ããè¦ãè¨äºã¯ã ãããmacã§ãã¼ã«ã«ã«Vagrantã¨knife+Chefãå ¥ãâ¦
Cassandra+OpsCenterã§éã¼ãã¨ãã¦VMã§ããã£ã¦ãã®ã§ããã vagrant destroyãã度ã«å度javaã¨Cassandraã¨OpsCenterå ¥ããã®ã 飽ãã¦ããã®ã§chef使ã£ã¦æ¥½ãã³ç®¡çããããªãã¾ãããåãã¦ã®rubygemsãrbenvã«æªæ¦è¦éãã¤ã¤ knife soloåããã¨ããã¾â¦
ååã®ç¶ãã¨ããããå¼·å¼ã«çµããããåhttps://github.com/mitchellh/vagrant/issues/921ã¨ã©ã¼ãåºãã®ã¯ãã®Issueã½ãã ã ãã¶Hotãªã¨ã³ããªã®ããã§ãé·ãã®ã§è±èªãèªãã®ã¯éä¸ã§ããããã¾ããã Linuxåãå¿ è¦ãããªåããæããããã¨ã1ã¯æå®ã§â¦
Vagrantã§è¤æ°VMç«ã¡ä¸ãã¦IPãè¨å®ãã¦ä½¿ç¨ãããç¨éãããã¨ãã¾ãã ä¾ãã°ä»åã¯Cassandraã®ã¯ã©ã¹ã¿ããã¼ã«ã«ã«ç«ã¦ã¦OpsCenterã®æ©è½ã 試ãã¦ã¿ããã¨æã£ã¦ããã®ã§æ¬¡ã®ãããªVagrantfileãæ¸ãã¾ããã # -*- mode: ruby -*- # vi: set ft=ruby :â¦