Skip to content

Commit

Permalink
Merge pull request #96 from stephenrjohnson/master
Browse files Browse the repository at this point in the history
conf.d should be a directory not a file
  • Loading branch information
jamtur01 committed Jul 16, 2013
2 parents 4650cbc + 554c353 commit 515f55f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/package.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

if $purge_config {
file { '/etc/sensu/conf.d':
ensure => directory,
purge => true,
recurse => true,
force => true,
Expand Down
1 change: 1 addition & 0 deletions spec/classes/sensu_package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
let(:params) { { :purge_config => true } }

it { should contain_file('/etc/sensu/conf.d/').with(
'ensure' => 'directory',
'purge' => 'true',
'recurse' => 'true',
'force' => 'true'
Expand Down

0 comments on commit 515f55f

Please sign in to comment.