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

Cleaning up file definitions, flatterning templates directory structure #6

Merged
merged 1 commit into from
Feb 14, 2014

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Feb 13, 2014

and reducing dependencies.

@@ -35,6 +36,6 @@
],
}

Postgresql::Server::Role[$candlepin::db_user] -> Postgresql::Server::Database[$candlepin::db_name]
#Postgresql::Server::Role[$candlepin::db_user] -> Postgresql::Server::Database[$candlepin::db_name]
Copy link
Member

Choose a reason for hiding this comment

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

This was inspired by https://github.com/theforeman/puppet-foreman/blob/master/manifests/database/postgresql.pp#L25 , I'm not sure why, but it seems like something worth keeping (as the fact that it works now doesn't necessary mean that it works every time)

Choose a reason for hiding this comment

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

It's required as you're specifying owner here, so you have to ensure the user's created first.

@ehelms
Copy link
Member Author

ehelms commented Feb 13, 2014

@iNecas updated

@iNecas
Copy link
Member

iNecas commented Feb 13, 2014

ACK

mode => '0775',
owner => 'root',
group => 'tomcat',
} ->
Copy link
Member

Choose a reason for hiding this comment

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

Since puppet 2.7 files auto require their parents.

ehelms added a commit that referenced this pull request Feb 14, 2014
Cleaning up file definitions, flatterning templates directory structure
@ehelms ehelms merged commit 6a80309 into theforeman:master Feb 14, 2014
@ehelms ehelms deleted the cleanup branch February 14, 2014 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants