def install_package(self, client, package):
try:<EOL><INDENT>out = self.distro.install_package(client, package)<EOL><DEDENT>except Exception as error:<EOL><INDENT>raise IpaCloudException(<EOL>'<STR_LIT>'.format(<EOL>package, error<EOL>)<EOL>)<EOL><DEDENT>else:<EOL><INDENT>self._write_to_log(out)<EOL><DEDENT>
Install package using distro specific install method.