Ignore:
Timestamp:
Feb 16, 2010, 12:05:21 AM (14 years ago)
Author:
sebas
Message:

mejor exec definicion

Location:
trunk/puppet/modules/puppet-network
Files:
2 edited

Legend:

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

    r510 r538  
    1919
    2020  # add an interface line if doesn't exist
    21   exec { "/bin/echo '${content}' >> $file":
     21  exec { "add an interface":
     22    command => "/bin/echo '${content}' >> $file",
    2223    unless => "/bin/grep -q '^iface[[:space:]]*${name}[[:space:]]' $file",
    2324    notify => Exec["networking"]
Note: See TracChangeset for help on using the changeset viewer.