Last active
October 23, 2015 03:05
-
-
Save spiegela/18ab58103531082af9c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git clone https://github.com/spiegela/razor-memtest-task.git | |
Cloning into 'razor-memtest-task'... | |
remote: Counting objects: 21, done. | |
remote: Compressing objects: 100% (15/15), done. | |
remote: Total 21 (delta 3), reused 18 (delta 3), pack-reused 0 | |
Unpacking objects: 100% (21/21), done. | |
# cd razor-memtest-task/ | |
# cp -pr memtest.task/ /opt/puppetlabs/server/apps/razor-server/share/razor-server/tasks/ | |
# cp -pr repo/memtest86/ /opt/puppetlabs/server/data/razor-server/repo/ | |
# systemctl restart pe-razor-server | |
# razor create-repo --name memtest86 --task memtest --no-content | |
From https://localhost:8151/api/collections/repos/memtest86: | |
name: memtest86 | |
iso_url: --- | |
url: --- | |
task: memtest | |
command: https://localhost:8151/api/collections/commands/79 | |
# razor create-broker --name noop --broker-type noop | |
From https://localhost:8151/api/collections/brokers/noop: | |
name: noop | |
broker_type: noop | |
configuration: {} | |
policies: 0 | |
command: https://localhost:8151/api/collections/commands/80 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment