在守護進程模式下運行的Chef-client會定期應用定期運行的run_list,還是隻有在run_list中的食譜/ cookbooks通過chef-server更新時纔會應用它?守護進程模式下的chef-client如何運行
2
A
回答
2
如果食譜/食譜是廚師的服務器上更新的run_list將被執行定期不管。
2
在守護進程模式下的廚師客戶端會定期運行主廚客戶端。 要設置時間間隔,您可以使用-i
標誌。
一般來說,廚師是在拉模式下工作,而不是推,儘管有一些工具可以模仿。
從手冊頁:
-d, --daemonize
Indicates that the executable will be run as a daemon. This
option is only available on machines that run in UNIX or Linux
environments. For machines that are running Microsoft Windows
that require similar functionality, use the chef-client::service
recipe in the chef-client cookbook:
http://community.opscode.com/cookbooks/chef-client. This will
install a chef-client service under Microsoft Windows using the
Windows Service Wrapper.
-i SECONDS, --interval SECONDS
The frequency (in seconds) at which the chef-client runs. This
value is configured for the chef-client application run time,
rather than in Chef::Config. Default value: 1800.
相關問題
- 1. 如何在守護進程模式下運行Warp?
- 2. 使用WSGI在守護進程模式下運行pdb
- 3. 在守護進程模式下無法運行Ansible
- 4. 如何運行docker守護進程?
- 5. 如何在非守護模式下運行rserve?
- 6. 如何運行rake resque:調度程序處於守護進程模式
- 7. Docker - 如何將mongodb進程作爲守護進程運行
- 8. 通過rsh運行守護進程
- 9. Python:在Windows7中運行守護進程
- 10. 運行web.py作爲守護進程
- 11. 將SBT作爲守護進程運行
- 12. Python多線程:如何讓守護進程線程運行
- 13. 守護進程模式下的日誌文件
- 14. 如何捕獲從init.d運行的Linux守護進程的pid
- 15. 在守護進程模式下使用pjsip與python扭曲
- 16. 在守護進程模式下優化mod_wsgi
- 17. 如何查看gradle守護進程是否正在運行?
- 18. 如何檢查Hadoop守護進程是否正在運行?
- 19. 如何在後臺對守護進程運行gdb?
- 20. Fedora如何自動運行ssh守護進程
- 21. 如何從NSApplication運行launchd agent /守護進程?
- 22. 如何在Windows上運行Apache Ignite作爲守護進程
- 23. 如何將sbt作爲守護進程運行?
- 24. 我如何確保獅身人面像守護進程運行?
- 25. 如何以特定用戶身份運行Ruby守護進程?
- 26. 如何確保只有一個守護進程正在運行?
- 27. 如何在後臺運行play framework 2.5(作爲守護進程)?
- 28. Linux下的Java守護進程:選擇?
- 29. 當從守護進程運行時Telnet無法正常運行
- 30. ruby守護進程 - 運行但無法運行