Re: [Puppet-dev] Razor Mongodb Related Questions

2012-10-22 Thread Hong
Thank so much for your prompt and detailed reply. We really appreciated it. On Monday, October 22, 2012 10:32:47 AM UTC-7, Daniel Pittman wrote: > > On Mon, Oct 22, 2012 at 9:31 AM, Hong > > wrote: > > Thanks for the reply from Daniel Pittman! Below are the details for my > > questions. > > No

Re: [Puppet-dev] Re: File resource management - speed optimization

2012-10-22 Thread Bostjan Skufca
Also, puppetmaster.conf was configured as before, and site.pp included filebucket as described previously. b. On Tuesday, 23 October 2012 01:58:30 UTC+2, Luke Kanies wrote: > > On Oct 22, 2012, at 4:49 PM, Andy Parker > > wrote: > > > On Mon, Oct 22, 2012 at 4:32 PM, Bostjan Skufca > > > wro

[Puppet-dev] Re: File resource management - speed optimization

2012-10-22 Thread Bostjan Skufca
Unfortunately I haven't migrated to 3.x (some dynamic scope issues, fix is already mind-brewed), so 2.7.19 will have to do: Class: [root@master:/etc/puppet/dev/modules/example/example-test]# cat manifests/init.pp class example-test { file { '/a': source => "puppet:///modules/itsis-test/a",

Re: [Puppet-dev] Re: File resource management - speed optimization

2012-10-22 Thread Luke Kanies
On Oct 22, 2012, at 4:49 PM, Andy Parker wrote: > On Mon, Oct 22, 2012 at 4:32 PM, Bostjan Skufca > wrote: >> Thanks for quick help and docs share, but it does not seem to work. I get >> errors about missing files, random. >> >> # This was added to puppetmasterd.conf file (I have separate confi

Re: [Puppet-dev] Re: File resource management - speed optimization

2012-10-22 Thread Andy Parker
On Mon, Oct 22, 2012 at 4:32 PM, Bostjan Skufca wrote: > Thanks for quick help and docs share, but it does not seem to work. I get > errors about missing files, random. > > # This was added to puppetmasterd.conf file (I have separate config file for > master.) > catalog_terminus = static_compiler

[Puppet-dev] Re: File resource management - speed optimization

2012-10-22 Thread Bostjan Skufca
Thanks for quick help and docs share, but it does not seem to work. I get errors about missing files, random. # This was added to puppetmasterd.conf file (I have separate config file for master.) catalog_terminus = static_compiler # This was added to site.pp filebucket { puppet: server => 'pupp

Re: [Puppet-dev] runmode

2012-10-22 Thread R.I.Pienaar
- Original Message - > From: "R.I.Pienaar" > To: puppet-dev@googlegroups.com > Sent: Monday, October 22, 2012 10:55:24 PM > Subject: Re: [Puppet-dev] runmode > > > > - Original Message - > > From: "R.I.Pienaar" > > To: puppet-dev@googlegroups.com > > Sent: Monday, October 22,

Re: [Puppet-dev] File resource management - speed optimization

2012-10-22 Thread Nigel Kersten
On Mon, Oct 22, 2012 at 3:46 PM, Luke Kanies wrote: > On Oct 22, 2012, at 3:38 PM, Bostjan Skufca > wrote: > > Hi all, > > the post below was originally intended for this list, but was unfortunately > misdirected to puppet-users. As some debate has already begun around it, I > will not duplicate

Re: [Puppet-dev] File resource management - speed optimization

2012-10-22 Thread Luke Kanies
On Oct 22, 2012, at 3:38 PM, Bostjan Skufca wrote: > Hi all, > > the post below was originally intended for this list, but was unfortunately > misdirected to puppet-users. As some debate has already begun around it, I > will not duplicate its content here, so please see for yourself: > https:

[Puppet-dev] File resource management - speed optimization

2012-10-22 Thread Bostjan Skufca
Hi all, the post below was originally intended for this list, but was unfortunately misdirected to puppet-users. As some debate has already begun around it, I will not duplicate its content here, so please see for yourself: https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/d4F9ESn

Re: [Puppet-dev] runmode

2012-10-22 Thread R.I.Pienaar
- Original Message - > From: "Jeff McCune" > To: puppet-dev@googlegroups.com > Sent: Monday, October 22, 2012 11:12:19 PM > Subject: Re: [Puppet-dev] runmode > > On Mon, Oct 22, 2012 at 2:55 PM, R.I.Pienaar < r...@devco.net > wrote: > > > > > for 2.7 it seems this is the magic: > >

Re: [Puppet-dev] runmode

2012-10-22 Thread Jeff McCune
On Mon, Oct 22, 2012 at 2:55 PM, R.I.Pienaar wrote: > > for 2.7 it seems this is the magic: > >require 'puppet' >$puppet_application_mode = Puppet::Util::RunMode[:agent] >Puppet.settings.use :main, :agent >Puppet.parse_config > > have to say I am surprised about the global variabl

Re: [Puppet-dev] runmode

2012-10-22 Thread R.I.Pienaar
- Original Message - > From: "R.I.Pienaar" > To: puppet-dev@googlegroups.com > Sent: Monday, October 22, 2012 10:00:40 PM > Subject: Re: [Puppet-dev] runmode > > > > - Original Message - > > From: "Andy Parker" > > To: puppet-dev@googlegroups.com > > Sent: Monday, October 22,

Re: [Puppet-dev] What are we up to? (Week of October 22nd)

2012-10-22 Thread Andy Parker
On Mon, Oct 22, 2012 at 1:57 PM, Jeff Weiss wrote: > Getting #17129 into this iteration would be awesome. > > #17129 - SSL REST API bails out completely on permissions errors > > http://projects.puppetlabs.com/issues/17129 We might have space for this. > > We've noticed that if there is any prob

Re: [Puppet-dev] runmode

2012-10-22 Thread R.I.Pienaar
- Original Message - > From: "Andy Parker" > To: puppet-dev@googlegroups.com > Sent: Monday, October 22, 2012 7:57:36 PM > Subject: Re: [Puppet-dev] runmode > > On Mon, Oct 22, 2012 at 11:03 AM, Brice Figureau > wrote: > > On 22/10/12 19:25, R.I.Pienaar wrote: > >> hello, > >> > >> I n

Re: [Puppet-dev] What are we up to? (Week of October 22nd)

2012-10-22 Thread Jeff Weiss
Getting #17129 into this iteration would be awesome. #17129 - SSL REST API bails out completely on permissions errors http://projects.puppetlabs.com/issues/17129 We've noticed that if there is any problem reading any of the CSRs (maybe a permissions problem or misnamed), the entire call blows up

[Puppet-dev] What are we up to? (Week of October 22nd)

2012-10-22 Thread Andy Parker
In an effort to become more transparent I'm going to start trying to write up a periodic update on what the Puppet Labs developers are going to be concentrating our time on. I'm hoping that this will give everyone a bit of insight into things, an opportunity to help us out on what we are doing (cod

Re: [Puppet-dev] runmode

2012-10-22 Thread Chris Price
On Mon, Oct 22, 2012 at 12:27 PM, Andy Parker wrote: > On Mon, Oct 22, 2012 at 12:05 PM, Chris Price > wrote: > > Out of curiosity, why wasn't run_mode a parameter that was passed to > initialize_settings? > At the time, I think I was assuming that anyone who was trying to use puppet as library

Re: [Puppet-dev] runmode

2012-10-22 Thread Andy Parker
On Mon, Oct 22, 2012 at 12:05 PM, Chris Price wrote: > My intention when I was last working on this stuff was that you could simply > call "Puppet.initialize_settings" (perhaps after calling Puppet.run_mode=), > and that the rest > of the ugly internal stuff (initialize_application_defaults, etc.)

Re: [Puppet-dev] runmode

2012-10-22 Thread Chris Price
My intention when I was last working on this stuff was that you could simply call "Puppet.initialize_settings" (perhaps after calling Puppet.run_mode=), and that the rest of the ugly internal stuff (initialize_application_defaults, etc.) would be abstracted away. However, I'm not entirely sure whe

Re: [Puppet-dev] runmode

2012-10-22 Thread Andy Parker
On Mon, Oct 22, 2012 at 11:03 AM, Brice Figureau wrote: > On 22/10/12 19:25, R.I.Pienaar wrote: >> hello, >> >> I need to get Puppet to read its config file and specifically use the >> settings like an agent would. >> >> I need this for 2.7 and 3.0 >> >> In trying to figure this out for 3.0 I have

Re: [Puppet-dev] runmode

2012-10-22 Thread Brice Figureau
On 22/10/12 19:25, R.I.Pienaar wrote: > hello, > > I need to get Puppet to read its config file and specifically use the > settings like an agent would. > > I need this for 2.7 and 3.0 > > In trying to figure this out for 3.0 I have the following: > >require 'puppet' >require 'puppet/ut

Re: [Puppet-dev] Razor Mongodb Related Questions

2012-10-22 Thread Daniel Pittman
On Mon, Oct 22, 2012 at 9:31 AM, Hong wrote: > Thanks for the reply from Daniel Pittman! Below are the details for my > questions. No worries. Happy to help. :) >> 1. Is there available Razor object relationship diagram that describes >> relationships between Razor slices? > > Since Mongodb is

[Puppet-dev] runmode

2012-10-22 Thread R.I.Pienaar
hello, I need to get Puppet to read its config file and specifically use the settings like an agent would. I need this for 2.7 and 3.0 In trying to figure this out for 3.0 I have the following: require 'puppet' require 'puppet/util/run_mode' Puppet.settings.preferred_run_mode = :agent

[Puppet-dev] Razor Mongodb Related Questions

2012-10-22 Thread Hong
Moving this topic to dev list from user list: Thanks for the reply from Daniel Pittman! Below are the details for my questions. 1. Is there available Razor object relationship diagram that describes relationships between Razor slices? Since Mongodb is schemaless, we want to know if there is any e

Re: [Puppet-dev] Vision for Module Versioning/Autoloading

2012-10-22 Thread Ohad Levy
On Tue, Oct 16, 2012 at 9:16 PM, Rob Sweet wrote: > Hi, guys. > > I've been trying to dig through the group backlog to understand what > the vision is for using module versioning and it's not clear to me how > versions for modules are intended to be used in the future. I'll lay > out some detail