7/1/2023 0 Comments Jira client gem![]() Package provider shipped in puppetlabs-puppetserver_gem You can manage Puppet Server’s gem dependencies with the Upstream sources, and uses the listed http_proxy, which you can confirm: $ puppetserver gem environment | grep proxyĪs with the rest of Puppet Server’s configuration, we recommend managing these This configures the listed :sources as the puppetserver gem command’s Which you can use to configure upstream sources or proxy settings. The puppetserver gem command also respects the running user’s ~/.gemrc file, Or, if you’re running from source: $ lein gem -c ~/.puppetserver/nf list The puppetserver gem command is simply a wrapper around the usual Ruby gemĬommand, so all of the usual arguments and flags should work as expected.įor example, to show your locally installed gems, run: $ puppetserver gem list If you want Puppet Server to loadĪdditional gems, use the Puppet Server-specific gem command to install them.įor example, to install the foobar gem, use: $ sudo puppetserver gem install foobar -no-ri -no-rdoc ![]() JRuby interpreter, so that it doesn’t load any gems or other code that We isolate the Ruby load paths that are accessible to Puppet Server’s Re-populated the next time rake spec is run in your working copy. The directory may be safely removed and it will be This directory is automatically populated by the rake spec task if it does Using rake spec from the project root is. The value of GEM_HOME when starting the puppetserver JRuby spec tests Gems when running Puppet Server spec tests The value of GEM_HOME when starting the puppetserver process from the Gems when running Puppet Server from source This directory does not exist by default. The value of GEM_HOME when starting the puppetserver process as root usingĪ packaged version of puppetserver is: /opt/puppetlabs/puppet/cache/jruby-gems Gems with packaged versions of Puppet Server ![]() Variable also controls the arguments used when running the puppetserver rubyĪnd puppetserver irb subcommands. Note: Starting with Puppet Server 2.7.1, you can set custom JavaĪrguments for the puppetserver gem command via the JAVA_ARGS_CLIĮnvironment variable, either temporarily on the command line or persistentlyīy adding it to the sysconfig/default file. Puppet Server will not load gems from user specified GEM_HOME and GEM_PATHĮnvironment variables because puppetserver unsets GEM_PATH and manages Pose any problems because JRuby is highly compatible with vanilla Ruby. For the vast majority of cases this shouldn’t Generally speaking, this only affects custom parser functions, If you have server-side Ruby code in your modules, Puppet Server will run it SSL problems with load-balanced PuppetDB.Applying metrics to improve performance.Using an external certificate authority.Migrating deprecated authentication rules.Notable differences vs. the Apache/Passenger stack.
0 Comments
Leave a Reply. |