Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #31 from hajee/fix_exec
Browse files Browse the repository at this point in the history
exec needs full path to wget
  • Loading branch information
alvagante committed Jul 7, 2015
2 parents f5692b3 + 107c3e0 commit ec2f1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Expand Up @@ -358,7 +358,7 @@
}

exec { 'splunk_get_package':
command => "wget \'${splunk::install_source}' -O ${splunk::basedir}/${package_provider}/${package_filename}",
command => "/usr/bin/wget \'${splunk::install_source}' -O ${splunk::basedir}/${package_provider}/${package_filename}",
creates => "${splunk::basedir}/${package_provider}/${package_filename}",
before => Package['splunk'],
}
Expand Down Expand Up @@ -397,7 +397,7 @@
exec { 'splunk_first_time_run':
command => "${splunk::basedir}/bin/splunk --accept-license enable boot-start --answer-yes --no-prompt",
require => Package['splunk'],
onlyif => "test -f ${splunk::basedir}/ftr",
onlyif => "/usr/bin/test -f ${splunk::basedir}/ftr",
}

# Setting of forward_server for forwarders
Expand Down

0 comments on commit ec2f1c9

Please sign in to comment.