-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
When I try to display the current iis_vdir resources on a windows server 2008 R2 system I get this error:
C:>puppet resource iis_vdir
Error: Could not run: undefined method `end_with?' for nil:NilClass
I think the problem is that the code is not correctly reading the iis_app property from the current settings.
As a workaround (but not a fix) I added this code:
if (iis_app.nil?)
self[:iis_app] = iis_app = name
end
just after the assignment to 'name' in the validate code of type/iis_vdir.rb This suppresses the validation and allows the code to run though the iis_app value is still missing from the output.
Metadata
Metadata
Assignees
Labels
No labels