pipe理puppet filebucket?

我们正在实施Puppet,并希望使用filebucket来replace内部文件更改跟踪器。 将文件桶物理布局到哈希目录树中,以及在主文件桶中缺less“哪个客户端”元数据,这使得这有点具有挑战性。

我find了puppet附带的filebucket实用程序,以及http://reductivelabs.com/trac/puppet/wiki/Recipes/FileBucket中的快速和简洁的索引配方。 我可以看到使用这些作为合理pipe理界面的构build块并不是什么大问题。 但不是重新发明轮子…

任何人都有更好的?

可悲的是,这个领域还没有一个好的解决scheme。 社区将欢迎你能够掀起的任何事情,或者你可以打电话给Reductive Labs并给他们一些咨询业务。 我看了一会儿,发现这比我有时间处理更具挑战性。

随意点击IRC频道(Freenode的#puppet) – 那里有很多真正有帮助的人,他们会很乐意提供build议/协助,特别是如果它导致一个工具,贡献给木偶生态系统。

为了logging,现在在傀儡2.7中有“puppet filebucket”子命令:

puppet filebucket <mode> [-h|--help] [-V|--version] [-d|--debug] [-v|--verbose] [-l|--local] [-r|--remote] [-s|--server <server>] [-b|--bucket <directory>] <file> <file> ... Puppet filebucket can operate in three modes, with only one mode per call: backup: Send one or more files to the specified file bucket. Each sent file is printed with its resulting md5 sum. get: Return the text associated with an md5 sum. The text is printed to stdout, and only one file can be retrieved at a time. restore: Given a file path and an md5 sum, store the content associated with the sum into the specified file path. You can specify an entirely new path to this argument; you are not restricted to restoring the content to its original location. 

在Velocity 2008会议期间,Luke Kanies提到Reductive Labs可能会为filebucket开发一个更友好的用户界面。 正如目前所实现的,要查找您感兴趣的更改的md5校验和是非常困难的,并恢复到该版本的文件。 显然这是在他们的发展路线图上,这似乎是一个客户可能支付的function,因此是他们公司的收入来源。 (他们试图find一种方法来支付账单…)