Server IP : 111.118.215.189 / Your IP : 18.219.247.127 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/ruby/vendor_ruby/puppet/configurer/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
require 'puppet/configurer' # Factory for <tt>Puppet::Configurer::Downloader</tt> objects. # # Puppet's pluginsync facilities can be used to download modules # and external facts, each with a different destination directory # and related settings. # # @api private # class Puppet::Configurer::DownloaderFactory def create_plugin_downloader(environment) plugin_downloader = Puppet::Configurer::Downloader.new( "plugin", Puppet[:plugindest], Puppet[:pluginsource], Puppet[:pluginsignore], environment ) end def create_plugin_facts_downloader(environment) source_permissions = Puppet.features.microsoft_windows? ? :ignore : :use plugin_fact_downloader = Puppet::Configurer::Downloader.new( "pluginfacts", Puppet[:pluginfactdest], Puppet[:pluginfactsource], Puppet[:pluginsignore], environment, source_permissions ) end end