puppet模板的自定义数据结构

2013-06-21 15:41:23的屏幕截图 2013-06-21 15:41:00的屏幕截图

 

 

 

折腾了一下,pupet的模板语法真是强大,通过自定义数据结构来实现配置文件配置项扩展性,避免了硬编码在模板中的同种语义的不同变量名,看图:上面和下面的区别

 

 

 

2013-06-21 15:16:42的屏幕截图

|2|left
此条目发表在System分类目录。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用*标注


Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /mydata/www/wordpress/wp-content/plugins/are-you-a-human/includes/ayah.php on line 312

Warning: fsockopen(): unable to connect to ssl://ws.areyouahuman.com:443 (php_network_getaddresses: getaddrinfo failed: No address associated with hostname) in /mydata/www/wordpress/wp-content/plugins/are-you-a-human/includes/ayah.php on line 312

Unable to load the Are You a Human PlayThru™. Please contact the site owner to report the problem.