官术网_书友最值得收藏!

Summary

Salt is made possible by the existence of the loader system, which detects which modules are able to load, and then only what is available. Types of module that make use of the lazy loader will only be loaded on demand.

Python is an integral part of Salt, allowing modules to be easily written and maintained. Salt ships with a library of functions that help support the loader system, and the modules that are loaded with it. These files live in various directories under the salt/ directory in Salt's code base. For example, execution modules live in salt/modules/.

This chapter barely brushed the surface of what is possible with Salt, but it got some necessary concepts out of the way. From here on in, the focus will be all about writing and maintaining modules in Python.

主站蜘蛛池模板: 枝江市| 益阳市| 泽库县| 阳江市| 格尔木市| 昔阳县| 株洲县| 苍梧县| 东乡县| 增城市| 休宁县| 新建县| 白山市| 白城市| 尚志市| 讷河市| 苏尼特左旗| 许昌市| 莆田市| 湟中县| 比如县| 郧西县| 南京市| 丰台区| 银川市| 沂水县| 搜索| 辰溪县| 余姚市| 米易县| 松阳县| 始兴县| 西和县| 克山县| 鄂托克旗| 内江市| 华亭县| 界首市| 江津市| 余江县| 耒阳市|