git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/site/profile/files/puppetmaster
diff options
context:
space:
mode:
authormail_redacted_for_web 2016-03-23 15:53:41 -0700
committermail_redacted_for_web 2016-03-23 15:55:58 -0700
commit9503f54349756fe7a93eecf2ecc6620c340f4679 (patch)
tree88a6434cc59e6cc16cb72fad47fe8aaa809c30ac /site/profile/files/puppetmaster
parent55f983ffc9e6e92113ceea0bc51efb6b69d32f13 (diff)
downloadcontrol-repo-template-9503f54349756fe7a93eecf2ecc6620c340f4679.tar.bz2
Move puppetmaster profile to rampup_profile_puppetmaster module
Prior to this commit, the puppetmaster profile was embedded in this control-repo. After this commit, the puppetmaster profile is moved out into its own module.
Diffstat (limited to 'site/profile/files/puppetmaster')
-rw-r--r--site/profile/files/puppetmaster/update-classes.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/site/profile/files/puppetmaster/update-classes.sh b/site/profile/files/puppetmaster/update-classes.sh
deleted file mode 100644
index fc33026..0000000
--- a/site/profile/files/puppetmaster/update-classes.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#https://docs.puppetlabs.com/pe/latest/nc_update_classes.html#post-v1update-classes
-
-CONFDIR=$(puppet master --configprint confdir)
-
-CERT=$(puppet master --confdir ${CONFDIR} --configprint hostcert)
-CACERT=$(puppet master --confdir ${CONFDIR} --configprint localcacert)
-PRVKEY=$(puppet master --confdir ${CONFDIR} --configprint hostprivkey)
-OPTIONS="--cert ${CERT} --cacert ${CACERT} --key ${PRVKEY}"
-CONSOLE=$(awk '/server: /{print $NF}' ${CONFDIR}/classifier.yaml)
-
-curl -k -X POST ${OPTIONS} "https://${CONSOLE}:4433/classifier-api/v1/update-classes"