Style cleanup: replace tab characters with \t
1 parent 17f8363 commit e251128c3e953e30028f42994f83fdf013cfd2a6
@Andreas Jaggi Andreas Jaggi authored on 12 Aug 2012
Showing 2 changed files
View
2
■■■
manifests/iface.pp
if $auto == 1 {
interfaces::auto { $_ifname: }
}
 
$str = "iface ${_ifname} ${family} ${method}\n <%= options.join('\n ') %>\n\n"
$str = "iface ${_ifname} ${family} ${method}\n\t<%= options.join('\n\t') %>\n\n"
concat::fragment{"interfaces::iface_${name}":
target => '/etc/network/interfaces',
content => inline_template($str),
}
View
2
■■■
manifests/mapping.pp
define interfaces::mapping ( $script, $maps ) {
$str = "mapping ${name}\n script ${script}\n <%= maps.join('\n ') %>\n\n"
$str = "mapping ${name}\n\tscript ${script}\n\t<%= maps.join('\n\t') %>\n\n"
concat::fragment{"interfaces::mapping_${name}":
target => '/etc/network/interfaces',
content => inline_template($str),
}