Skip to content

Commit

Permalink
Merge pull request netflower#1 from chadq/master
Browse files Browse the repository at this point in the history
Ensure remote_syslog install path exists
  • Loading branch information
chadq committed Feb 5, 2016
2 parents fc174fc + d481d3d commit 90b611e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@
destination => $temp_file,
}

file { "${remote_syslog2::params::install_dir}/remote_syslog":
ensure => directory,
} ->
exec { 'unzip_remote_syslog2':
command => "tar -zxf ${temp_file}",
cwd => $remote_syslog2::params::install_dir,
creates => "${remote_syslog2::params::install_dir}/remote_syslog",
creates => "${remote_syslog2::params::install_dir}/remote_syslog/remote_syslog",
subscribe => Wget::Fetch[$url],
refreshonly => true,
}
Expand Down

0 comments on commit 90b611e

Please sign in to comment.