-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
CentOS Acceptance testing, and more.... #424
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nits
manifests/install.pp
Outdated
@@ -46,6 +40,21 @@ | |||
default => $python::virtualenv, | |||
} | |||
|
|||
if ($venv_ensure == 'present') { | |||
$dev_ensure = 'present' | |||
if ! $python::dev { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if !
can also be written as unless
manifests/install.pp
Outdated
@@ -46,6 +40,21 @@ | |||
default => $python::virtualenv, | |||
} | |||
|
|||
if ($venv_ensure == 'present') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer to leave out braces unless they are really needed
@@ -58,6 +58,7 @@ PrePush: | |||
enabled: true | |||
description: 'Run rake targets' | |||
targets: | |||
- 'validate' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you provide this change to https://github.com/voxpupuli/modulesync_config/blob/master/moduleroot/.overcommit.yml.erb as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @danquack ! |
Pull Request (PR) description
Enhancing #419, I added CentOS to the list of rake acceptances testing and README. In doing so I encounted the error in comments, and so therefore modified the install, that if you include a virtual environment, you must have the development package.
External to the issues described below, I also modified the overcommit file to add puppet validation.
This Pull Request (PR) fixes the following issues
Fixes #423
Fixes #402