Ignore:
Timestamp:
Feb 27, 2010, 1:19:45 AM (14 years ago)
Author:
sebas
Message:

formateo segun la guia de estilo de puppet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-network/manifests/os/debian.pp

    r538 r545  
    11class network::debian {
    22  exec { "networking":
    3     command => "/usr/sbin/invoke-rc.d networking restart",
    4     logoutput => true,
     3    command     => "/usr/sbin/invoke-rc.d networking restart",
     4    logoutput   => true,
    55    refreshonly => true,
    66  }
    77
    88  package {"resolvconf":
    9     ensure    => installed,
     9    ensure => installed,
    1010  }
    1111
     
    2121  exec { "add an interface":
    2222    command => "/bin/echo '${content}' >> $file",
    23     unless => "/bin/grep -q '^iface[[:space:]]*${name}[[:space:]]' $file",
    24     notify => Exec["networking"]
     23    unless  => "/bin/grep -q '^iface[[:space:]]*${name}[[:space:]]' $file",
     24    notify  => Exec["networking"]
    2525  }
    2626
Note: See TracChangeset for help on using the changeset viewer.