AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 46320
Accepted
Rob Chanter
Rob Chanter
Asked: 2009-07-27 21:48:33 +0800 CST2009-07-27 21:48:33 +0800 CST 2009-07-27 21:48:33 +0800 CST

管理 puppet 文件桶?

  • 772

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

我在http://reductivelabs.com/trac/puppet/wiki/Recipes/FileBucket找到了 puppet 附带的 filebucket 实用程序和快速而简单的索引配方。我可以看到将它们用作合理管理界面的构建块并不是什么大不了的事。但与其重新发明轮子...

有人有更好的吗?

puppet
  • 3 3 个回答
  • 5771 Views

3 个回答

  • Voted
  1. eric sorenson
    2011-10-26T13:59:06+08:002011-10-26T13:59:06+08:00

    作为记录,现在在 puppet 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.
    
    • 6
  2. Best Answer
    Paul Lathrop
    2009-07-27T21:54:08+08:002009-07-27T21:54:08+08:00

    可悲的是,在这个领域还没有一个好的解决方案。社区会欢迎您提出的任何建议,或者您可以致电 Reducing Labs 并为他们提供一些咨询业务。不久前我考虑过这样做,发现它比我有时间解决的更具挑战性。

    随意访问 IRC 频道(Freenode 上的#puppet)——那里有很多非常乐于助人的人,他们很乐意提供建议/帮助,特别是如果它导致了一个有助于 Puppet 生态系统的工具。

    • 2
  3. KevinRae
    2009-08-22T13:53:57+08:002009-08-22T13:53:57+08:00

    在 Velocity 2008 会议期间,Luke Kanies 提到 Reducing Labs 可能会为文件桶开发一个更加用户友好的界面。按照目前的实现,查找您感兴趣的更改的 md5 校验和并恢复到该文件的版本是相当困难的。显然,这是他们的开发路线图,它似乎是客户可能会支付的一项功能,因此是他们公司的收入来源。(他们试图找到支付账单的方法......)

    • 1

相关问题

  • 如何修复 Puppet 完全限定的参数路径错误?

  • puppet:修改配置文件后强制重启服务

  • 木偶模块资源

  • puppetrun 不报告客户端错误

  • 傀儡主机名问题

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    从 IP 地址解析主机名

    • 8 个回答
  • Marko Smith

    如何按大小对 du -h 输出进行排序

    • 30 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    Windows 中执行反向 DNS 查找的命令行实用程序是什么?

    • 14 个回答
  • Marko Smith

    如何检查 Windows 机器上的端口是否被阻塞?

    • 4 个回答
  • Marko Smith

    我应该打开哪个端口以允许远程桌面?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    MikeN 在 Nginx 中,如何在维护子域的同时将所有 http 请求重写为 https? 2009-09-22 06:04:43 +0800 CST
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    0x89 bash中的双方括号和单方括号有什么区别? 2009-08-10 13:11:51 +0800 CST
  • Martin Hope
    kch 如何更改我的私钥密码? 2009-08-06 21:37:57 +0800 CST
  • Martin Hope
    Kyle Brandt IPv4 子网如何工作? 2009-08-05 06:05:31 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve