Bug #4311
puppetmasterd --genconfig shows factpath with File::PATH_SEPARATOR rather than colon
| Status: | Closed | Start date: | 07/21/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 2.6.1 | |||
| Affected Puppet version: | 2.6.0 | Branch: | http://github.com/jamtur01/puppet/tree/tickets/master/4311 | |
| Keywords: | puppetmasterd genconfig factpath File::PATH_SEPARATOR | |||
| Votes: | 0 |
Description
% export RUBYLIB=/opt/local/pkgs/puppet-0.25.5/lib:/opt/local/lib
% /opt/local/pkgs/puppet-0.25.5/sbin/puppetmasterd —genconfig|grep factpath
factpath = /var/lib/puppet/lib/facter/:/var/lib/puppet/facts
% export RUBYLIB=/opt/local/pkgs/puppet-2.6.0/lib:/opt/local/lib
% /opt/local/pkgs/puppet-2.6.0/sbin/puppetmasterd —genconfig|grep factpath
factpath = /var/lib/puppet/lib/facter/${File::PATH_SEPARATOR}/var/lib/puppet/facts
History
Updated by John Warburton almost 2 years ago
Also true for puppet —genconfig
Unfortunately I can’t edit the subject of the bug
Updated by Markus Roberts almost 2 years ago
- Status changed from Unreviewed to Accepted
- Target version set to 2.6.1
That’s sure a typo.
Updated by James Turnbull almost 2 years ago
- Status changed from Accepted to In Topic Branch Pending Review
- Branch set to http://github.com/jamtur01/puppet/tree/tickets/master/4311
Updated by John Warburton almost 2 years ago
Thanks! works for me now:
warbjoh@engncfm001% tar xzf jamtur01-puppet-2.6.0-4-gc03342e.tar.gz
warbjoh@engncfm001% mkdir /tmp/altroot
warbjoh@engncfm001% cd jamtur01-puppet-c03342e
warbjoh@engncfm001% cp -r sbin bin lib /tmp/altroot
root@engncfm001# export RUBYLIB=/tmp/altroot/lib:/opt/local/lib:/opt/local/lib/ruby/site_ruby/1.8
root@engncfm001# /tmp/altroot/sbin/puppetmasterd --genconfig|grep factpath
factpath = /var/lib/puppet/lib/facter:/var/lib/puppet/facts
Updated by Markus Roberts almost 2 years ago
- Status changed from In Topic Branch Pending Review to Closed
commit:0f9672a545ac057282b9add87ee602e3200d11de Fixed #4311 – Typo in defaults.rb