V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Livid
272.76D
572.64D
V2EX  ›  Puppet

package 类型的 ensure 的 installed 和 present 有什么区别呢?

  •  
  •   Livid ·
    PRO
    · Aug 22, 2013 · 3674 views
    This topic created in 4644 days ago, the information mentioned may be changed or developed.
    2 replies    1970-01-01 08:00:00 +08:00
    ericFork
        1
    ericFork  
       Aug 22, 2013
    我的理解是两者完全等价,@Livid 在使用中发现二者的行为不同了?
    Livid
        2
    Livid  
    MOD
    OP
    PRO
       Aug 23, 2013
    @ericFork 我之前一直用的是 present。但是昨天发现 TextMate 的 Puppet bundle 在自动生成的语法中用的是 installed,所以在想是不是有什么不同。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2896 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 198ms · UTC 11:47 · PVG 19:47 · LAX 04:47 · JFK 07:47
    ♥ Do have faith in what you're doing.