GithubHelp home page GithubHelp logo

puppet-deploy_pe's People

Contributors

chrislorro avatar coreymbe avatar dylanratcliffe avatar gavindidrichsen avatar henrywangpuppet avatar jarretlavallee avatar m0dular avatar martyewings avatar

Watchers

 avatar  avatar

puppet-deploy_pe's Issues

Add pe.conf.epp customized tuning feature

Currently the pe.conf.epp has a hardcoded tuning set see

# Lab Performance tuning for 4GB of memory
"puppet_enterprise::profile::amq::broker::heap_mb": "96"
"puppet_enterprise::master::puppetserver::jruby_max_active_instances": 1
"puppet_enterprise::master::puppetserver::reserved_code_cache": "96m"
"puppet_enterprise::profile::master::java_args": {
"Xmx": "384m",
"Xms": "128m",
"XX:MaxPermSize": "=96m",
"XX:PermSize": "=64m",
"XX:+UseG1GC": ""
}
"puppet_enterprise::profile::puppetdb::java_args": {
"Xmx": "128m",
"Xms": "64m",
"XX:MaxPermSize": "=96m",
"XX:PermSize": "=64m",
"XX:+UseG1GC": ""
}
"puppet_enterprise::puppetdb::read_maximum_pool_size": 4
"puppet_enterprise::puppetdb::write_maximum_pool_size": 2
"puppet_enterprise::profile::console::java_args": {
"Xmx": "128m",
"Xms": "64m",
"XX:MaxPermSize": "=96m",
"XX:PermSize": "=64m",
"XX:+UseG1GC": ""
}
"puppet_enterprise::trapperkeeper::database_settings::activity::maximum_pool_size": 2
"puppet_enterprise::trapperkeeper::database_settings::classifier::maximum_pool_size": 2
"puppet_enterprise::trapperkeeper::database_settings::rbac::maximum_pool_size": 2
"puppet_enterprise::profile::console::delayed_job_workers": 1
"puppet_enterprise::profile::database::shared_buffers": "4MB"
"puppet_enterprise::profile::orchestrator::java_args": {
"Xmx": "128m",
"Xms": "128m",
"XX:+UseG1GC": ""
}
.

I've been using this to deploy primaries on vmpooler, platform9, etc and I would like to start out with a different set of tuning parameters for these.

It would be nice to introduce some sort of conditional injection of "default" parameters (for Vagrant, for Platform9, for Vmpooler) or maybe just some way to add a custom section.

All great stuff though @jarretlavallee!!

Update README

The readme is the default one and needs to be updated.

$version, $download_url mismatch

reference states :

version
Data type: Optional[String]

The PE version to download from the $base_url. The $version, $download_url, or $installer_tarball are mutually exclusive. Please choose only one option.

however when run with $download_url and without $version the following occurs:

Starting: plan deploy_pe::provision_master
Starting: command 'mktemp' on localhost
Finished: command 'mktemp' with 0 failures in 0.01 sec
Starting: file upload from /var/folders/gn/b6dngf814l364m90lqty_hyc0000gq/T/tmp.KFzGrVJy to /tmp/tmp.KFzGrVJy on ssh://10.234.1.211:22
Finished: file upload from /var/folders/gn/b6dngf814l364m90lqty_hyc0000gq/T/tmp.KFzGrVJy to /tmp/tmp.KFzGrVJy with 0 failures in 5.21 sec
Finished: plan deploy_pe::provision_master in 11.18 sec
{
  "kind": "bolt/pal-error",
  "msg": "'deploy_pe::master_package_name' parameter 'version' expects a String value, got Undef",
  "details": {
  }
}

Failure to install PE 2023

Due to the change in PE 2023 of moving from Java 11 -> Java 17 the default settings now result in a failure to install the aforementioned PE version. In particular this is due to pe.conf.epp defaulting to include tuning and utilizes parameters no longer recognized in Java 17. In particular the following:

  • MaxPermSize
  • PermSize
out: Mar 21 23:15:04 systemd[1]: Starting pe-puppetserver Service...
out: Mar 21 23:15:04 puppetserver[4297]: Unrecognized VM option 'MaxPermSize=96m'
out: Mar 21 23:15:04 puppetserver[4297]: Error: Could not create the Java Virtual Machine.
out: Mar 21 23:15:04 puppetserver[4297]: Error: A fatal exception has occurred. Program will exit.

Make the download source generic

The current download source is internal and needs to be updated for external users, or allow for using a file already on disk.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.