opscodeã®ãªãã¸ããªã«ããMySQLã®cookbookã§ã¯ãrootã¦ã¼ã¶ãã¬ããªã±ã¼ã·ã§ã³ç¨ã®ã¦ã¼ã¶ã®ãã¹ã¯ã¼ããã©ã³ãã ã«çæãã¦è¨å®ãã¦ããã opscode ã® recipe ã®ç¹å¾´ ãã®ã©ã³ãã ã¨ããç¹ãã«ãã¼ããã¹ãããã¾ãä»çµã¿ãçµã¿è¾¼ã¾ãã¦ããã ãã¹ã¯ã¼ããè¨å®ããã¨ãã㯠node.set_unless['mysql']['server_root_password'] = secure_password ã¨ãã£ãå½¢ã§ãattributeã«è¨å®ããã¦ããªãå ´åã¯ã©ã³ãã ã«çæããã¨ããäºããã¦ã2度ç®ä»¥éãåããã¹ã¯ã¼ãã¨ãªãããã«ãªã£ã¦ããã 2åç®ä»¥éãåããã¹ã¯ã¼ããä¿è¨¼ããããã«ãããã²ã¨ã¤ã®æã unless Chef::Config[:solo] ruby_block "save node data" do block do node.save end
{{#tags}}- {{label}}
{{/tags}}