Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Provisioning via Puppet

Brian Riley edited this page Mar 12, 2021 · 2 revisions

This is only applicable to the California Digital Library (CDL). If you are interested in managing your own installation via puppet, please contact us at uc3[at]ucop.edu.

Increment the git tag on the project repo and push the new tag to the remote:

dmphub> git status

dmphub> git tag -am'dev release 0.0.1' 0.0.1
dmphub> git push origin --tags

Edit puppet hiera data:

~/puppet/uc3/data/fqsn> vi uc3-dmp-hub-prd.yaml
~/puppet/uc3/data/fqsn> git diff .
diff --git a/data/fqsn/uc3-dmp-hub-prd.yaml b/data/fqsn/uc3-dmp-hub-prd.yaml
index c6032c1..c08592f 100644
--- a/data/fqsn/uc3-dmp-hub-prd.yaml
+++ b/data/fqsn/uc3-dmp-hub-prd.yaml
@@ -5,6 +5,6 @@ uc3_dmphub::dmphub::config:
     app_name: "dmphub"
     ensure: "running"
     git_repo: "https://github.com/cdluc3/dmphub.git"
-    revision: "0.0.0dev11"
+    revision: "0.0.1"
     cap_environment: "%{lookup('fqsn')}"
     rails_env: 'production'
~/puppet/uc3/data/fqsn> git commit -am'increment revision of dmphub in prod'

Depending on your access rights in puppet, either push your commit to IAS puppet master, or request uc3ops folks to do it for you:

Clone this wiki locally