My Recent Pastes (74 and counting)

Pastes by lak (74 and counting)

Pages:

Below are the 14 most recent pasties by lak.

August 07, 2007
7:59PM EDT
by lak

class git::server inherits git {
    group { git: ensure => present }
    user { git: comment => "Git user", shell => "/bin/false", gid => git }

    modulefile { "/etc/init.d/git-daemon": source => "git/git-daemon", mode => 755, before => File[git-config] }

August 07, 2007
7:28PM EDT
by lak

luke@phage(0) $ git pull git://hjksolutions.com/puppet external_node_args_fix
warning: no common commits
remote: Generating pack...
remote: Done counting 21796 objects.
remote: Deltifying 21796 objects...

August 06, 2007
6:13PM EDT
by lak

luke@phage(0) $ find .
.
./.site.pp.swp
./site.pp
./test

August 03, 2007
3:32PM EDT
by lak

case $operatingsystem {
  solaris: { include sendmail }
  default: { include postfix }
}

August 02, 2007
12:22PM EDT
by lak

<% if blah %>
<%= blah %>
<% else %>
<%= "somethingelse" %>
<% end %>

July 19, 2007
2:30PM EDT
by lak

class testing {
    exec { "/bin/echo testing": }
}
include testing
exec { "/bin/echo bouncy bouncy": subscribe => Class[testing], refreshonly => true }

July 10, 2007
2:56PM EDT
by lak

case $operatingsystem {
debian: {
  Service { path => "/etc/init.d" }
}
freebsd: {

June 15, 2007
6:11PM EDT
by lak

# Equal at definition time but not once metaparams are added.
define myfile($owner) {
    file { $name: owner => $owner }
}

June 15, 2007
6:09PM EDT
by lak

# Initial equality, but not actual
class base {
    file { "/testing": content => foo }
}

June 15, 2007
5:40PM EDT
by lak

class base {
    file { "/testing": content => foo }
}

class sub1 inherits base {

June 15, 2007
5:36PM EDT
by lak

define myfile($owner) {
    file { $name: owner => $owner }
}

class base {

June 15, 2007
5:32PM EDT
by lak

class one {
    file { "/testing": mode => 755, content => foo }
}

class two inherits one {

June 15, 2007
5:31PM EDT
by lak

class one {
    file { "/testing": mode => 755, content => foo }
}

class two inherits one {

June 14, 2007
11:23AM EDT
by lak

#!/usr/bin/env puppet

filebucket { test: path => "/tmp/bucket" }

file { "/tmp/dest": recurse => true, source => "/tmp/source", backup => test }

Previous page