diff --git a/manifests/iface.pp b/manifests/iface.pp index 9eb49a8..d1d6eef 100644 --- a/manifests/iface.pp +++ b/manifests/iface.pp @@ -8,7 +8,7 @@ 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), diff --git a/manifests/mapping.pp b/manifests/mapping.pp index a74abf6..8fe109e 100644 --- a/manifests/mapping.pp +++ b/manifests/mapping.pp @@ -1,5 +1,5 @@ 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),