My Recent Pastes (75 and counting)
Pastes by fujin (75 and counting)
Below are the 15 most recent pasties by fujin.
November 29, 2008
7:09PM EDT
by fujin
View all 55 lines
upstream junglist {
server 127.0.0.1:4000;
}
server {
November 26, 2008
10:55PM EDT
by fujin
View all 19 lines
#!/usr/bin/env puppet class x { notify { $var: } }
November 25, 2008
3:50PM EDT
by fujin
View all 24 lines
## variables $iclassify_server = "https://iclassify" $iclassify_user = "puppet" $iclassify_password = "xxx"
November 23, 2008
7:06PM EDT
by fujin
View all 14 lines
[puppetmasterd] node_terminus=exec external_nodes=/srv/iclassify/bin/icpuppet -u xxx -p xxx -s https://iclassify ssl_client_header=HTTP_X_SSL_SUBJECT certname=puppet
October 24, 2008
5:33AM EDT
by fujin
View all 14 lines
aj@junglist (branch: 0.23.2) ~/git/puppet$ puppet --version 0.23.2 aj@junglist (branch: 0.23.2) ~/git/puppet$ /tmp/test.pp notice: hi thar! notice: qaz
October 09, 2008
4:42PM EDT
by fujin
View all 32 lines
ssh_authorized_key {
"aj-aj":
ensure => present, type => "ssh-dss", user => "aj",
key => "AAAAB3NzaC1kc3MAAAEBAL+15oOb5wLjgoHnfLTl48SGytm2pgwhyAuwihEuVOv8M0w0/Fh6IGUW2LQoPDqYjoq/5UYhb4NtNCTNxmgvLD7zmbNrxQ+t8S0rklUzbvma4zJibNgRAjaGDlqgsbc
FVEA27mUP6/5rYtZ/y3QdD90iVM28MqCvuvIO7XNqlU5TIXnmxh0VjnKfHEyjf+w44INDIItEJHrkR+vhbyuIAKIc1YZkZCV3R7ykm8u6YOcYgqp/gfXGRNHo2qUBJKRSil3APZPmUqeDM3rZqQhymrusH/0pgbsO
October 07, 2008
7:14AM EDT
by fujin
View all 58 lines
## nginx conf [plain_text] upstream puppet { server 127.0.0.1:18140; server 127.0.0.1:18141; }
October 07, 2008
4:26AM EDT
by fujin
View all 23 lines
node blahblah {
$webserver = 'apache2'
include php-imap
}
September 15, 2008
1:25AM EDT
by fujin
View all 7 lines
[ "apache2-mpm-prefork", "nginx" ].each do |pkg| Facter.add("#{pkg}_version") do setcode do `/usr/bin/apt-cache policy #{pkg}|/bin/grep Installed`.split[1] end
September 14, 2008
11:21PM EDT
by fujin
View all 12 lines
## package_version.rb require 'puppet' pkg = Puppet::Type.type(:package).create(:name => "nginx") Facter.add("nginx_version") do setcode do
August 14, 2008
5:54AM EDT
by fujin
View all 43 lines
## manifest [ruby] node junglist { $override_site = "override" $site_id = "junglist"
August 14, 2008
5:52AM EDT
by fujin
View all 20 lines
## manifest [ruby] node junglist { $override_site = "override" $site_id = "junglist"
August 13, 2008
12:27AM EDT
by fujin
View all 12 lines
class a { service { "blah": ensure => running, enabled => true;
July 30, 2008
8:36PM EDT
by fujin
View all 23 lines
has n, :through (or One-To-Many-Through) 1 class Photo 2 include DataMapper::Resource 3
