{"id":23034112,"url":"https://github.com/autostructure/artifactory_ha","last_synced_at":"2026-03-10T12:31:03.176Z","repository":{"id":136316484,"uuid":"61644413","full_name":"autostructure/artifactory_ha","owner":"autostructure","description":"Artifactory high availability","archived":false,"fork":false,"pushed_at":"2019-09-17T14:48:21.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-08T12:45:50.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autostructure.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-21T15:16:23.000Z","updated_at":"2018-08-23T16:35:24.000Z","dependencies_parsed_at":"2023-07-29T12:15:15.758Z","dependency_job_id":null,"html_url":"https://github.com/autostructure/artifactory_ha","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory_ha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory_ha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory_ha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory_ha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autostructure","download_url":"https://codeload.github.com/autostructure/artifactory_ha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246899668,"owners_count":20851898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T16:29:17.262Z","updated_at":"2025-12-11T21:42:19.146Z","avatar_url":"https://github.com/autostructure.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/autostructure/artifactory_ha.svg?branch=master)](https://travis-ci.org/autostructure/artifactory_ha)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/autostructure/artifactory_ha.svg)](https://forge.puppetlabs.com/autostructure/artifactory_ha)\n[![Puppet Forge](https://img.shields.io/puppetforge/f/autostructure/artifactory_ha.svg)](https://forge.puppetlabs.com/autostructure/artifactory_ha)\n\n#### Table of Contents\n\n1. [Overview](#overview)\n2. [Module Description - What the module does and why it is useful](#module-description)\n3. [Setup - The basics of getting started with artifactory](#setup)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with artifactory](#beginning-with-artifactory)\n4. [Usage - Configuration options and additional functionality](#usage)\n5. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n5. [Limitations - OS compatibility, etc.](#limitations)\n6. [Development - Guide for contributing to the module](#development)\n\n## Overview\n\nThis ONLY install Artifactory HA.\n\nIf you are looking for the regulare commercial installation, or OSS, look at:\n\nArtifactory OSS: https://forge.puppet.com/autostructure/artifactory\n\nArtifactory PRO: https://forge.puppet.com/autostructure/artifactory_pro\n\nGithub and gitlab are great for storing source control, but bad at storing installers and compiled packages.\n\nThis is where Artifactory comes in. It stores all of your organizations artifacts in an organized and secure manner.\n\n## Module Description\n\nThe Artifactory HA module installs, configures, and manages the Artifactory pro binary repository.\n\nThe Artifactory HA module manages both the installation and database configuration of Artifactory Pro.\n\n## Setup\n\n### Setup Requirements **OPTIONAL**\n\nRequires a JDK to be installed.\n\n### Beginning with artifactory\n\nArtifactory ha requires a license key, cluster configurations and nfs location information.\n\n~~~\nclass { '::artifactory_ha':\n  license_key                    =\u003e 'abc123',\n  jdbc_driver_url                =\u003e 'puppet://modules/my_module/mysql.jar',\n  db_type                        =\u003e 'oracle',\n  db_url                         =\u003e 'jdbc:oracle:thin:@somedomain.com:1521:arti001',\n  db_username                    =\u003e 'my_username',\n  db_password                    =\u003e 'efw23gn2j3',\n  security_token                =\u003e 'ABC1MY0Token1',\n  is_primary                    =\u003e true,\n  cluster_home                  =\u003e '/nfs/mount/location',\n  binary_provider_type           =\u003e 'filesystem',\n  pool_max_active                =\u003e 100,\n  pool_max_idle                  =\u003e 10,\n  binary_provider_cache_maxSize  =\u003e $binary_provider_cache_maxSize,\n  binary_provider_filesystem_dir =\u003e '/var/opt/jfrog/artifactory/data/filestore',\n  binary_provider_cache_dir      =\u003e '/var/opt/jfrog/artifactory/',\n}\n~~~\n\n## Usage\n\nAll interaction for the server is done via `::artifactory_pro`.\n\n## Reference\n\n### Classes\n\n#### Public classes\n\n* [`artifactory`](#artifactoryserver): Installs and configures Artifactory.\n\n#### Private classes\n\n* `artifactory_ha::config`: Configures Artifactory Pro.\n* `artifactory_ha::post_config`: Does pro post configuration.\n\n### Defines\n\n#### Public defines\n\n* `artifactory_ha::plugin`: Adds a groovy plugin to the server\n\n### Parameters\n\n#### artifactory\n\n##### `license_key`\n\nSets the name of the Artifactory license key'.\n\nThis is required.\n\n##### `yum_name`\n\nSets the name of the yum repository. Defaults to 'bintray-jfrog-artifactory-pro-rpms'.\n\nThis can be changed if Artifactory needs to be setup from a different repository. Typically this is done if an organization has a 'trusted' yum repo.\n\n##### `yum_baseurl`\n\nSets the base url of the yum repository to name. Defaults to 'http://jfrog.bintray.com/artifactory-pro-rpms'.\n\nThis can be changed if Artifactory needs to be setup from a different repository. Typically this is done if an organization has a 'trusted' yum repo.\n\n##### `package_name`\n\nSets the package name to install. Defaults to 'jfrog-artifactory-pro'.\n\nThis can be changed if Artifactory needs to install a differently named package. Possibly needed if na organization creates their own Artifactory package.\n\n##### `manage_java`\n\nTells the module whether or not to manage the java class. This defaults to true. Usually this is what you want.\n\nIf your organization actively manages the java installs across your environment set this to false.\n\n##### `jdbc_driver_url`\n\nSets the location for the jdbc driver. Uses the wget module to retrieve the driver.\n\nThis is required if using a new data source.\n\n##### `db_type`\n\nThe type of database to configure for. Valid values are 'mssql', 'mysql', 'oracle', 'postgresql'.\n\n##### `db_hostname`\n\nThe hostname of the database.\n\n##### `db_port`\n\nThe port of the database.\n\n##### `db_username`\n\nThe username for the database account.\n\n##### `db_password`\n\nThe password for the database account.\n\n##### `security_token`\n\nSecurity token that is unique among all the members of this cluster.\n\n##### `is_primary`\n\nTrue or false. There must be one primary per cluster. All other cluster nodes shold be false.\n\n##### `cluster_home`\n\nThe NFS clust home directory.\n\n##### `binary_provider_type`\n\nOptional setting for the binary storage provider. The type of database to configure for. Valid values are 'filesystem', 'fullDb', 'cachedFS', 'S3'. Defaults to 'filesystem'.\n\n###### filesystem (default)\nThis means that metadata is stored in the database, but binaries are stored in the file system. The default location is under $ARTIFACTORY_HOME/data/filestore however this can be modified.\n\n###### fullDb\nAll the metadata and the binaries are stored as BLOBs in the database.\n\n###### cachedFS\nWorks the same way as filesystem but also has a binary LRU (Least Recently Used) cache for upload/download requests. Improves performance of instances with high IOPS (I/O Operations) or slow NFS access.\n\n###### S3\nThis is the setting used for S3 Object Storage.\n\n##### `pool_max_active`\n\nOptional setting for the maximum number of pooled database connections. Defaults to 100.\n\n##### `pool_max_idle`\n\nOptional setting for the maximum number of pooled idle database connections Defaults to 10.\n\n##### `binary_provider_cache_maxSize`\n\nOptional setting for the maximum cache size. This value specifies the maximum cache size (in bytes) to allocate on the system for caching BLOBs.\n\n##### `binary_provider_filesystem_dir`\n\nOptional setting for the artifactory filestore location. The binary.provider.type is set to filesystem this value specifies the location of the binaries. Defaults to '$ARTIFACTORY_HOME/data/filestore'.\n\n##### `binary_provider_cache_dir`\n\nOptional setting for the location of the cache. This should be set to your $ARTIFACTORY_HOME directory directly (not on the NFS).\n\n#### artifactory::plugin\n\n##### `url`\n\nThe url to the location of the groovy file.\n\n## Limitations\n\nThis module has been tested on:\n\n* RedHat Enterprise Linux 5, 6, 7\n* CentOS 5, 6, 7\n\n## Development\n\nSince your module is awesome, other users will want to play with it. Let them know what the ground rules for contributing are.\n\n### Authors\n\nThis module is based on work by Autostructure. The following contributors have contributed to this module:\n\n* Bryan Belanger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautostructure%2Fartifactory_ha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautostructure%2Fartifactory_ha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautostructure%2Fartifactory_ha/lists"}