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