Ask Your Question
0

using 'example.com' as iis module application pool name

asked 2017-06-26 10:56:02 -0500

user3234 gravatar image

I'm trying to create an app pool with the name of 'example.com' using the puppetlabs iis module - https://forge.puppet.com/puppetlabs/iis

It's throwing an error saying 'name is not a valid web site name at...'

If I remove the period, '.', it works. Is there a way for me to use it in the name without it throwing an error?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-28 09:07:56 -0500

user3234 gravatar image

updated 2017-06-28 14:16:07 -0500

DarylW gravatar image

Figured it out:

open files lib/puppet/type/iis_application_pool.rb and /lib/puppet/type/iis_site.rb, and /lib/puppet/type/iis_application.rb in the module find the errors "name is not a valid web site name" change the regex to: ^[\\.a-zA-Z0-9\\-\\_'\\s]+$

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-06-26 10:56:02 -0500

Seen: 42 times

Last updated: Jun 28