简体   繁体   中英

Use Puppet to test connection of Oracle database

My application needs Oracle database as a pre-requisite. 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. Any one know how to do it with 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.

This seems like it might help:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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