Rubyãã»ã¨ãã©ä½¿ã£ããã¨ããªãã¦ããã®ã¾ã¾chefã®recipeãæ¸ããã¨ããã¨ãããããã¨ç´°ããã¨ãããã©ãæ¸ãã®ãåãããªããªãã¾ãã ã¨ãããã¨ã§ãå人çã«å°ã£ãã¨ãããã¡ã¢ãã¾ãã è¤æ°ã®ãªã½ã¼ã¹ã使ã %w{... ...}ã§å¿ è¦ãªåã ãè¨å ¥ãã¦ãeachã§ããããåãã¾ãã %w{vim-enhanced yum-utils}.each do |pkgs| package pkgs do action :install end end ç°å¢å¤æ°ãè¨å®ãã ruby_blockã®ä¸ã§ENV["ENV_NAME"]ã使ãã¾ãã ruby_block "set-env-java-home" do block do ENV["JAVA_HOME"] = "/usr/java/default" end end æä¹ çã«è¨å®ããå ´åã¯ã/etc/profile.d/é ä¸ã«ã¹ã¯ãªãããç½®
{{#tags}}- {{label}}
{{/tags}}