My Recent Pastes (92 and counting)

Pastes by stick (92 and counting)

Pages:

Below are the 15 most recent pasties by stick.

November 10, 2009
1:37PM EDT
by stick

augeas { "host-entry":
    context => "/files/etc/hosts",
    changes => [
        "set /files/etc/hosts/01/ipaddr 192.168.0.1",
        "set /files/etc/hosts/01/canonical pigiron.example.com",

May 13, 2009
1:29PM EDT
by stick

file { "foo":
    name => "/tmp/foo",
    ensure => directory,
    recurse => true,
    purge => true,

March 19, 2009
1:37PM EDT
by stick

SELinux is preventing the rndc from using potentially mislabeled files (/tmp/puppet.20600.0)
SELinux is preventing the ip from using potentially mislabeled files (/tmp/puppet.20600.0).

December 17, 2008
7:41PM EDT
by stick

[root@db01 ~]# find /var/lib/puppet/clientbucket/ |grep 5aabe6c3a09144f6fb3bc95348e19e2e
/var/lib/puppet/clientbucket/5/a/a/b/e/6/c/3/5aabe6c3a09144f6fb3bc95348e19e2e
/var/lib/puppet/clientbucket/5/a/a/b/e/6/c/3/5aabe6c3a09144f6fb3bc95348e19e2e/paths
/var/lib/puppet/clientbucket/5/a/a/b/e/6/c/3/5aabe6c3a09144f6fb3bc95348e19e2e/contents
[root@db01 ~]# filebucket --local restore /tmp/foo 5aabe6c3a09144f6fb3bc95348e19e2e

November 19, 2008
2:05PM EDT
by stick

Nov 19 14:05:08 psychosis git[20010]: [20223] Connection from 172.31.10.7:47858
Nov 19 14:05:08 psychosis git[20010]: [20223] Extended attributes (18 bytes) exist <host=172.31.10.2>
Nov 19 14:05:08 psychosis git[20010]: [20223] Request upload-pack for '/puppet-cfg/modules/firewall'
Nov 19 14:05:08 psychosis git[20010]: [20223] Disconnected (with error)

September 05, 2008
3:41PM EDT
by stick

define office::filer::mount (
) {
    $a = split($name, '\|')
    $office_mnt = shift($a)
    $office_filer = shift($a)

September 03, 2008
4:52PM EDT
by stick

<% unless network.netmask.nil? || network.netmask.empty? -%>
NETMASK=<%= network.netmask %>
<% end -%>

August 04, 2008
1:51PM EDT
by stick

require 'puppet/provider/parsedfile'

limitsconf = "/etc/security/limits.conf"

Puppet::Type.type(:limit).provide(:parsed,

July 29, 2008
12:01PM EDT
by stick

 Failed to generate additional resources during transaction: You must set the 'external_nodes' parameter to use the external node terminus

June 05, 2008
3:48PM EDT
by stick

# cat /tmp/test.pp 
ckm { "root": }
##

# cat type/ckm.rb 

June 04, 2008
5:22PM EDT
by stick

Jun  4 17:12:55 puppet puppetd[22732]: (//puppet::server/File[external-nodes]/source) Could not describe /puppet/puppet_node.pl: You must set the 'external_nodes' parameter to use the external node terminus
Jun  4 17:13:58 puppet puppetmasterd[16720]: (//puppet::server/File[external-nodes]/source) Could not describe /puppet/puppet_node.pl: You must set the 'external_nodes' parameter to use the external node terminus

May 05, 2008
1:35PM EDT
by stick

cat puppetmaster.conf

Alias /puppetmaster/ /var/lib/puppet/rrd/

<Directory "/var/lib/puppet/rrd/">

April 24, 2008
11:50PM EDT
by stick

# return the ipaddress fact for a given alias interface
module Puppet::Parser::Functions
        newfunction(:interface_alias, :type => :rvalue) do |args|
                interface_alias = args[0].gsub(':', '_')
                address = lookupvar('ipaddress_#{interface_alias}')

April 24, 2008
11:28PM EDT
by stick

[root@jbossproxy01 ~]# puppet -v /tmp/test.pp 
info: Loading fact domain
info: Loading fact apache_version
info: Loading fact netmask
info: Loading fact hardware_platform

April 24, 2008
10:10PM EDT
by stick

module Puppet::Parser::Functions
        newfunction(:interface_alias, :type => :rvalue) do |args|
                interface_alias = args[0]
                $stderr = File.open("/tmp/plugin.output","w")
                 interface_data = `/sbin/ip address show label #{interface_alias}`.split

Next page