Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdowning committed Nov 16, 2016
1 parent 1bc11c1 commit ba93ebd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$node_module_dir = $statsd::params::node_module_dir,
$nodejs_bin = $statsd::params::nodejs_bin,
$npm_bin = $statsd::params::npm_bin,
$env_append = $statsd::params::sysconfig_append,
$env_append = $statsd::params::env_append,

$port = $statsd::params::port,
$address = $statsd::params::address,
Expand Down
3 changes: 2 additions & 1 deletion spec/classes/statsd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@

it { should contain_file('/etc/statsd') }
it { should contain_file('/etc/statsd/localConfig.js') }
it { should contain_file('/etc/default/statsd') }
it { should contain_file('/var/log/statsd') }
it { should contain_file('/usr/local/sbin/statsd') }

if osfamily == 'Debian'
it { should contain_file('/etc/default/statsd') }
it { should contain_file('/etc/init/statsd.conf') }
end

if osfamily == 'RedHat'
it { should contain_file('/etc/sysconfig/statsd') }
it { should contain_file('/etc/init.d/statsd') }
end

Expand Down

0 comments on commit ba93ebd

Please sign in to comment.