Skip to content

Commit

Permalink
Release 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdowning committed Mar 14, 2015
1 parent b70bf4c commit 304c84e
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
- PUPPET_VERSION="3.4.3"
- PUPPET_VERSION="3.5.1"
- PUPPET_VERSION="3.6.2"
- PUPPET_VERSION="3.7.3"
- PUPPET_VERSION="3.7.4"
sudo: false
bundler_args: --without development
script: bundle exec rake spec SPEC_OPTS='--format documentation'
Expand Down
49 changes: 49 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,55 @@
CHANGELOG
=========

2.4.0
-----

* add $manage_backends parameter
* fixed erb for librato_source
* use selective file permissions
* update File ~> Service dependency

2.3.1
-----

* fix linting errors

2.3.0
-----

* Update specs for better coverage
* Parameterize service (disable, enable, ensure)
* Paramterize logfile location
* Update Vagrant config for Ubuntu
* Update Librato backend configuration with new params
* fix librato_snapTime to default to 10s

2.2.1
-----

* add rspec-puppet and code coverage to spec tests
* fix linting warnings on backends.pp

2.2.0
-----

* add stahnma-epel dependency
* use nobody:nogroup permissions for Ubuntu upstart script
* parameterize $statsd::config::configfile
* update Travis CI config
* fix linting, style warnings
* update Gemfile, Puppetfile, License, Readme, Rakefile
* split Vagrant config for CentOS and Ubuntu -- use latest Puppet Labs boxes for both

2.1.0
-----

* fix bug with service provider parameter
* add $nodejs_bin parameter for custom nodejs binary path (default: /usr/bin/node)
* add $configfile parameter for custom statsd config path (default: /etc/statsd/localConfig.js)
* add $package_name parameter for custom statsd package name (default: statsd)
* add $package_provider parameter for custom statsd package provider (default: npm)

2.0.1
-----

Expand Down
8 changes: 4 additions & 4 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
file { $configfile:
content => template('statsd/localConfig.js.erb'),
mode => '0644',
owner => 'root',
group => 'root',
owner => 'root',
group => 'root',
}

file { $statsd::init_location:
Expand All @@ -28,8 +28,8 @@

file { '/etc/default/statsd':
content => template('statsd/statsd-defaults.erb'),
owner => 'root',
group => 'root',
owner => 'root',
group => 'root',
mode => '0755',
}

Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
$service_ensure = $statsd::params::service_ensure,
$service_enable = $statsd::params::service_enable,

$manage_backends = $statsd::params::manage_backends,
$backends = $statsd::params::backends,
$debug = $statsd::params::debug,
$mgmt_address = $statsd::params::mgmt_address,
Expand Down Expand Up @@ -74,7 +75,6 @@
$package_provider = $statsd::params::package_provider,

$dependencies = $statsd::params::dependencies,
$manage_backends = $statsd::params::manage_backends,
) inherits statsd::params {

if $dependencies {
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
$service_ensure = 'running'
$service_enable = true

$manage_backends = true
$backends = [ './backends/graphite' ]
$debug = false
$mgmt_address = '0.0.0.0'
Expand Down Expand Up @@ -66,7 +67,6 @@
$config = { }

$dependencies = undef
$manage_backends = true

$package_name = 'statsd'
$package_provider = 'npm'
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jdowning-statsd",
"version": "2.3.1",
"version": "2.4.0",
"source": "https://github.com/justindowning/puppet-statsd",
"author": "Justin Downing",
"license": "Apache-2.0",
Expand Down

0 comments on commit 304c84e

Please sign in to comment.