This is what we did to setup a few dashboards at platanus
- Raspberry Pi
- Dashing Service
- Wifi stick (optional)
This is what we did to setup a few dashboards at platanus
| <koken:if true="settings.albums_index_show_title"> | |
| <h4> | |
| <koken:load style="margin-left: 0.2em;"> | |
| {{ album.title }} <!-- Prints SET title --> | |
| </koken:load> | |
| </h4> | |
| <p>Work | |
| <koken:load> |
| config.vm.provision :puppet do |puppet| | |
| # Add a folder in your root named .ppt | |
| puppet.manifests_path = ".ppt/manifests" | |
| # vagrant.pp is your main manifest and goes in .ppt/manifests | |
| puppet.manifest_file = "vagrant.pp" | |
| # Add puppet modules in .ppt/modules as git submodules; they will be pre-installed in Vagrant this way | |
| puppet.module_path = ".ppt/modules" | |
| # Config files, etc. go in .ppt/files. fileserver.conf (see below) defines the path for puppet to add | |
| # when looking for files. That way, you can reference files with puppet:// protocols. Make sure you | |
| # add the directory defined in fileserver.conf as a shared directory in the main Vagrantfile config |
| [main] | |
| storeconfigs = true | |
| storeconfigs_backend = puppetdb | |
| reports = store,puppetdb | |
| pluginsync = true |
| #!/bin/bash | |
| region=`facter ec2_placement_availability_zone | sed 's/[a-z]$//g'` | |
| instanceId=`facter ec2_instance_id` | |
| /usr/bin/aws ec2 describe-tags --filters "Name=resource-id,Values=${instanceId}" --region ${region} | jq '.Tags[] | "ec2_tag_" + .Key + "=" + .Value' | tr [:upper:] [:lower:] | tr -d '"' | |
| exit 0 |
| <?php | |
| // Original Gist By: Jan van Haarst | |
| // Original Gist: https://gist.github.com/4388108 | |
| // Forked Gist By: Jon Faviell | |
| // Forked Gist: https://gist.github.com/7e9138acb3975f8d886c | |
| header("Cache-Control: no-cache, must-revalidate"); | |
| header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); |
| txtblk='\e[0;30m' # Black - Regular | |
| txtred='\e[0;31m' # Red | |
| txtgrn='\e[0;32m' # Green | |
| txtylw='\e[0;33m' # Yellow | |
| txtblu='\e[0;34m' # Blue | |
| txtpur='\e[0;35m' # Purple | |
| txtcyn='\e[0;36m' # Cyan | |
| txtwht='\e[0;37m' # White | |
| for f in $(find $1 -iname "*.wsp"); do | |
| if [ -a $f ]; | |
| then /opt/graphite/bin/whisper-set-aggregation-method.py $f max; | |
| fi; | |
| done |
| #cloud-config | |
| ssh_authorized_keys: | |
| - ssh-rsa <my-public-key> | |
| rancher: | |
| services: | |
| nginx-proxy: | |
| image: jwilder/nginx-proxy:0.4.0 | |
| restart: unless-stopped | |
| ports: | |
| - "80:80" |