All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
/nexus3
added back to managed diretories
- using exec to manage permissions to avoid excessive resource consumption
params.pp
to manage params in moduleexec['nexus permissions']
innexus::package
to manage file permissionsmanage_user
inparams.pp
to manage the nexus user
- Reworking module to conform to newer standards
docker_subdomain
innexus::resource::repository::docker::proxy
docker_proxy_cache_foreign_layers
innexus::resource::repository::docker::proxy
docker_proxy_foreign_layer_url_whitelist
innexus::resource::repository::docker::proxy
- Changes by
pdk update
- Changes by
pdk validate -a
- Updated
README.md
to reflect current module usage
- Unused
npm_remove_non_cataloged
innexus::resource::repository::docker::proxy
- Unused
npm_remove_quarantined
innexus::resource::repository::docker::proxy
nexus::resource::repository::yum::hosted
to manage yum hosted repositoriesnexus::resource::repository::yum::proxy
to manage yum proxy repositories
- Updated module dependencies
nexus::config::admin::password
changed to allowSensitive
datatypenexus::resource::repository::apt::proxy
to allow http urls
- Invalidate cache on changes of repository types
group
andproxy
- Rebuild index on changes of repository types
hosted
andproxy
nexus::resource::repository::docker::group
to manage docker group repositoriesnexus::resource::repository::docker::hosted
to manage docker hosted repositoriesnexus::resource::repository::docker::proxy
to manage docker proxy repositories
nexus::manage_api_resources
to setup configuration to connect to nexus repository manager rest apinexus::purge_default_repositories
to remove default maven and nuget repositoriesnexus::config::email
to configure email settingsnexus::config::anonymous
to configure an anonymous accessnexus::config::admin
to configure administrator accountnexus::resource::blobstore::file
to manage blobstores of type filenexus::resource::repository::apt::proxy
to manage apt proxy repositoriesnexus::resource::repository::npm::group
to manage npm group repositoriesnexus::resource::repository::npm::hosted
to manage npm hosted repositoriesnexus::resource::repository::npm::proxy
to manage npm proxy repositories
nexus::config
moved tonexus::config::properties
- systemd service file adjusted to wait until nexus repository manager finished startup
nexus::plugin::composer
to install composer (php) repository plugin
REFERENCE.md
generated bypuppet strings generate --format markdown --out REFERENCE.md
purge_old_installation
to delete old Nexus Repository Manager installations~/.java/.userPrefs
creation to preventCouldn't flush user prefs
-error
- Variable names in
init.pp
no longer containnexus
as it's already the module name. - User and group creation moved to
user.pp
- Default installation path changed from
/srv
to/opt/sonatype
- Default bind address changed from
0.0.0.0
to127.0.0.1
- Support for Nexus Repository Manager 2
- Add proper data types for module parameter
- Http download urls to https
params.pp
pattern to hiera lookup- Change nexus_port from data type string to integer (Stdlib::Port)
version
parameter fromnexus::service
class as it is not usedmd5sum
parameter fromnexus
class as it is not used (checksum source depends on download url)- Nexus Repository Manager 2 example - next major version will drop support for that version
- Support for end of life puppet versions
- Allow proxy use to download the archive
- Set file recurse variable for nexus_home_real
- Updated README.md
- Dropped end of life distributions
- Updated module dependencies
- Extended test suite to puppet 7
- Fix too wide match strings - issue #8
- Changes by
pdk update
- Replaced obsolete
puppet/wget
module by puppet/archive - Nexus artifact downloads get always validated against published md5 sum - md5sum parameter is currently getting ignored
.sync.yml
forpdk update
- Extended test suite to puppet 5 and puppet 6
- Fix test suite
- Updated README.md and metadata.json
- Replaced obsolete
maestrodev/wget
module by puppet/wget - Initial
pdk convert
changes - Adjust module requirements in metadata.json
- Support for validating the md5 checksum of the Nexus package file. hubspotdevops#80
- Support for CentOS and RedHat versions using systemd: hubspotdevops#76
- Support for older versions of Ubuntu: hubspotdevops#70
- Support for Ubuntu hubspotdevops#67
- Support for Puppet 4.5.2 hubspotdevops#65
- Support for Nexus 3
- Support for Debian 8
- Fix the location of the Nexus work directory if $nexus_work_dir is not passed in.
- Make
$nexus_work_dir configurable instead of using "$ {nexus_root}/${nexus::params::nexus_work_dir}" (/srv/sonatype-work) - Make managing owner and perms of $nexus_work_dir configurable.
- installations with large repos can turn this off to prevent overconsumption of resources.
- This has been requested for ages.
- Add rudimentary spec tests
- Updated download location of package.
- Set 'run_as_user' for service status to $nexus_user. A bug from 2.7 days appears to be gone.