vidual File resources
define input_node_wrapper ($port, $component) {
file { "a_file_for_input_node_${name}":
path=> 'somewhere',
content => 'some_other_template',
}
}
create_resources('input_node_wrapper', $input
7; },
> [possibly input4... inputN]
> }
> $input_merged = merge($input_base, $input_node)
> file { 'input_merged_file':
> content => template("template_that_uses_input_merged")
> }
>
> #Uses $port and $component params in individual File resources
> define inp
{
file { "a_file_for_input_node_${name}":
path=> 'somewhere',
content => 'some_other_template',
}
}
create_resources('input_node_wrapper', $input_merged)
--
Luke Bigum
Senior Systems Engineer
Information Systems
- Original Message -
Fro
On 05/06/16 19:56, Robert Poulson wrote:
Dear List,
I've been using Puppet for over a year now and I'm quite enjoying it.
I've learned some stuff but there is of course always room for
improvement. Now I have a task which needs a nicer solution than I'm
currently capable of.
I have a hash of it
Dear List,
I've been using Puppet for over a year now and I'm quite enjoying it. I've
learned some stuff but there is of course always room for improvement. Now
I have a task which needs a nicer solution than I'm currently capable of.
I have a hash of items with to key/value pairs, which is *the