Information about the hosts is placed into hiera database. And then
records about hosts created in hosts file by calling
puppet "create_resources". To make the code more concise the method
Puppet.executeInline was added.
Change-Id: Ib350e4833a992bc112731df94bba217bf84f0d0a