Skip to content

Instantly share code, notes, and snippets.

@electrofelix
Last active February 1, 2018 10:17
Show Gist options
  • Select an option

  • Save electrofelix/774d903af8f70705e988c40678545c08 to your computer and use it in GitHub Desktop.

Select an option

Save electrofelix/774d903af8f70705e988c40678545c08 to your computer and use it in GitHub Desktop.
class jenkins::slave::baremetal_test (
$ensure = 'present',
)
{
$defaults = merge({ ensure => $ensure }, hiera('jenkins::slave::baremetal'))
create_resoures('class', { 'jenkins::slave::baremetal' => hiera('jenkins::slave::baremetal_test') }, $defaults )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment