Skip to content

Commit

Permalink
Merge pull request #5 from lpalgarvio/patch-2
Browse files Browse the repository at this point in the history
Patch 2
  • Loading branch information
Zetten committed Oct 13, 2015
2 parents 9f05c76 + 309774f commit 851fbd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/ruby
#!/usr/bin/env ruby
#
# Copyright 2014 Peter van Zetten
#
Expand All @@ -24,7 +24,7 @@ scope = { 'clientcert' => ARGV[0], 'fqdn' => ARGV[0], 'hostname' => ARGV[0] }
# Hiera interface
hiera = Hiera.new(:config => '/etc/puppet/hiera-enc/hiera-enc.yaml')

lookupValues = ['environment', 'parameters', 'classes']
lookup_values = ['environment', 'parameters', 'classes']

result = {}

Expand Down
2 changes: 2 additions & 0 deletions hiera-enc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
:yaml:
:datadir: /etc/puppet/hiera-enc/nodes
:hierarchy:
- "%{clientcert}"
- "%{fqdn}"
- "%{hostname}"
- "default"

0 comments on commit 851fbd8

Please sign in to comment.