»ç·É°ü ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Other/Proprietary Li...
- °Ô½ÃÀÚ À̸§:
- Jeremiah Orem
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://github.com/oremj/
»ç·É°ü ű×
»ç·É°ü ¼³¸í
ÁöÈÖ°üÀº µÎ °¡ÁöÀÔ´Ï´Ù : - Æк긯À» ÅëÇØ ¸ðµ¨¸µ µÈ ¹èÆ÷ ¶óÀ̺귯¸® - ¿ø°Ý ¸í·É runnerImprovements º´·Ä ÀÛ¾÷¿¡¼ ¸í·ÉÀ» ½ÇÇàÇÒ ¼öÀÖ´Â ¸í·ÉÀ» ½ÇÇàÇÒ ¼öÀÖ´Â rawnneriverfrovements´Â ½ÉÀ̵µÀÇ ÇÔ¼ö·Î È£Ãâ µÉ ¼ö ÀÖ½À´Ï´Ù. (ÁøÇàÁßÀÎ) ¿ø´ÜÀÌ ´õ Å« Ä¿¹Â´ÏƼ - ´õ Å« ¼º¼÷ÇÑ ÀÌÀ¯ - ´õ Å« ¼º¼÷ÇÑ Æ¯Â¡ °£´ÜÇÑ Æ¯Â¡ °£´ÜÇÑ ¹èÆ÷ exampleFrom @ hosts ( def hostname (ctx) : ctx .remote ( "hostname") ¹× ¸í·É ÁÙ # commander -l example.py »ç¿ë °¡´ÉÇÑ ¸í·É : hostname # ¸í·É example.py hostnamerunning 'hostname'½ÇÇà : hostname out : host1 ½ÇÇà : hostname out : host2 ´Â ´Ù¸¥ Python ScriptFrom ¿¹Á¦ hostnamehostname () ¹× # python2.6 example2.py ½ÇÇà : hostname À» ½ÇÇàÇÕ´Ï´Ù. host1] out : host1 ½ÇÇà : hostname out : host2 : hostname out : host3remote ¸í·É runneraf /etc/commanderconfig.py ¿¹¸¦ µé¾î, hostgroups = { 'hostgroup1': ,} ¸í·É ÁÙ # juls-multi-command hostgroup1 hostname hostname out : hostname out : hostname out : host2 ½ÇÇà : hostname out : host3productÀÇ È¨ÆäÀÌÁö
»ç·É°ü °ü·Ã ¼ÒÇÁÆ®¿þ¾î