-
Notifications
You must be signed in to change notification settings - Fork 12
MSSQL Support #18
base: master
Are you sure you want to change the base?
MSSQL Support #18
Conversation
Conflicts: metadata.json
Updated Preface with license and upgrade information. Added DB types to iddb.
Updated metadata
…t hybernate dialect in init instead of template
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 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, |
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.
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$') |
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.
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 \.-]*)*\/)??$') |
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.
Please uncomment/remove what isn't used here.
@@ -46,6 +46,8 @@ | |||
$iddbname = 'crowdid', | |||
$iddbport = undef, | |||
$iddbdriver = undef, | |||
# $iddbvalidationquery = undef, | |||
# $iddbhybernatedialect = undef, |
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.
Please uncomment/remove what isn't used here.
@@ -83,10 +82,15 @@ | |||
group => $crowd::group, | |||
} | |||
|
|||
# symlink all logfiles to logging directory |
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.
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", |
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.
These shouldn't change.
'ensure' => 'link', | ||
'target' => '/var/log/crowd' | ||
})} | ||
|
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.
Please remove (see other comment about unrelated change)
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