Skip to content

Commit

Permalink
extracts jenkins plugins
Browse files Browse the repository at this point in the history
required for facter to actually know what plugins are installed. See voxpupuli#219
  • Loading branch information
fengor committed Jun 26, 2019
1 parent a6912b8 commit 83fe8e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion manifests/plugin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,14 @@
checksum_type => $checksum_type,
proxy_server => $::jenkins::proxy::url,
cleanup => false,
extract => false,
require => $plugindir,
notify => $notify,
extract => true,
extract_path => $jenkins::plugin_dir,
extract_command => "unzip %s -d ${::jenkins::plugin_dir}/${title}",
creates => "${::jenkins::plugin_dir}/${title}",
user => $::jenkins::user,
group => $::jenkins::group,
}
$archive_require = Archive[$plugin]
} else {
Expand Down

0 comments on commit 83fe8e5

Please sign in to comment.