Hello everyone! I will be very thankful if you can help me with an issue.
I have to develop the method to communicate on a distributed infrastructure for a server - client. The clients have to connect to the console (server) and if the console accepts the connection, it will send some source code to run on the client. The source code basically is written in python and it scans some ports. All the results have to be sent back to the console and they will be stored in a database. Only the console works with the database! It is also necessary a mechanism for heartbeat to know if there are some communication problems.
On other connections, the client must check its current version of the source code and if it is older it has to take the newest version.
I have to implement this mechanism using Chef (this is the preference) or Puppet. Can you give me some suggestions how to do that? Please.
I have started doing some tutorials with Chef, but I don’t know how to apply in my case.