Compare commits
No commits in common. "5c6fadf1b2a8afe349b5b4fe565906edba35acff" and "c21e00497d1bb75a3b52155e9a4f21768c2fdf31" have entirely different histories.
5c6fadf1b2
...
c21e00497d
@ -1,9 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Ensure the hostname is set
|
||||
hostnamectl set-hostname $(hostname -s).main.unkin.net
|
||||
grep '^HOSTNAME=' /etc/sysconfig/network | cut -d= -f2 | grep -q '\.' || sed -i 's/^\(HOSTNAME=[^\.]*\)$/\1.main.unkin.net/' /etc/sysconfig/network
|
||||
|
||||
# Install CA for Puppet
|
||||
test -f /etc/puppetlabs/puppet/ssl/certs/ca.pem || mkdir -p /etc/puppetlabs/puppet/ssl/certs && wget --no-check-certificate https://puppetca.query.consul:8140/puppet-ca/v1/certificate/ca -O /etc/puppetlabs/puppet/ssl/certs/ca.pem
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user