{"id":23034110,"url":"https://github.com/autostructure/artifactory","last_synced_at":"2026-03-07T23:31:30.298Z","repository":{"id":136316405,"uuid":"54985579","full_name":"autostructure/artifactory","owner":"autostructure","description":"Installs and configures artifactory","archived":false,"fork":false,"pushed_at":"2019-08-26T12:11:09.000Z","size":6607,"stargazers_count":2,"open_issues_count":3,"forks_count":11,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-06T07:37:57.083Z","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-03-29T15:04:39.000Z","updated_at":"2021-04-13T15:58:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b24fd8d-f711-45f4-a317-b8095cabe3c5","html_url":"https://github.com/autostructure/artifactory","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/autostructure/artifactory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autostructure","download_url":"https://codeload.github.com/autostructure/artifactory/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Fartifactory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30237329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T23:24:20.706Z","status":"ssl_error","status_checked_at":"2026-03-07T23:21:10.486Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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:16.552Z","updated_at":"2026-03-07T23:31:30.258Z","avatar_url":"https://github.com/autostructure.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/autostructure/artifactory.svg?branch=master)](https://travis-ci.org/autostructure/artifactory)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/autostructure/artifactory.svg)](https://forge.puppetlabs.com/autostructure/artifactory)\n[![Puppet Forge](https://img.shields.io/puppetforge/f/autostructure/artifactory.svg)](https://forge.puppetlabs.com/autostructure/artifactory)\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 OSS.\n\nIf you are looking for the commercial installation look at:\n\nArtifactory PRO: https://forge.puppet.com/autostructure/artifactory_pro\n\nArtifactory HA: https://forge.puppet.com/autostructure/artifactory_ha\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 module installs, configures, and manages the Artifactory open source binary repository.\n\nThe Artifactory module manages both the installation and database configuration of Artifactory OSS.\n\n## Setup\n\n### Beginning with artifactory\n\nIf you want a server installed with the default options you can run\n`include '::artifactory'`.\n\nIf you need to add database connectivity instantiate with the required parameters:\n\n~~~\nclass { '::artifactory':\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  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`.\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::yum`: Installs yum configuration.\n* `artifactory::install`: Installs packages.\n* `artifactory::config`: Configures Artifactory.\n* `artifactory::service`: Manages service.\n* `artifactory::mysql`: Manages an automated mysql database\n\n### Parameters\n\n#### artifactory\n\n##### `yum_name`\n\nSets the name of the yum repository. Defaults to 'bintray-jfrog-artifactory-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-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-oss'.\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##### `package_version`\n\nSets the package version to. Defaults to 'present'.\n\nThis can be changed if you need to install a specific version. It takes the same values allowed for the `ensure` parameter of the standard `package` resource type.\n\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##### `root_password`\n\nSets the root password for Puppet managed mysql database\n\n##### `jdbc_driver_url`\n\nSets the location for the jdbc driver. The built-in `file` type is used to retrieve the driver.\n\nThis is required if using a new data source.\n\n##### `db_automate`\n\nSet to 'true' if you want Puppet to create a database. Only works with **mysql**. If `true`, we recommend using JDBC connector version 5.1.24. NOTE: Puppet may throw an error the first run while it waits for Artifactory to connect to database \n\n##### `db_type`\n\nOnly required for database configuration. The type of database to configure for. Valid values are 'mssql', 'mysql', 'oracle', 'postgresql'.\n\n##### `db_url`\n\nOnly required for database configuration. The url of the database.\n\n##### `db_username`\n\nOnly required for database configuration. The username for the database account.\n\n##### `db_password`\n\nOnly required for database configuration. The password for the database account.\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, objects are cached as in cachedFS.\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###### fullDbDirect\nAll the metadata and the binaries are stored as BLOBs in the database. No caching occurs.\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_base_data_dir`\n\nOptional setting for the artifactory filestore base location. Defaults to '$ARTIFACTORY_HOME/data'.\n\n##### `binary_provider_filesystem_dir`\n\nOptional setting for the artifactory filestore location. If the binary.provider.type is set to filesystem this value specifies the location of the binaries in combination with binary_provider_base_data_dir. Defaults to '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##### `master_key`\n\nOptional setting for the master key that Artifactory uses to connect to the database. If specified, it ensures that if your node terminates, a new one can be spun up that can connect to the same database as before. Otherwise, Artifactory will generate a new master key on first run.\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\n### Contributors\n\nTo see who's already involved, see the [list of contributors.](https://github.com/autostructure/artifactory/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautostructure%2Fartifactory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautostructure%2Fartifactory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautostructure%2Fartifactory/lists"}