Class: Chef::Resource::PostgresqlDatabase
- Inherits:
-
Database
- Object
- Chef::Resource
- Database
- Chef::Resource::PostgresqlDatabase
- Defined in:
- lib/cookbooks/database/libraries/resource_postgresql_database.rb
Instance Method Summary collapse
-
#initialize(name, run_context = nil) ⇒ PostgresqlDatabase
constructor
A new instance of PostgresqlDatabase.
Methods inherited from Database
#collation, #connection, #connection_limit, #database_name, #encoding, #owner, #sql, #sql_query, #tablespace, #template
Constructor Details
#initialize(name, run_context = nil) ⇒ PostgresqlDatabase
Returns a new instance of PostgresqlDatabase.
27 28 29 30 31 |
# File 'lib/cookbooks/database/libraries/resource_postgresql_database.rb', line 27 def initialize(name, run_context=nil) super @resource_name = :postgresql_database @provider = Chef::Provider::Database::Postgresql end |