- Wireless Adapter £8.36
- Raspberry Pi Model B £32.99
- Raspberry Pi Clear Case £5.98
- Memory Card £6.79
- HDMI Cable £3.49
- [USB Cable](http://www.amazon.co.uk/HTC-Micro-Data-Cable-Handsets/dp/B003U6TWKU/ref=sr_1_3?s=electronics&ie
This file contains hidden or 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
| [main] | |
| storeconfigs = true | |
| storeconfigs_backend = puppetdb | |
| reports = store,puppetdb | |
| pluginsync = true |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| HTTP server that provides a web interface to run "tail" on a file, | |
| like the Unix command. | |
| This is a standalone script. No external dependencies required. | |
| How to invoke: |
This file contains hidden or 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/bash | |
| # | |
| #===================================================================== | |
| #===================================================================== | |
| # Username to access the mongo server e.g. dbuser | |
| # DBUSERNAME="" | |
| # Username to access the mongo server e.g. password | |
| # DBPASSWORD="" |
This file contains hidden or 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/bash | |
| #set url and port to the xbmc box webservice | |
| XBMC_HOST="http://127.0.0.1:8080" | |
| if [ "$1" = "" ]; then | |
| echo -n "Insert URL: " | |
| read url | |
| else | |
| url="$1" | |
| fi |
This file contains hidden or 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
| Exec { path => '/usr/bin:/usr/sbin/:/bin:/sbin' } | |
| $sysctl_settings = { | |
| # On Hardware Node we generally need | |
| # packet forwarding enabled and proxy arp disabled | |
| "net.ipv4.ip_forward" => 1 , | |
| "net.ipv6.conf.default.forwarding" => 1 , | |
| "net.ipv6.conf.all.forwarding" => 1 , | |
| "net.ipv4.conf.default.proxy_arp" => 0 , | |
| # Enables source route verification |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 2 in line 1.
This file contains hidden or 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
| # $MANIFESTPATH/extdatadir/common.csv | |
| httpd_conf_dir,/etc/httpd/conf.d | |
| httpd_is_cgi,true | |
| httpd_git_path,/var/www/git | |
| httpd_git_url,/mygit |
This file contains hidden or 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
| auth_basic "Restricted"; | |
| auth_basic_user_file /etc/nginx/htpasswd; |
This CA bundle is located at puppet master --confdir=$PUPPET_CONFDIR --configprint localcacert and contains CA certs in the following order:
- Root CA
- Signing CA
- Puppet Master CA 1
- Puppet Master CA 2
The following error may be resolved by changing the CA certificate order in the bundle to be:
Notes:
- Instructions written for CentOS 6.3
- Change, me, myhost, myip etc. to your username, hostname, ip address and so on.
- Run all commands as root unless otherwise directed.
- You might want to look at mounting /var and /home on separate partitions.
- I've just allowed all members of the wheel group to operate as root. This is the height of laziness and highlights the fact that I'm just a developer that's stolen a sysadmin's