Add an exec resource to set properly hostname on Rhel 7

On Rhel 7 set the hostname on files is not enough, so I've added an exec resource that run the new command hostnamectl to set the permanent hostname of the server.
An unless condition should avoid to run it at every run.