My Recent Pastes (8 and counting)

Pastes by ezralini (8 and counting)

Below are the 8 most recent pasties by ezralini.

September 10, 2008
10:55AM EDT
by ezralini

    exec {"/bin/sed -i -e 's/^session.*pam_loginuid.so$/#&/' /etc/pam.d/*":
              unless => "/bin/grep -q '^#session.*pam_loginuid\.so' /etc/pam.d/*",
          }

September 09, 2008
6:01PM EDT
by ezralini

[root@domU-12-31-38-00-34-31:/etc/puppet] puppetd --genconfig|grep environments
    # The valid environments for Puppet clients.
    environments = staging,production,development
    # a valid log level within Rails.  Production environments normally use ``info``
    # and other environments normally use ``debug``.

August 27, 2008
8:06PM EDT
by ezralini

    file {"/usr/lib/nagios":
              require => Package["nagios-client-packages"],
              ensure => $architecture ? {
                  x86_64 => "/usr/lib64/nagios/",
                  default  => undef,

May 08, 2008
11:48AM EDT
by ezralini

    file { "/root/lb.sh":
               ensure => present,
               owner => "root",
               group => "root",
               mode => "744" ,

April 30, 2008
4:09PM EDT
by ezralini

    case   $my_environment {
      staging: mount {"foo": attr => value }
      development: < No Mount > }
    }

April 23, 2008
3:13PM EDT
by ezralini

[ezra@nyvl-fldev1 ~]$ pear info symfony/symfony
About pear.symfony-project.com/symfony-1.0.13
=============================================
Release Type           PEAR-style PHP-based Package
Name                   symfony

April 17, 2008
10:41AM EDT
by ezralini

err: //Node[nyvl-flprod14]/frontend-app/php-server2/Exec[/usr/bin/pear channel-discover pear.symfony-project.com]/returns: change from notrun to 0 failed: /usr/bin/pear channel-discover pear.symfony-project.com returned 1 instead of 0 at /etc/puppet/manifests/classes/php-server2.pp:7

April 25, 2007
8:57AM EDT
by ezralini

err: //User[ezra2]/ensure: change from absent to present failed: Could not set present on ensure: super: no superclass method `uid=' at user.pp:9