Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

MSSQL Support #18

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

MSSQL Support #18

wants to merge 25 commits into from

Conversation

prikkeldraad
Copy link

@prikkeldraad prikkeldraad commented Mar 29, 2017

Added support for MSSQL
Fixed validation queries for PostgrSQL and MSSQL
Linted some failing Travis tests
Fix untitests and regex on URL's and IP
Test on logdir added

Copy link
Owner

@joshbeard joshbeard left a comment

Choose a reason for hiding this comment

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

I appreciate this contribution and apologize for never responding.

If you're still interested, would you be willing to rebase your branch from master, squashing/fixup commits as appropriate and address any comments I've left?

Thank you!

@@ -16,7 +16,6 @@
password => $crowd::password,
password_min_age => '0',
password_max_age => '99999',
managehome => false,
Copy link
Owner

Choose a reason for hiding this comment

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

Unrelated change. If this needs to be optional, a separate PR or issue can be opened.


validate_bool($download_driver)
if $db == 'mysql' {
validate_re($mysql_driver, '^((https?|ftps?):\/\/)([\da-z\.-]+)\.?([\da-z\.]{2,6})([\/\w \.\:-]*)*\/?\.jar$')
validate_re($mysql_driver, '^((https?|ftps?|puppet?):\/\/\/?)(([\da-z\.-]+)\.?([\da-z\.]{2,6}):?([\/\w \.-]*)*\/?\.jar$)')
# validate_re($mysql_driver, '^((https?|ftps?|puppet?):\/\/\/?)([\da-z\.-]+)\.?([\da-z\.]{2,6})([\/\w \.\:-]*)*\/?\.jar$')
Copy link
Owner

Choose a reason for hiding this comment

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

Please uncomment/remove what isn't used here.

@@ -83,11 +85,13 @@
validate_string($password)
validate_absolute_path($shell)

validate_re($download_url, '^((https?|ftps?):\/\/)([\da-z\.-]+)\.?([\da-z\.]{2,6})([\/\w \.\:-]*)*\/?$')
validate_re($download_url, '^((https?|ftps?|puppet?):\/\/\/?)(([\da-z\.-]+)\.?([\da-z\.]{2,6})(:?)([\/\w \.-]*)*\/?)??$')
# validate_re($download_url, '^((https?|ftps?|puppet?):\/\/\/?)(([\da-z\.-]+)\.?([a-z\.]{2,6})([\/\w \.-]*)*\/)??$')
Copy link
Owner

Choose a reason for hiding this comment

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

Please uncomment/remove what isn't used here.

@@ -46,6 +46,8 @@
$iddbname = 'crowdid',
$iddbport = undef,
$iddbdriver = undef,
# $iddbvalidationquery = undef,
# $iddbhybernatedialect = undef,
Copy link
Owner

Choose a reason for hiding this comment

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

Please uncomment/remove what isn't used here.

@@ -83,10 +82,15 @@
group => $crowd::group,
}

# symlink all logfiles to logging directory
Copy link
Owner

Choose a reason for hiding this comment

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

This doesn't fit in this PR (unrelated). Some work's been done in recent commits to customize the logging directory.

"issues_url": "https://github.com/joshbeard/puppet-crowd/issues",
"source": "https://github.com/prikkeldraad/puppet-crowd",
"project_page": "https://github.com/prikkeldraad/puppet-crowd",
"issues_url": "https://github.com/prikkeldraad/puppet-crowd/issues",
Copy link
Owner

Choose a reason for hiding this comment

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

These shouldn't change.

'ensure' => 'link',
'target' => '/var/log/crowd'
})}

Copy link
Owner

Choose a reason for hiding this comment

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

Please remove (see other comment about unrelated change)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants