zend-patterns / ZendServerPuppet

ZendServerPuppet
Apache License 2.0
6 stars 16 forks source link

Actions don't support capital (uppercase) letters in name #48

Closed ubellavance closed 7 years ago

ubellavance commented 7 years ago

application and vhost defines don't work when the name contains a capital letter. Well, it works, but the getvar that gets the name of the already-defined objects (app or vhost) doesn't trap it, so puppet tries to create the objects every time, which throws an error because it already exists. Workaround is to use simple names that are all lowercase.

ubellavance commented 7 years ago

@mkherlakian did you experience this problem with the chef cookbook?

mkherlakian commented 7 years ago

hmm doesn't ring a bell, but does seem to be more Zend Server related than config provisioning related. I'll investigate and open up a bug as needed.

ubellavance commented 7 years ago

When I tried with all caps, it worked, si it's a bit weird.

ubellavance commented 7 years ago

Fixed in #50. It is because puppet facts are always sent to the system in lowercase.