Issue #6773 has been updated by Markus Roberts.
Subject changed from Install Script Fails - Target Dir for Windows to Install
Script Fails; needs good default configdir for MS Windows
Status changed from Unreviewed to Accepted
The workaround for this would be to specify the directory on the command line;
e.g. something like:
C:\Projects\Puppet\puppet>ruby install.rb --confdir
C:\Projects\Puppet\etc\puppet\
which would make it a sibling of your source dir. This is just a
suggestion...it could be anything you wanted of course (provided the user
puppet is running as has the necessary rights); I have know idea what the "best
practices" location would be in the MS world.
You will likely need to do something analogous for other parameters.
----------------------------------------
Bug #6773: Install Script Fails; needs good default configdir for MS Windows
https://projects.puppetlabs.com/issues/6773
Author: Jay Flowers
Status: Accepted
Priority: High
Assignee:
Category: windows
Target version: 2.6.x
Affected Puppet version: 2.6.6
Keywords: windows install source
Branch:
When I run the install.rb script from source I get the following failure
message:
<pre>
C:\Projects\Puppet\puppet>ruby install.rb
Missing ronn; skipping man page creation
install.rb:92:in `mkdir': No such file or directory - /etc/puppet
(Errno::ENOENT)
from install.rb:92:in `do_configs'
from install.rb:492
</pre>
When I step through with the debugger it looks like this code might be what
needs to be addressed:
<pre>
265 if not InstallOptions.configdir.nil?
266 configdir = InstallOptions.configdir # <- This is not executed
267 else
268 configdir = "/etc/puppet" # <-This is executed
269 end
</pre>
I am not sure what is a good, or correct, value for a Widows platform
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.