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
@startuml | |
() "Graphite Web\nfront end" as graphiteWebFront | |
() "Carbon relay\nfront end" as carbonRelayFront | |
node HAProxy { | |
[Graphite Web proxy] as graphiteWebProxy | |
[Carbon relay\nproxy] as carbonRelayProxy | |
graphiteWebFront - graphiteWebProxy | |
carbonRelayFront - carbonRelayProxy | |
} |
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
#!/bin/sh | |
# create custom fact to identify the role of this server | |
mkdir -p /etc/facter/facts.d/ | |
echo "server_role=puppetmaster" >> /etc/facter/facts.d/server_role.txt | |
# make sure everything is up to date | |
wget http://apt.puppetlabs.com/puppetlabs-release-raring.deb | |
dpkg -i puppetlabs-release-raring.deb | |
apt-get update |
NewerOlder