<Derek.Whayman@barclayscapital.com>
2007-Aug-30 08:12 UTC
Command line vs config file override for configuration params
Hi all I''m working on my modular recursive Makefile & svn-backed home for my Puppet manifests, custom functions, types, etc. So I''m trying to put together individual modules, test targets and so on. I have noticed that the $libdir (and probably the other configuration options too) sources from puppet.conf are not overridden by specifying --libdir=blah on the commmand line to puppet. I can illustrate this with --configprint: # puppet --verbose --debug --color=false --libdir=`pwd`/testlib --configprint libdir /var/lib/puppet/plugins (this comes from puppet.conf in /etc/puppet) # sudo puppet --verbose --debug --color=false --libdir=`pwd`/testlib --config /dev/null --configprint libdir /users/unix/sa_dewha/SVNCheckOut/bootstrap/puppet/plugins/types/allowed/ testlib (this is as intended, off my cwd) The libdir setting is in the [main] section of puppet.conf. I could also move this out to [puppetmasterd], but I''d rather not, as often puppet will be invoked with a requirement for the custom things in /var/lib/puppet/plugins. I can work around it with --config /dev/null but is this intended behaviour? I will file a bug report if necessary. Many thanks, Derek ------------------------------------------------------------------------ For important statutory and regulatory disclosures and more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message. Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays Group for operational or business reasons. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. ------------------------------------------------------------------------
Luke Kanies
2007-Aug-31 05:11 UTC
Re: Command line vs config file override for configuration params
On Aug 30, 2007, at 3:12 AM, <Derek.Whayman@barclayscapital.com> <Derek.Whayman@barclayscapital.com> wrote:> I can work around it with --config /dev/null but is this intended > behaviour? I will file a bug report if necessary.It''s not intended behaviour. I think it''s part of a bug we''ve already discovered and filed, but feel free to file it and we can make sure. -- Take the utmost trouble to find the right thing to say, and then say it with the utmost levity. -- George Bernard Shaw --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Mark Phillips
2007-Aug-31 10:56 UTC
Re: Command line vs config file override for configuration params
On Thu, 30 Aug 2007, Derek.Whayman@barclayscapital.com wrote:> I have noticed that the $libdir (and probably the other configuration > options too) sources from puppet.conf are not overridden by specifying > --libdir=blah on the commmand line to puppet.Fixed in 0.23.2 - I had the same problem last week, updating fixes it. --Mark
<Derek.Whayman@barclayscapital.com>
2007-Aug-31 14:55 UTC
Re: Command line vs config file override for configuration params
Where have you got the RPMs from? Can''t see them on EPEL or David Lutterkort''s people page. Derek -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of Mark Phillips Sent: 31 August 2007 11:57 To: Puppet User Discussion Subject: Re: [Puppet-users] Command line vs config file override for configuration params On Thu, 30 Aug 2007, Derek.Whayman@barclayscapital.com wrote:> I have noticed that the $libdir (and probably the other configuration > options too) sources from puppet.conf are not overridden by specifying> --libdir=blah on the commmand line to puppet.Fixed in 0.23.2 - I had the same problem last week, updating fixes it. --Mark _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users ------------------------------------------------------------------------ For important statutory and regulatory disclosures and more information about Barclays Capital, please visit our web site at http://www.barcap.com. Internet communications are not secure and therefore the Barclays Group does not accept legal responsibility for the contents of this message. Although the Barclays Group operates anti-virus programmes, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Barclays Group. Replies to this email may be monitored by the Barclays Group for operational or business reasons. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group. ------------------------------------------------------------------------
David Lutterkort
2007-Aug-31 19:30 UTC
Re: Command line vs config file override for configuration params
On Fri, 2007-08-31 at 15:55 +0100, Derek.Whayman@barclayscapital.com wrote:> Where have you got the RPMs from? Can''t see them on EPEL or David > Lutterkort''s people page.For RHEL, they''re on my people page (and I just built them into EPEL, forgot that for some reason) For Fedora, they are built, and will show up on a mirror near you real soon now (for some reason, the fc7 packages is stuck in updates-testing even though I requested to have it pushed to updates, need to find out what is happening there) If anybody needs Fedora RPM''s on my page, let me know and I''ll throw them up there. David