惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
V
V2EX
G
Google Developers Blog
F
Full Disclosure
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
H
Hacker News: Front Page
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
NISL@THU
NISL@THU
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
Hacker News - Newest:
Hacker News - Newest: "LLM"
A
About on SuperTechFans
The Cloudflare Blog
C
Cisco Blogs
D
DataBreaches.Net
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Vercel News
Vercel News
P
Privacy International News Feed
Microsoft Security Blog
Microsoft Security Blog
Help Net Security
Help Net Security
Recorded Future
Recorded Future
PCI Perspectives
PCI Perspectives
S
Schneier on Security
AI
AI
N
News | PayPal Newsroom
雷峰网
雷峰网
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
The Last Watchdog
The Last Watchdog
L
LINUX DO - 最新话题
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
Schneier on Security
Schneier on Security
S
Securelist
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
AWS News Blog
AWS News Blog
TaoSecurity Blog
TaoSecurity Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Commits to openclaw:main
Recent Commits to openclaw:main
博客园 - 三生石上(FineUI控件)
C
CXSECURITY Database RSS Feed - CXSecurity.com
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Cloudbric
Cloudbric
C
Cybersecurity and Infrastructure Security Agency CISA
Project Zero
Project Zero
C
Check Point Blog
S
Security Affairs

Puppet

有 V 友参加 2015 年在 Portland 的 PuppetConf 么? - V2EX 去中心化的 puppet 配置 - V2EX Puppet Server - V2EX 清除 Puppet Master 的 /var/lib/puppet/reports 目录下旧文件的指令 - V2EX 关于 Puppet Master 的性能调优 - V2EX Puppet Labs 和企业级路由器厂商合作,未来可以通过 Puppet 来进行路由器配置 - V2EX 在基于 Debian 的发行版上使用最新的开源版本的 Puppet - V2EX Puppet 里使用 define 时的依赖关系…… - V2EX 关于 Puppet 2 到 3 的升级 - V2EX Puppet APT 源非官方国内镜像 - V2EX Puppetboard - V2EX puppet agent --test 运行后的 return code - V2EX Ubuntu 自带版本的 facter 无法输出 JSON? - V2EX Puppet有没有办法在Windows重启后,继续执行未执行完的操作? - V2EX 关于修复 puppet agent 因为网络不好而时不时 administratively disabled 的问题 - V2EX Puppet 出现两个漏洞:任意代码执行、模块权限绕过,大家尽快升级! - V2EX 用 Ubuntu 内置的 Puppet 的话,还能否接收到来自官方的安全更新呢? - V2EX puppet占用内存不少,这个问题大家是怎么解决的? - V2EX puppet-lint - V2EX package 类型的 ensure 的 installed 和 present 有什么区别呢? - V2EX puppet.tmbundle for TextMate - V2EX Install Puppet Dashboard - V2EX Running Puppet Master with Passenger - V2EX puppet有没有办法接收通知来触发部署? - V2EX Puppet CookBook - V2EX Puppet Enterprise 3.0 - V2EX 关于 Puppet 及其替代品 - V2EX 关于 Puppet Enterprise - V2EX 如果 Puppet 客户端用 3.1.1 版本,但是服务器端是 2.7,会有什么问题么? - V2EX 在 Mac OS X 上安装 Puppet 最好的方法是? - V2EX 请大家推荐一些关于 Puppet 项目架构方面的好例子吧 - V2EX 关于 Puppet 的 include 语法的问题 - V2EX 目前有可以对 Puppet 的 .pp 格式做语法检查的编辑器么? - V2EX Pro Puppet 是一本好书 - V2EX Puppet Enterprise 2.7.1 for Ubuntu 12.04 64-bit 国内镜像 - V2EX Puppet REST API - V2EX Puppet 在装好之后可以同时管理很多机器,但是在最初如何同时把 Puppet 装到很多机器上呢? - V2EX Learning Puppet - V2EX Puppet用Ruby开发的原因 - V2EX Hacking Puppet - V2EX
大家 Puppet 是用 Crontab 還是 Daemon 運行的呢,時間間隔多少? - V2EX
aveline · 2013-08-20 · via Puppet

这是一个创建于 4682 天前的主题,其中的信息可能已经有所发展或是发生改变。

  • 還是
  • 運行
  • 時間

    17 条回复    1970-01-01 08:00:00 +08:00

    Livid

    1

    Livid      2013 年 8 月 20 日

    [agent]
    server = master
    runinterval = 300

    Livid

    2

    Livid      2013 年 8 月 20 日   ❤️ 1

    不过 puppet agent 有时候跑一段时间就挂了,需要定期通过 ansible 去做 service puppet restart

    summer_charlie

    3

    summer_charlie      2013 年 8 月 20 日   ❤️ 1

    --------------- /usr/local/bin/pull-updates ----------------

    #!/bin/sh
    PUPPETDIR=/home/git/puppet
    cd ${PUPPETDIR}
    git pull && sudo /usr/local/bin/papply

    ---------------- /usr/local/bin/papply --------------

    #!/bin/sh
    PUPPETDIR=/home/git/puppet
    /usr/bin/puppet apply --modulepath ${PUPPETDIR}/modules
    ${PUPPETDIR}/manifests/site.pp

    -------------- crontab -e --------------
    */10 * * * * /usr/local/bin/pull-updates

    fatpa

    4

    fatpa      2013 年 8 月 20 日

    暂时来说还是跑daemon的,还没看到啥意外……

    ericFork

    5

    ericFork      2013 年 8 月 20 日   ❤️ 1

    cron, 10 分钟一次,hash ip 地址,尽量平滑地分配执行的分钟值

    megaforce

    6

    megaforce      2013 年 8 月 20 日

    puppet + MCollective

    aveline

    7

    aveline      2013 年 8 月 20 日

    看起來我的頻率實在太高了,Puppet Master 的壓力很大,

    特別是加上 Foreman Smart Proxy 之後,每次請求都要去額外和 Foreman 通訊一下。

    改成 10 分鐘去。

    Livid

    8

    Livid      2013 年 8 月 20 日

    @aveline 你的 Master 现在跑在什么上?

    如果还是默认的 webrick,基本上到四十个以上的 agent 的时候就完全撑不住了。

    aveline

    9

    aveline      2013 年 8 月 20 日

    @Livid 還在 Webrick 上,晚上準備換到 Passenger 了。

    現在有 35 個 Agent。

    Livid

    11

    Livid      2013 年 8 月 20 日 via iPhone

    @halfbloodrock 我们某些 agent 到 master 有 300ms 以上的延迟,然后发现会挂。

    aveline

    12

    aveline      2013 年 8 月 20 日

    @Livid 我在 Foreman 裏的 Report 也老看到有掛的

    看了下有個節點經常 Cannot allocate memory - fork(2) ...

    還有些節點經常 Could not evaluate: end of file reached Could not retrieve file metadata for puppet:///modules/ssh/authorized_keys: end of file reached

    不知道爲啥,一會兒換到 Nginx + Passenger 試試。

    另外試過在兩個不同數據中心的服務器上做負載均衡麼?

    xofyarg

    13

    xofyarg      2013 年 8 月 20 日

    借问一下,有人用过cfengine吗?和puppet对比有什么优缺点?

    Livid

    14

    Livid      2013 年 8 月 22 日

    @aveline 你是说,把 puppet master 解析到两个 IP 上,然后两个 master 上用同样配置?

    这样的话,貌似还需要:

    1. 解决证书的同步问题
    2. 或者,在另外一台上重新 sign 一下(我是绝对不会开 autosign 的)

    halfbloodrock

    15

    halfbloodrock      2013 年 9 月 17 日

    @Livid 你的这条27天前的回复,系统刚刚才提示我未读。。。。。

    -------------
    Livid 在回复 大家 Puppet 是用 Crontab 還是 Daemon 運行的呢,時間間隔多少? 时提到了你 23 分钟前 ago 删除
    -------------

    Livid

    16

    Livid      2013 年 9 月 17 日

    @halfbloodrock 嗯,刚才清理了一下任务队列,一些运行失败的后台任务重新运行了之后,扫描出了一些之前分发失败的 notification。你知道的,主要是因为过去一个月的攻击……

    ngtrueman

    17

    ngtrueman      2013 年 9 月 17 日

    1小时的crontab方式,用主机名做hash打散到60分钟