zend-patterns / ZendServerPuppet

ZendServerPuppet
Apache License 2.0
6 stars 16 forks source link

application not working #34

Closed ubellavance closed 7 years ago

ubellavance commented 7 years ago

RHEL7/ZS9.1/PHP7.1

When defining an application, it works the first time, but doesn't work the second time. It gives this error:Application named app1 already exists. It looks that it checks if the application exists via facts, but it doesn't seem to be working. I don't see in the code where it creates the facts, but maybe I just don't see it. I think that not all the files in https://github.com/zend-patterns/ZendServerPuppet/tree/master/facts.d are pushed to the clients. This might be the cause.

ubellavance commented 7 years ago

It looks like the facts.d scripts are not run all the time. I don't know why. Maybe because I'm running the agent without a server?

ubellavance commented 7 years ago

I tested with a puppet server and the facts are seen by the client, so I'm closing this issue.

ubellavance commented 7 years ago

I must have tested after doing a cp /.zsapi.ini /root/ because it doesn't work by default.

ubellavance commented 7 years ago

Should be fixed by #40 in eee130b.