Puppet ships with a tool called puppet resource, which uses the RAL to let you query and modify your system from the shell.
$ puppet resource user
… it will query the system and return every resource of that type it can recognize in the system’s current state. You can retrieve a specific resource’s state by providing a resource name as a second argument.
$ puppet resource shnigi
$ puppet describe -s user
This post is for Puppet course: http://terokarvinen.com/2012/aikataulu-linuxin-keskitetty-hallinta-ict4tn011-3#comment-19666
This post is for Puppet course: http://terokarvinen.com/2012/aikataulu-linuxin-keskitetty-hallinta-ict4tn011-3#comment-19666
Ei kommentteja:
Lähetä kommentti