如何从厨师获取Rundeck的节点清单 [英] How to obtain node inventory for rundeck from chef

查看:89
本文介绍了如何从厨师获取Rundeck的节点清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

工作流自动化工具 rundeck 源于结构化文本文件,以创建其节点清单。但是,如果您使用Chef作为服务器/节点清单真实性的来源,则不必创建这些平面文件以供运行参考。 Rundeck如何从厨师服务器动态获取此信息?

The workflow automation tool rundeck sources structured text files to create its inventory of nodes. But if you use chef as your source of truth of your server/node inventory, its undesirable to have to create these flat files just for rundeck to reference. How can rundeck obtain this information dynamically from a chef server?

推荐答案

chef-rundeck是sinatra应用程序(红宝石),它与厨师服务器接口并通过REST公开节点清单数据XML格式的API。

chef-rundeck is a sinatra app (ruby) that interfaces with a chef server and exposes the node inventory data through a REST API in XML format.

https://github.com/oswaldlabs/ Chef-rundeck

我在 supervisord 便于管理过程,管理日志文件等。

I run it under supervisord for easy management of the process, management of log files, etc.

这篇关于如何从厨师获取Rundeck的节点清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆