Re: [Puppet Users] Need help optimizing our Puppet module

2014-04-08 Thread Henrik Lindberg
On 2014-07-04 22:03, Harrison Ripps wrote: Hey all-- Over at OpenShift we are big fans of Puppet. We've developed our own module , which is central to our OpenShift Origin installer and to our Vagrant-based develop

Re: [Puppet Users] Need help optimizing our Puppet module

2014-04-08 Thread jcbollinger
On Monday, April 7, 2014 5:06:25 PM UTC-5, denmat wrote: > > Hi, > > And further to that I also did a quick skim and found you use augeas for a > few resources that can probably be better executed with simpler resource > types (I'm looking at you yumrepo). Augeas is costly from my understandin

Re: [Puppet Users] Need help optimizing our Puppet module

2014-04-07 Thread Denmat
Hi, And further to that I also did a quick skim and found you use augeas for a few resources that can probably be better executed with simpler resource types (I'm looking at you yumrepo). Augeas is costly from my understanding. Also to get a good view of where the costs are in your manifest yo

Re: [Puppet Users] Need help optimizing our Puppet module

2014-04-07 Thread Pete Brown
Hi Harrison, Here are some initial thoughts after a quick glance at your code. First question I would have would be why are you using ensure_resource to do one thing at a time? Like install one package or one service etc. I love wrappers but it seems like overkill to use it do do something the na

[Puppet Users] Need help optimizing our Puppet module

2014-04-07 Thread Harrison Ripps
Hey all-- Over at OpenShift we are big fans of Puppet. We've developed our own module, which is central to our OpenShift Origin installer and to our Vagrant-based development environment. As the author of the ins