Skip to content

Instantly share code, notes, and snippets.

@WhatsARanjit
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WhatsARanjit/d6825224fb55e91e014c to your computer and use it in GitHub Desktop.
Save WhatsARanjit/d6825224fb55e91e014c to your computer and use it in GitHub Desktop.
Hiera_hash into profile
class profiles::mything (
$foo = hiera_hash('blah'),
) {
class { 'foo':
foo => $foo,
}
}
---
blah:
foo: bar
bar: baz
@rnelson0
Copy link

Would that be the same end result as...

class {'foo':
  foo => {foo => bar,
          bar => baz,
  },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment