All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v2.0.0 (2019-06-01)
Breaking changes:
- modulesync 2.7.0 and drop puppet 4 #908 (bastelfreak)
- modulesync 2.4.0 + drop Ubuntu 14.04 #879 (bastelfreak)
Implemented enhancements:
- Allow slave defaults management to be optional #619
- Update jenkins::slave::java_args to be an array. #573
- resurrect PR #467: Support FileCredentialsImpl in jenkins_credentials native type #529
- Default to running beaker tests on EC2 #401
- Including group parameter for jenkins slave #361
- Initscripts shouldn't call su/runuser as login shell #287
- Add puppet-doc-lint #178
- Darwin/osx support #112
- Add browserstack credentials support #897 (vStone)
- Add support for GoogleRobotPrivateKeyCredentials #861 (thaiphv)
- Run apt_update when defining debian repos #821 (beezly)
- Feature/job replace parameter #759 (vStone)
Fixed bugs:
- archive type not failing on HTTP 404s #783
- slave password authentication broken #714
- Credentials plugin hard coded #665
- puppet_helper.groovy throws java.lang.ClassNotFoundException: hudson.tasks.Mailer.UserProperty #633
- puppet_helper.groovy throwing error.. No such property: cred for class: Actions #624
- Won't install alongside puppetlabs-mysql #623
- uninitialized constant json when using Jenkins_credentials provider #617
jenkins\_user
experimental password setting is broken #499- Ensure $::jenkins::localstatedir to Directory Breaks Filesystem's With Symlinked Mounts #403
- repo::debian.pp does not work with apt module >= 2.0.0 #402
- Jenkins Plugin manifest are now readable since it has got some invalid byte sequence in US-ASCII #265
- Default INFO logging makes jenkins cli output messages that are then … #907 (jhooyberghs)
Closed issues:
- jenkins cli broken with latest LTS 2.164.1 ? #905
- Recent Jenkins version may have broken the CLI #896
- Duplicated declaration #880
- New tag? #876
- disable anonymous read when jenkins_authorization_strategy { 'hudson.security.FullControlOnceLoggedInAuthorizationStrategy': #867
- "Triage Meeting" on Monday 2018-02-19 @ 1600UTC #850
- Passwords aren't quoted properly in jenkins-run.erb #836
- Transfer to Vox Pupuli? #828
- Error: Invalid or corrupt jarfile /usr/lib/jenkins/jenkins-cli.jar #827
- A Catalog type is required. at /etc/puppetlabs/code/modules/jenkins/manifests/cli.pp:46:37 #826
- Release a new version in Puppet Forge #825
- Private key passing issue with Groovy through jenkins pipeline #817
- Missing dependency for
Exec\['reload-jenkins'\]
#813 - jenkins service restart on each puppet run under Redhat 7 #807
- Module puppetlabs/transition required for Debian/Ubuntu nodes #799
- Replace darin/zypprepo with puppet/zypprepo #798
- Remove puppetlabs/apt from hard dependencies #786
- code deploy fails when we add mod 'rtyler-jenkins', '0.3.1' to puppetfile #777
- Release the software in accordance with semantic versioning #770
- Ensure Jenkins::slave failed. #769
- Prevents upgrade of puppetlabs-java module to 2.0.0 #767
- plugins should not reinstall themselves if they are already installed #766
- Commit breaks tests #753
- puppet_helper.groovy uses deprecated remoting mode #749
- Plugin gets reinstalled and restarts Jenkins on Puppet daemon run but NOT manual run #748
- When running with "umask 027" /usr/lib/jenkins/jenkins-cli.jar will be unusable by others #744
- allow jenkins::repo to run in another stage #741
- Swarm 3.3 download URL doesn't exist #739
- The SSL certificate has expired for https://updates.jenkins-ci.org #726
- jenkins-slave exposes password as command argument #700
- Issue with puppetlabs-apt 2.3.0 #686
- The job xml is stored in /tmp #683
- Keeps want to recreate users on every run #682
- Successful installation/setup, unsuccessful login #681
- Duplicate declaration: Jenkins::Plugin[credentials] is already declared #680
- setting security is not idempotent #673
- 'digest_type' default of 'sha1' is causing all plugins to install repeatedly #668
- puppet_helper.groovy throws an error with unsupported credentials #664
- $::jenkins::libdir is undef in jenkins::cli class #654
- Unsuccessful Installation #647
- jenkins::plugins doesn't work properly with puppet 4.6.2 #637
- Allow virtual jenkins host #630
- Ability to send in swarm flags (i.e. deleteExistingClients) to jenkins::slave #616
- Authentication failed. No private key accepted. #602
- Experimental Resource Types not working on Java Puppetmaster (jRuby) #597
- no ordering in config_hash #443
- using jenkins::job with jenkins::cli_helper ends up in dependency loop #258
Merged pull requests:
- Allow
puppetlabs/stdlib
6.x,puppetlabs/java
4.x andpuppet/archive
4.x #914 (alexjfisher) - Update metadata for Vox Pupuli release #912 (pillarsdotnet)
- Allow puppetlabs/apt 7.x #911 (dhoppe)
- Replace
merge
function with+
#909 (alexjfisher) - split examples about error and idempotency as much as possible #900 (Dan33l)
- fix unreferenced variables; add puppet5/6 support #898 (bastelfreak)
- Add show_diff parameter to pass to augeas resource #895 (zipkid)
- Replace is_array with Puppet 4 native comparision #894 (baurmatt)
- Adding SLES to supported platforms #893 (msurato)
- fix puppet_helper.groovy exception when listing users on recent jenkins versions #889 (jhoblitt)
- Pass java_cmd to start_slave.sh (OS X) #887 (hlaf)
- allow puppetlabs/stdlib 5.x #886 (bastelfreak)
- Allow custom location for slave JAVA command #883 (esalberg)
- Fix small typo in jenkins-slave-defaults.erb #881 (danedf)
- partial modulesync 1.9.2 #874 (bastelfreak)
- partial modulesync 1.9.2 #873 (bastelfreak)
- puppet-lint: autofix #872 (bastelfreak)
- notify service containing class instead of service resource #871 (jhoblitt)
- fix native type idempotency with github-oauth plugin #870 (jhoblitt)
- drop EOL OSs; fix puppet version range #869 (bastelfreak)
- bump lower puppet version to 4.10.0 #864 (bastelfreak)
- allow camptocamp/systemd 2.X #859 (bastelfreak)
- 4 more rubocop fixes #852 (alexjfisher)
- RFC: Remove dead JPM code #849 (alexjfisher)
- More rubocop fixes #848 (alexjfisher)
- Fix all remaining auto-fixable rubocop violations #847 (alexjfisher)
- Disable rubocop for okjson.rb and resync from upstream. Fix Rubocop Style/RegexpLiteral #845 (alexjfisher)
- More Rubocop fixes #843 (alexjfisher)
- add pending to AWSCredentialsImpl and GitLabApiTokenImpl #842 (TomRitserveldt)
- Feature/slave tunnel #840 (jhooyberghs)
- Bugfix/dependency 813 #838 (jhooyberghs)
- [828] Change badge url after transferring the repo to voxpopuli #837 (v1v)
- Fixes password quoting for jenkins.run template #835 (tthayer)
- Cleanup the .travis.yml for a modulesync #834 (bastelfreak)
- Fixes for 21 different rubocop cop violations #831 (alexjfisher)
v1.7.0 (2016-08-18)
Implemented enhancements:
- Update jenkins::slave::labels to be an array. #572
- jenkins_job unable to pretech jobs contained in folders #541
- Missing proxy support for jenkins::slave #442
- puppet module conflict with camptocamp/archive #427
- validate all DSL class/define params #392
- Credential types #373
- Jenkins::Slave wget needs proxy configuration #248
- Update plugin if it already installed #11
- jenkins 2.x support #611 (jhoblitt)
- -- #573: Convert jenkins::slave::java_args to support both strings and arrays. #604 (madelaney)
- Escape +'s when grepping through jenkins plugin version numbers #599 (cliff-svt)
- -- #572: Converted the jenkins slave labels param to accept a string … #591 (madelaney)
- rubocop #552 (jhoblitt)
- allow master + swarm client to coexist on the same node #545 (jhoblitt)
- multiple jenkins_job type improvements #544 (jhoblitt)
- make jenkins_job type cloudbees-folder aware #540 (jhoblitt)
- add StringCredentialsImpl support to jenkins_credentials #531 (jhoblitt)
- bump swarm plugin/client versions to 2.0 #528 (jhoblitt)
- use puppet/archive for all file downloads #516 (jhoblitt)
- add rspec runtime profiling and .travis.yml linting #515 (jhoblitt)
- Adds Beaker docker testing to .travis.yml #503 (petems)
- Use Active Directory realm as type #495 (danielpalstra)
- Add support for prefix configuration in the CLI config class. #494 (danielpalstra)
- add ability to set java_args on slaves #485 (adamcstephens)
- An augeas helper define to deal with configs #480 (vStone)
- Add ensure=>file to pinning file #475 (alexjfisher)
- validate all class/define params #473 (jhoblitt)
- Support FileCredentialsImpl in jenkins_credentials native type #467 (matez)
- Allow the user to manage the localstatedir themselves. #407 (jniesen)
- Add manage_client_jar option #307 (bigon)
Fixed bugs:
- jenkins-slave don't stop correctly #557
- jenkins_job broken by org.jenkinsci.plugins.workflow.job.WorkflowJob jobs #551
- Parameter jenkins::slave::ui_pass not enclosed in quotes. #542
- ::jenkins::slave should not depend on ::jenkins #533
- slow unit test causing travis failures #517
- jenkins:plugin can incorrectly believe a plugin is installed (when it isn't) #513
- jenkins::plugin ignores version changes #512
- swarm client installation broken by bad TLS certificate #507
- Jenkins::Slave/Exec[get_swarm_client] is not idempotent #505
- Experimental types do not have support for Puppet enterprise #498
- Bug when it tries puppet-jenkins tries to create a user #476
- plugins_dir and job_dir don't default correctly #474
- Core plugins won't upgrade #465
- Systemd causes puppet idempotency issues #447
- Error: Could not find a suitable provider for jenkins_authorization_strategy #434
- port parameter ignored #214
- jenkins::proxy host options need to be documented #108
- Fix tool_locations bash via doublequotes #614 (br0ch0n)
- travis performance and acceptance test reliability improvements #613 (jhoblitt)
- add 'proxy_server' param to jenkins::slave class #612 (jhoblitt)
- 5th parameter is server list for ActiveDirectory #564 (cdenneen)
- Fix path LOCK_FILE #562 (caiohasouza)
- test if job class responds to #isDisabled in job_list_json #554 (jhoblitt)
- attempt to determine the correct gem provider #530 (jhoblitt)
- Dependency correction when manage_slave_user is false #523 (james-powis)
- cleanup existing plugin archive if extension changes #519 (jhoblitt)
- Plugins from updatecenter performance fixes #518 (petems)
- fix plugin install logic matching #514 (jhoblitt)
- Revert the parts of 00a90d4d that make no sense (fixes #474) (2nd attempt) #483 (vStone)
- Fix for the jenkins.rb facter error #471 (jhoblitt)
- Updated for RedHat systemd systems to use redhat provider until PUP-5353 is fixed #470 (cdenneen)
Closed issues:
- Archive module doesn't have parameter source #620
- support jenkins 2.x #603
- jenkins::credentials is not working with credentials plugin > version 1.24 #601
- Forge release cycle #594
- Beaker tests failing, is it a plan to fix them ? #588
- Can't create jobs/creds/plugins after LDAP auth #581
- Facter 3.1 no longer has osfamily, operatingsystemrelease, operatingsystemmajrelease #571
- Dependency issues #563
- jenkins-cli puppet_helper not working with FullControlOnceLoggedInAuthorizationStrategy #561
- Installing plugins fails jenkins-bootstrap-start #558
- Sauce labs Credentials #538
- Credit #525
- update swarm plugin + client jar to 2.0 #522
- Remove 1.9.3 tests #509
- The homedir is different on CentOS7 #493
- The metadata.json does not contain java as dependency #492
- PR #467 broke puppet_cli_helper #477
- jenkins::plugin incorrectly assumes port 80 on puppet apply #457
- rtyler-jenkins fails to respect install_java => false #455
- How does one insert private key contents directly into private_key_or_path in jenkins::credentials? #452
- Module is missing the Jenkins configuation part #451
- "No checksum for this archive" when installing plugins #450
- Installation fail on Ubuntu Wily #449
- Plugins specified by version number are not updated #445
- Passing an array to jenkins::plugin #429
- Unable to persist firewall rules: Execution of '/usr/libexec/iptables/iptables.init save' returned 1: #424
- $::jenkins::port does not properly manage listening port #416
- Using Plugin Hash Exec Test for plugin Fails #410
- jenkins::job::present issue #409
- Using Direct URL for plug-ins restarts jenkins with every puppet run #408
- Missleading documentation regarding HTTP_PORT #263
Merged pull requests:
- Update metadata.json for the 1.7.0 release #625 (rtyler)
- Pin the loose dependency (from hiera) on json_pure to something less than 2.0.2 #622 (rtyler)
- Use a up-to-date swarm client URL #621 (rtyler)
- attempt to debug travis beaker failures #615 (jhoblitt)
- rubocop update #607 (jhoblitt)
- fix rubocop conf path syntax warning #586 (jhoblitt)
- remove README reference to nanliu/staging #585 (jhoblitt)
- Updating documentation to reflect the modification of puppet-archive module #582 (zonArt)
- Kludge around jenkins 2.x landing in the 'latest' repos #576 (jhoblitt)
- use single quotes for ruby string literals #553 (jhoblitt)
- replace centos-7-docker fakesystemd with classic flavor #550 (jhoblitt)
- travis puppet versions #549 (jhoblitt)
- fix beaker acceptance tests on Ubuntu #548 (jhoblitt)
- simplify ::jenkins::slave ordering logic #547 (jhoblitt)
- skip pending beaker tests #546 (jhoblitt)
- minor puppet_helper.groovy cleanup #543 (jhoblitt)
- Improve spec speed #537 (petems)
- make centos-6-docker acceptance tests required #527 (jhoblitt)
- Add folder support to puppet_helper #496 (danielpalstra)
- enable install of cli_helper when jenkins::cli => true #488 (jhoblitt)
- autorequire cli_jar from all PX::J::Type::Cli based types #486 (jhoblitt)
- Revert "Support FileCredentialsImpl in jenkins_credentials native type" #478 (jhoblitt)
- Rtyler 417 cleanup cli helper #469 (jhoblitt)
- Clarify documention for cli_ssh_keyfile param. #446 (BobVincentatNCRdotcom)
- travis does not need the :system_tests group #438 (jhoblitt)
- Minor clean up of difftool patch #430 (rtyler)
- Suppress notice messages when using archive::download #428 (queeno)
- Add a simple rspec-puppet test to verify changing jenkins::plugin's timeout #421 (rtyler)
- Fix Plugin Download Timeout #419 (mooreandrew)
- Unify the ssh_keyfile #417 (chizou)
- Check if the retries gem is not already declared #411 (boyand)
- Undefine create_user in plugins #406 (jonbca)
- fix job_dir variable reference to jenkins class #400 (shieldwed)
v1.6.1 (2015-10-14)
Closed issues:
- Preparing a release for PuppetConf #384
(Kato release)
- #219 - Plugins are installed each time and restarting service
- #314 - Update jenkins-slave.RedHat init.d script work bash < 4.0
- #362 - Error on updating existing job
- #365 - jenkins user and jenkins_home directory not configurable
- #367 - [puppet-jenkins#366] Replace -toolLocations with --toolLocation
- #371 - slave: INFO: Failure authenticating with BASIC 'Jenkins' 401
- #372 - Slave: swarm-client requires a cashe directory /home/jenkins-slave/.jenkins/
- #374 - add single quotes for credentials
- #376 - Add template in the jenkins::job
- #377 - Making the management of the daemon package optional
- #378 - fix rspec-puppet
raise_error
warning - #382 - (RFC) native types and providers
- #383 - fix acceptance test path prefix for jenkins-cli.jar
- #385 - WIP: completely rework the way imports work for the native types
- #386 - set_security() does not save jenkins state
- #387 - Avoid referring to class objects directly in the Groovy helper
- #388 - Fix relationship for pinned files
- #389 - remove seperate resources for handling plugin extension
- #390 - Adds Examples for various platforms for Jenkins
- #391 - use ensure_packages() to manage the daemon package
- #395 - Fix username quoting
- #396 - add user/group mgt. + localstatedir params to jenkins class
- #398 - client_url is hardcoded in slave.pp
- #399 - document types and providers puppetserver known issues
(Jennings release)
- #227 - Add parameter to set user uuid in jenkins::credentials define
- #288 - add source parameter to jenkins::plugin define
- #289 - set user on exec resources in jenkins::plugin define
- #290 - Support getting external .xml job descriptions
- #292 - Feature/puppet helper util
- #295 - Use jenkins::cli::exec in security.pp
- #296 - should be jenkins::cli::exec
- #297 - Add jenkins::users class to declare all users
- #298 - Maint/fix resource relationships
- #301 - Apt upgrade
- #302 - Package name no longer hardcoded
- #303 - Puppet helper slaveagentport
- #319 - Adding optional description to slave
- #320 - Forge Project URL link broken
- #323 - Upgraded apt module dependency to support v2
- #325 - add puppet ~> 3.8 & ~> 4.1 to travis matrix
- #326 - Fixed project_page in metadata.json
- #328 - Support configuring a yum proxy server
- #331 - Set retries in job configuration to global parameters
- #335 - Fix jenkins::plugin with create_user false
- #336 - Features/9618 stronger plugin verification
- #347 - Fix require paths
- #351 - add darwin/osx support to slave class
- #352 - Adding cli_ssh_keyfile parameter to specify the location of a private key
- #353 - Class cannot find exec in jenkins::cli::reload.
- #357 - CLI classes unaware of Jenkins' --prefix
- #358 - Added jenkins_prefix function to retrieve configured prefix
(Smithers release)
- #222 - Add retry to credentials execs
- #229 - Jenkins slave defaults bugfix
- #233 - fixes timeouts on restart
- #235 - Make creation of user optional
- #236 - Cleanup metadata.json for better mechanical score
- #237 - Update the README with a few puppet-lint things and puppet highlighting.
- #238 - Fix Bracket issue
- #239 - Refactor acceptance tests to use beaker-rspec
- #244 - Add instructions for acceptance tests
- #245 - Added support for the 'toolLocations' parameter.
- #256 - Direct package
- #260 - Feature/puppet helper num executors
- #261 - Escape job names for shell commands
- #262 - Change apt key to full fingerprint
- #264 - Broken link on puppetlabs.com page
- #266 - pin puppetlabs-apt fixtures version to 1.8.0
- #268 - Improvements on job import via cli
- #270 - remove rspec gem ~> 2.99.0 constraint
- #271 - fix rspec > 3 compatiblity
- #272 - use mainline puppetlabs_spec_helper gem
- #273 - update spec_helper_acceptance boiler plate
- #274 - remove puppet module versions constraints from beaker setup
- #275 - add .bundle to .gitignore
- #276 - add log/ to .gitignore
- #277 - add puppet 3.7.0 to travis matrix
- #278 - remove unnecessary whitespace from $::jenkins::cli_helper::helper_cmd
- #279 - add metadata-json-lint to Gemfile & enable rake validate target
- #280 - change puppetlabs/stdlib version dep to >= 4.6.0
- #282 - Feature/puppet 4
- #285 - convert raw execs of puppet_helper.groovy to jenkins::cli::exec define
(Barnard release)
- #134 - Added in ability for user to redefine update center plugin URL
- #139 - document additional class params
- #169 - Allow build jobs to be configured and managed by puppet. Includes #163 a...
- #174 - setting configure_firewall true returns error, port is undefined
- #177 - switch to metadata.json
- #188 - Fix installation of core plugins
- #189 - Fix test.
- #191 - set default port for firewall
- #195 - Bump up swarm version to 1.17
- #198 - Relationship error when testing Jenkins::jobs
- #199 - missing include causes issuse #198
- #202 - Proxy work
- #203 - Fix typo in job/present.pp
- #204 - Fix for #174 allows setting $jenkins::port
- #206 - Refactor some of the firewall port configuration
- #207 - Introduce the jenkins_port function
(Nestor release)
- #117 - Add feature to disable SSL verification on Swarm clients
- #131 - Support updates for core jenkins modules
- #135 - cli option broken w/ jenkins 1.563 on ubuntu precise
- #137 - repos should be enabled if repo=true on RedHat
- #140 - Packaging Cruft in 1.1.0
- #144 - Update init.pp - correct plugins example syntax
- #149 - Do not ensure plugin_parent_dir to be a directory (#148)
- #150 - Add ensure parameter to jenkins::slave
- #151 - Unsupported OSFamily RedHat on node
- #152 - Jenkins-slave on Centos: killproc and checkpid commands not found
- #153 - Fixes to Jenkins slave init and class
- #154 - slave_mode doesn't apply on debian distros.
- #155 - Add defined check for plugin_parent_dir resource
- #157 - Add missing slave mode to Debian defaults file
- #160 - User and credentials creation, simple security management
- #166 - Error loading fact /var/lib/puppet/lib/facter/jenkins.rb no such file to load -- json
- #171 - A bit of RedHat and Debian slave initd script merging
- #176 - no such file to load -- json
- #180 - Replace use of unzip with
jar
for unpacking jenkins CLI - #182 - Include the apt module when installing an apt repository
- #183 - Rely on the
jar
command instead ofunzip
to unpack the cli.jar - #185 - Allow setting the slave name, default to the fqdn at runtime
- #186 - Puppet Forge module
- #187 - Jenkins slave on RedHat - jenkins-slave.erb
(Duckworth release)
- #86, #122 - Add support for disabling SSL verification on slaves
- #116 - Add support
for setting the
-fsroot
option for slaves init
script for Debian-family slaves added- Initial code for a jpm based
Package
provider merged
- #107 - Private/internal classes made truly private
- #109 - Fix for dependency issue between repo and package installation.
$jenkins_plugins
fact refactored and RSpec tests added- #121 -
daemon
package installed to make Debian slave installs functional - #126 - Facter exception bug fixed
* This Changelog was automatically generated by github_changelog_generator