Skip to content

Instantly share code, notes, and snippets.

@justinhennessy
Last active August 29, 2015 13:56
Show Gist options
  • Save justinhennessy/9202320 to your computer and use it in GitHub Desktop.
Save justinhennessy/9202320 to your computer and use it in GitHub Desktop.

Should the hiera call be done like this:

apps::cron { 'braintree-initiate_settlement':
     app_name => $app_name,
     app_root => $app_root,
     time => hiera('braintree::cron::initiate_settlement'),
     rake => true,
   }

or like this:

$cron_time = hiera('braintree::cron::initiate_settlement')

apps::cron { 'braintree-initiate_settlement':
     app_name => $app_name,
     app_root => $app_root,
     time => $cron_time,
     rake => true,
   }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment