Skip to content

Commit

Permalink
Lint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Dec 15, 2012
1 parent d0777e2 commit 74cebe3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions puppet/modules/graphite/manifests/config.pp
Expand Up @@ -26,11 +26,9 @@
ensure => present
}

$htpasswd_path = '/etc/apache2/graphite.htpasswd'

exec { 'create-graphite-htpasswd':
command => "htpasswd -b -c ${htpasswd_path} ${auth}",
creates => $htpasswd_path,
command => "htpasswd -b -c ${graphite::params::htpasswd_path} ${graphite::params::auth}",
creates => $graphite::params::htpasswd_path,
require => Class['apache'],
logoutput => on_failure
}
Expand Down
1 change: 1 addition & 0 deletions puppet/modules/graphite/manifests/params.pp
Expand Up @@ -17,6 +17,7 @@
$storageroot = "${root}/storage"
$owner = 'www-data'
$auth = hiera('basic_auth', 'hdo hdo')
$htpasswd_path = '/etc/apache2/graphite.htpasswd'

$graphite_version = 'graphite-web-0.9.10'
$carbon_version = 'carbon-0.9.10'
Expand Down

0 comments on commit 74cebe3

Please sign in to comment.