Hi,

On 05/26/2014 03:43 PM, Jesse Cotton wrote:
> if $gpg_key_id == undef {
> $flags += ['--no-encryption']
> }

adding to arrays may actually work.

> else {
> $options['--encrypt-id'] = $gpg_key_id
> }

Yeah, I guess that's an issue.

You may find that such logic will indeed have to move to your template
code. I have used a pattern of

# Template boilerplate here
<%
  - code block that munges input data here -
-%>
# template code that relies on munged data here

Hope that makes sense.

Cheers,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53847D9A.2020902%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to