Ãâ·Ñ×¢²á ²é¿´ÐÂÌû |

Chinaunix

  ƽ̨ ÂÛ̳ ²©¿Í ÎÄ¿â
×î½ü·ÃÎÊ°å¿é ·¢ÐÂÌû
²é¿´: 1877 | »Ø¸´: 1
´òÓ¡ ÉÏÒ»Ö÷Ìâ ÏÂÒ»Ö÷Ìâ

[puppet] puppetΪʲôҪʹÓÃÐéÄâ×ÊÔ´£¿ÊDZØÐëµÄÂ𣿣¡ [¸´ÖÆÁ´½Ó]

ÂÛ̳»ÕÕÂ:
0
Ìøתµ½Ö¸¶¨Â¥²ã
1Â¥ [ÊÕ²Ø(0)] [±¨¸æ]
·¢±íÓÚ 2012-08-27 14:52 |Ö»¿´¸Ã×÷Õß |µ¹Ðòä¯ÀÀ
puppetΪʲôҪʹÓÃÐéÄâ×ÊÔ´¡£Ò»Ö±Ã»ÓиãÇå³þ£¬ÀýÈçÎÒÏÖÔÚÓÐÁ½Ì¨Ö÷»ú£¬node27½ÚµãÒªÌí¼ÓtomcatÓû§£¬node28Óû§ÒªÌí¼ÓnagiosÓû§¡£

ÎÒÕâÑù±íʾ²»¿ÉÒÔÁË£º
node 'node28.puppet.com' {
      include user::nagios
}


node 'node27puppet.com' {
      include user::tomcat
}


userÎļþ£º
[root@node25 manifests]# ll
×Ü¼Æ 16
-rw-r--r-- 1 puppet puppet  89 08-02 10:01 init.pp
-rw-r--r-- 1 puppet puppet 296 08-22 11:11 nagios.pp
-rw-r--r-- 1 puppet puppet 527 08-22 11:12 nginx.pp
-rw-r--r-- 1 puppet puppet 485 08-22 11:12 tomcat.pp


[root@node25 manifests]# cat init.pp
class user {
    include user::tomcat
    include user::nginx
    include user::naginx
}

ÂÛ̳»ÕÕÂ:
5
¼¼ÊõͼÊé»ÕÕÂ
ÈÕÆÚ:2013-08-27 10:03:49CU´óÅ£»ÕÕÂ
ÈÕÆÚ:2013-09-18 15:16:55CU´óÅ£»ÕÕÂ
ÈÕÆÚ:2013-09-18 15:18:22CU´óÅ£»ÕÕÂ
ÈÕÆÚ:2013-09-18 15:18:43¼¼ÊõͼÊé»ÕÕÂ
ÈÕÆÚ:2014-04-24 15:51:26
2Â¥ [±¨¸æ]
·¢±íÓÚ 2012-08-28 11:37 |Ö»¿´¸Ã×÷Õß
³éÏóÊÇΪÁË°ÚÍѾßÌåµÄ¹ý³Ì£¬ÄãÖ»ÐèÒªÓÃpuppetÓïÑÔ½«ÄãÏëÒªµÄ½á¹ûÃèÊö³öÀ´¾Í¿ÉÒÔÁË¡£
ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼ | ×¢²á

±¾°æ»ý·Ö¹æÔò ·¢±í»Ø¸´

  

±±¾©Ê¢ÍØÓÅѶÐÅÏ¢¼¼ÊõÓÐÏÞ¹«Ë¾. °æȨËùÓÐ ¾©ICP±¸16024965ºÅ-6 ±±¾©Êй«°²¾Öº£µí·Ö¾ÖÍø¼àÖÐÐı¸°¸±àºÅ£º11010802020122 niuxiaotong@pcpop.com 17352615567
δ³ÉÄê¾Ù±¨×¨Çø
Öйú»¥ÁªÍøЭ»á»áÔ±  ÁªÏµÎÒÃÇ£ºhuangweiwei@itpub.net
¸ÐлËùÓйØÐĺÍÖ§³Ö¹ýChinaUnixµÄÅóÓÑÃÇ ×ªÔر¾Õ¾ÄÚÈÝÇë×¢Ã÷Ô­×÷ÕßÃû¼°³ö´¦

Çå³ý Cookies - ChinaUnix - Archiver - WAP - TOP