Issue #6773 has been updated by Jay Flowers.

The registry can be useful but is by no mean where you are supposed to put 
configuration.  The standard for a .Net application is to use a configuration 
file.  Management and reading of the confute file has was made so easy in the 
first version on .Net that you almost always see it being used over the 
registry.  I have no doubt the right thing to do here is continue with a 
configuration file.  We just need to decide where to put it so that it is not a 
surprise, so that it meets with expectations of our users.
----------------------------------------
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.

Reply via email to