Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(MODULES-1153) Add database comment parameter #551

Merged
merged 1 commit into from
Feb 4, 2015

Conversation

juniorsysadmin
Copy link
Contributor

This commit adds a comment parameter to postgresql::server::db so that one can add a database description using PostgreSQL's COMMENT command.

Refer to the following links for documentation on the queries used:
http://www.postgresql.org/docs/8.1/static/sql-comment.html
http://stackoverflow.com/questions/11493978/how-to-retrieve-the-comment-of-a-postgresql-database
http://www.postgresql.org/docs/current/interactive/functions-info.html#FUNCTIONS-INFO-COMMENT-TABLE

@igalic
Copy link
Contributor

igalic commented Jan 27, 2015

👍


ping @cmurphy this looks trivial enough to be merged

@@ -10,6 +10,7 @@ class { 'postgresql::server': }
location => '#{tmpdir}',
} ->
postgresql::server::db { 'postgresql_test_db':
comment => 'testcomment',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the indentation here?

@juniorsysadmin
Copy link
Contributor Author

The comment indentation has been fixed.

cmurphy added a commit that referenced this pull request Feb 4, 2015
(MODULES-1153) Add database comment parameter
@cmurphy cmurphy merged commit 7a5a298 into puppetlabs:master Feb 4, 2015
@juniorsysadmin juniorsysadmin deleted the database-comment branch February 4, 2015 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants