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

remove limitation on http max-row-limit #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,20 @@ else
end

group :development, :test do
gem 'rake', require: false
gem 'rspec', require: false
gem 'rspec-puppet', require: false
gem 'puppetlabs_spec_helper', require: false
gem 'puppet-lint', require: false
gem 'simplecov', require: false
gem 'puppet_facts', require: false
gem 'json_pure', '~> 1.8', require: false
gem 'json', require: false
gem 'metadata-json-lint', require: false
gem 'rspec-puppet-facts', require: false
gem 'rubocop', '~> 0.47.0', require: false if RUBY_VERSION >= '2.3.0'
gem 'rubocop-rspec', '~> 1.10.0', require: false if RUBY_VERSION >= '2.3.0'
gem 'rake', require: false
gem 'rspec', require: false
gem 'rspec-puppet', require: false
gem 'puppetlabs_spec_helper', require: false
gem 'puppet-lint', require: false
gem 'simplecov', require: false
gem 'puppet_facts', require: false
gem 'json_pure', '~> 1.8', require: false
gem 'json', require: false
gem 'rspec-puppet-facts', require: false
gem 'metadata-json-lint', '1.2.2', require: false if RUBY_VERSION.to_f == 2.1
gem 'metadata-json-lint', '1.1.0', require: false if RUBY_VERSION.to_f <= 1.9
gem 'rubocop', '~> 0.47.0', require: false if RUBY_VERSION >= '2.3.0'
gem 'rubocop-rspec', '~> 1.10.0', require: false if RUBY_VERSION >= '2.3.0'
end

group :system_tests do
Expand Down
12 changes: 6 additions & 6 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
$manage_repos = $influxdb::params::manage_repos,
) inherits influxdb::params {

anchor { 'influxdb::start': } ->
class { 'influxdb::install': } ->
class { 'influxdb::config': } ->
class { 'influxdb::service': } ->
anchor { 'influxdb::end': }

contain ::influxdb::install
contain ::influxdb::config
contain ::influxdb::service
Class[::influxdb::install]
-> Class[::influxdb::config]
-> Class[::influxdb::service]
}
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
'https-certificate' => '/etc/ssl/influxdb.pem',
'https-private-key' => '',
'shared-sercret' => '',
'max-row-limit' => 10000,
'max-row-limit' => 0,
'max-connection-limit' => 0,
'unix-socket-enabled' => false,
'bind-socket' => '/var/run/influxdb.sock',
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class { 'influxdb':
'https-certificate' => esc_regex('"/etc/ssl/influxdb.pem"'),
'https-private-key' => '',
'shared-sercret' => '',
'max-row-limit' => 10_000,
'max-row-limit' => 0,
'max-connection-limit' => 0,
'unix-socket-enabled' => false,
'bind-socket' => esc_regex('"/var/run/influxdb.sock"')
Expand Down
2 changes: 0 additions & 2 deletions spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
let(:facts) { facts }

describe 'with default params' do
it { is_expected.to contain_anchor('influxdb::start') }
it { is_expected.to contain_class('influxdb::params') }
it { is_expected.to contain_class('influxdb') }
it { is_expected.to contain_class('influxdb::install') }
it { is_expected.to contain_class('influxdb::config') }
it { is_expected.to contain_class('influxdb::service') }
it { is_expected.to contain_anchor('influxdb::end') }

it { is_expected.to compile.with_all_deps }
end
Expand Down