1
요리사하는 요리사 서버 API에서 정보 입수를 나는 다음과 같은 간단한 조리법이 있습니다조리법
bash "start mongos" do
code <<-EOH
mongos --configdb cfg0.example.net:27019,cfg1.example.net:27019,cfg2.example.net:27019 --fork --logpath /var/log/mongodb.log
EOH
end
cfg0/1 내 요리사 서버에서 동적으로주의 할 필요가 2.example.net /. 이것들은 그에 따라 cfg1, cfg2 및 cfg3이라는 노드의 IP로 대체되어야합니다.
어떻게하면됩니까?