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

Summary

In this chapter, we've seen how a manifest is made up of Puppet resources. You've learned how to use Puppet's file resource to create and modify files, how to install packages using the package resource, and how to manage services with the service resource. We've looked at the common package-file-service pattern and seen how to use the notify attribute on a resource to send a message to another resource indicating that its configuration has been updated. We've covered the use of the require attribute to make dependencies between resources explicit, when necessary.

You've also learned to use puppet resource to inspect the current state of the system according to Puppet, and puppet describe to get command-line help on all Puppet resources. To check what Puppet would change on the system without actually changing it, we've introduced the --noop and --show_diff options to puppet apply.

In the next chapter, we'll see how to use the version control tool Git to keep track of your manifests, we'll get an introduction to fundamental Git concepts, such as the repo and the commit, and you'll learn how to distribute your code to each of the servers you're going to manage with Puppet.

主站蜘蛛池模板: 荆门市| 肇东市| 平潭县| 元朗区| 密云县| 囊谦县| 峨山| 东城区| 托克托县| 永嘉县| 肇州县| 高平市| 陕西省| 双峰县| 渑池县| 海宁市| 宜川县| 井研县| 太康县| 射阳县| 时尚| 江油市| 凤山县| 平潭县| 玉门市| 永嘉县| 获嘉县| 甘泉县| 灵石县| 隆回县| 黄龙县| 二手房| 巢湖市| 彝良县| 玉龙| 灯塔市| 宁国市| 银川市| 门源| 沅陵县| 大英县|