I recommend this existing modules: https://github.com/nanliu/puppet-staging
在 2014年12月27日星期六UTC+8下午10时49分31秒,Martin Alfke写道: > > Hi, > > instead of using exec’s you might want to dig into existing modules and > their defines, types and providers: > > https://github.com/camptocamp/puppet-archive > https://github.com/maestrodev/puppet-wget > > When using exec resources you have to ensure by yourself that the exec > runs only in case of changes needed. > An exec should not get executed on every puppet agent run. > > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f1e02d17-1f12-45f9-adb7-7a96671da068%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
