Artifactory configuration tool
Project description
========
ar_too
========
Artifactory configuration tool
Features
--------
* Update Artifactory LDAP settings
* Add or update repositories to Artifactory
* Set the 'admin' password
Usage
-----
* Update repositories
To update or create repositories, you must have a directory with individual
json files for each desired repository. Then, point the tool at the directory,
and it will create all the repos therein. Each json file should be set up as
per https://www.jfrog.com/confluence/display/RTF/Repository+Configuration+JSON
i.e:
`ar_too --url http://artifactory.company.com --username admin --password password configure --repos_dir /tmp/repos`
* Update LDAP settings
To update the LDAP settings, you'll need to create an ldap file
(see examples/ldap.json). Then, simply run the command and pass the file location.
i.e.:
`ar_too --url http://artifactory.company.com --username admin --password password configure --ldap_json /tmp/ldap.json`
The LDAP settings json is basically a json implementation of the ldap portion
of this xml doc: https://www.jfrog.com/public/xsd/artifactory-v1_4_5.xsd.
The way this application works is download the current xml, compare the ldap
settings to the desired ldap settings, and send an update (which is the whole
system config) if they're different.
* Update the admin password
Updating the admin password is staight-forward. Simply pass the string you want
to update the password to. Note this will be visible in your command line history.
`ar_too --url http://artifactory.company.com --username admin --password password configure --admin_pass newpassword`
ar_too
========
Artifactory configuration tool
Features
--------
* Update Artifactory LDAP settings
* Add or update repositories to Artifactory
* Set the 'admin' password
Usage
-----
* Update repositories
To update or create repositories, you must have a directory with individual
json files for each desired repository. Then, point the tool at the directory,
and it will create all the repos therein. Each json file should be set up as
per https://www.jfrog.com/confluence/display/RTF/Repository+Configuration+JSON
i.e:
`ar_too --url http://artifactory.company.com --username admin --password password configure --repos_dir /tmp/repos`
* Update LDAP settings
To update the LDAP settings, you'll need to create an ldap file
(see examples/ldap.json). Then, simply run the command and pass the file location.
i.e.:
`ar_too --url http://artifactory.company.com --username admin --password password configure --ldap_json /tmp/ldap.json`
The LDAP settings json is basically a json implementation of the ldap portion
of this xml doc: https://www.jfrog.com/public/xsd/artifactory-v1_4_5.xsd.
The way this application works is download the current xml, compare the ldap
settings to the desired ldap settings, and send an update (which is the whole
system config) if they're different.
* Update the admin password
Updating the admin password is staight-forward. Simply pass the string you want
to update the password to. Note this will be visible in your command line history.
`ar_too --url http://artifactory.company.com --username admin --password password configure --admin_pass newpassword`
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ar_too-0.5.tar.gz
(9.1 kB
view details)
File details
Details for the file ar_too-0.5.tar.gz
.
File metadata
- Download URL: ar_too-0.5.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0387e80112dc80e83c90f52dc5a6f9b9e3e8b0e3d97ce7bb89959b0456743ac4 |
|
MD5 | 1821dde03508a7619f8bf3dba4fc00d1 |
|
BLAKE2b-256 | 6dd7025271f2c4f4fafc83b287f414ecf29f7d6f7be7dc4c73c9fbeff3de98fa |