My Recent Pastes (75 and counting)
Recent Pasties by fujin (75 and counting)
Below are summaries of the 15 most recent pasties by fujin.
November 29, 2008
7:09PM EDT
by fujin
View more (55 lines)
1 2 3 4 5 |
upstream junglist {
server 127.0.0.1:4000;
}
server {
|
November 26, 2008
10:55PM EDT
by fujin
View more (19 lines)
1 2 3 4 5 |
#!/usr/bin/env puppet class x { notify { $var: } } |
November 25, 2008
3:50PM EDT
by fujin
View more (24 lines)
1 2 3 4 5 |
## variables $iclassify_server = "https://iclassify" $iclassify_user = "puppet" $iclassify_password = "xxx" |
November 23, 2008
7:06PM EDT
by fujin
View more (14 lines)
1 2 3 4 5 |
[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 |
November 18, 2008
9:30PM EDT
by fujin
View more (27 lines)
1 2 3 4 5 |
## test.pp #!/usr/bin/env puppet $x = "10" |
October 24, 2008
5:33AM EDT
by fujin
View more (14 lines)
1 2 3 4 5 |
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 more (32 lines)
1 2 3 4 5 |
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 more (58 lines)
1 2 3 4 5 |
## 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 more (23 lines)
1 2 3 4 5 |
node blahblah {
$webserver = 'apache2'
include php-imap
}
|
September 15, 2008
1:25AM EDT
by fujin
View more (7 lines)
1 2 3 4 5 |
[ "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 more (12 lines)
1 2 3 4 5 |
## 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 more (43 lines)
1 2 3 4 5 |
## manifest [ruby] node junglist { $override_site = "override" $site_id = "junglist" |
August 14, 2008
5:52AM EDT
by fujin
View more (20 lines)
1 2 3 4 5 |
## manifest [ruby] node junglist { $override_site = "override" $site_id = "junglist" |
August 13, 2008
12:27AM EDT
by fujin
View more (12 lines)
1 2 3 4 5 |
class a { service { "blah": ensure => running, enabled => true; |
July 30, 2008
8:36PM EDT
by fujin
View more (23 lines)
1 2 3 4 5 |
has n, :through (or One-To-Many-Through) 1 class Photo 2 include DataMapper::Resource 3 |
Pastie