简体   繁体   English

使用Puppet测试Oracle数据库的连接

[英]Use Puppet to test connection of Oracle database

My application needs Oracle database as a pre-requisite. 我的应用程序需要Oracle数据库作为先决条件。 So before install my app, I prepare a property file like below: 因此,在安装我的应用程序之前,我准备如下属性文件:

DB_CONNECTION_STRING=oracle_server:1526:SID
USER_NAME=xxxx
USER_PSWD=xxxx

I want to configure Puppet to check the availablity of Oracle database before deployment. 我想配置Puppet在部署之前检查Oracle数据库的可用性。 Any one know how to do it with Puppet? 有人知道如何用Puppet吗?

Any Puppet expert here to help please? 这里有任何伪专家可以帮助您吗? To rephase, this is how to use Puppet to read the property file and use the properties to try to connect a remote Oracle database. 要重定阶段,这是使用Puppet读取属性文件并使用这些属性尝试连接远程Oracle数据库的方法。

This seems like it might help: 看来这可能会有所帮助:

https://github.com/stschulte/puppet-oracle https://github.com/stschulte/puppet-oracle

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM