Merge "Add missing Gemfile to the project"
This commit is contained in:
commit
9b833810f5
31
Gemfile
Normal file
31
Gemfile
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem 'puppetlabs_spec_helper', :require => false
|
||||||
|
|
||||||
|
gem 'metadata-json-lint'
|
||||||
|
# This is nice and all, but let's not worry about it until we've actually
|
||||||
|
# got puppet 4.x sorted
|
||||||
|
# gem 'puppet-lint-param-docs'
|
||||||
|
gem 'puppet-lint-absolute_classname-check'
|
||||||
|
gem 'puppet-lint-absolute_template_path'
|
||||||
|
gem 'puppet-lint-trailing_newline-check'
|
||||||
|
|
||||||
|
# Puppet 4.x related lint checks
|
||||||
|
gem 'puppet-lint-unquoted_string-check'
|
||||||
|
# Disable it because we use empty string checks
|
||||||
|
#gem 'puppet-lint-empty_string-check'
|
||||||
|
gem 'puppet-lint-leading_zero-check'
|
||||||
|
gem 'puppet-lint-variable_contains_upcase'
|
||||||
|
gem 'puppet-lint-spaceship_operator_without_tag-check'
|
||||||
|
gem 'puppet-lint-undef_in_function-check'
|
||||||
|
|
||||||
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
||||||
|
gem 'puppet', puppetversion, :require => false
|
||||||
|
else
|
||||||
|
gem 'puppet', '~> 3.0', :require => false
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
# vim:ft=ruby
|
@ -3,14 +3,14 @@
|
|||||||
class etherpad_lite::site (
|
class etherpad_lite::site (
|
||||||
$database_password,
|
$database_password,
|
||||||
$etherpad_title,
|
$etherpad_title,
|
||||||
$sessionKey = '',
|
$session_key = '',
|
||||||
$dbType = 'mysql',
|
$db_type = 'mysql',
|
||||||
$database_user = 'eplite',
|
$database_user = 'eplite',
|
||||||
$database_name = 'etherpad-lite',
|
$database_name = 'etherpad-lite',
|
||||||
$database_host = 'localhost'
|
$database_host = 'localhost'
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include etherpad_lite
|
include ::etherpad_lite
|
||||||
|
|
||||||
$base = $etherpad_lite::base_install_dir
|
$base = $etherpad_lite::base_install_dir
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ class etherpad_lite::site (
|
|||||||
require => Class['etherpad_lite'],
|
require => Class['etherpad_lite'],
|
||||||
}
|
}
|
||||||
|
|
||||||
include logrotate
|
include ::logrotate
|
||||||
logrotate::file { 'epliteerror':
|
logrotate::file { 'epliteerror':
|
||||||
log => "${base}/${etherpad_lite::ep_user}/error.log",
|
log => "${base}/${etherpad_lite::ep_user}/error.log",
|
||||||
options => [
|
options => [
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
|
|
||||||
// Session Key, used for reconnecting user sessions
|
// Session Key, used for reconnecting user sessions
|
||||||
// Set this to a secure string at least 10 characters long. Do not share this value.
|
// Set this to a secure string at least 10 characters long. Do not share this value.
|
||||||
"sessionKey" : "<%= @sessionKey %>",
|
"sessionKey" : "<%= @session_key %>",
|
||||||
|
|
||||||
//The Type of the database. You can choose between dirty, sqlite and mysql
|
//The Type of the database. You can choose between dirty, sqlite and mysql
|
||||||
//You should use mysql or sqlite for anything else than testing or development
|
//You should use mysql or sqlite for anything else than testing or development
|
||||||
"dbType" : "<%= @dbType %>",
|
"dbType" : "<%= @db_type %>",
|
||||||
//the database specific settings
|
//the database specific settings
|
||||||
"dbSettings" : {
|
"dbSettings" : {
|
||||||
"user" : "<%= @database_user %>",
|
"user" : "<%= @database_user %>",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user