Newer
Older
puppet-interfaces / manifests / mapping.pp
  1. define interfaces::mapping ( $script, $maps ) {
  2. concat::fragment{"interfaces::mapping_${name}":
  3. target => '/etc/network/interfaces',
  4. content => inline_template("mapping <%= @name %>\n\tscript <%= @script %>\n\t<%= @maps.join('\n\t') %>\n\n"),
  5. }
  6. }