- Timestamp:
- Feb 27, 2010, 1:19:45 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/modules/puppet-network/manifests/os/debian.pp
r538 r545 1 1 class network::debian { 2 2 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, 5 5 refreshonly => true, 6 6 } 7 7 8 8 package {"resolvconf": 9 ensure 9 ensure => installed, 10 10 } 11 11 … … 21 21 exec { "add an interface": 22 22 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"] 25 25 } 26 26
Note: See TracChangeset
for help on using the changeset viewer.