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

formateo segun la guia de estilo de puppet

Location:
trunk/puppet/modules/puppet-network/manifests/os
Files:
2 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
  • trunk/puppet/modules/puppet-network/manifests/os/openbsd.pp

    r510 r545  
    11class network::openbsd {
    22  exec { "netstart":
    3     command => "/bin/sh /etc/netstart",
    4     logoutput => true,
     3    command     => "/bin/sh /etc/netstart",
     4    logoutput   => true,
    55    refreshonly => true,
    66  }
Note: See TracChangeset for help on using the changeset viewer.