Hi Christ,
Sorry, I missed use the class: class { 'keys': }. Now it works. Thanks for
your time.
Thanks
Mohan L
On Sunday, May 10, 2015 at 7:32:37 AM UTC+5:30, Mohan L wrote:
>
> Hi Christ,
>
>
> # puppet apply -e '$keys_hash = hiera('sg-puppet-agent-14') notify {
> $keys_hash: }'
>
> # puppet
Hi Christ,
# puppet apply -e '$keys_hash = hiera('sg-puppet-agent-14') notify {
$keys_hash: }'
# puppet apply -e '$keys_hash = hiera('sg-puppet-agent-14') notify {
$keys_hash: }'
Notice: Compiled catalog for sgptcomosbcppt01 in environment production in
0.05 seconds
Notice: {"ubuntu"=>{"user"
On Thu, May 07, 2015 at 08:50:12AM -0700, Mohan L wrote:
>Dear All,
>I am new to Puppet. Recently started l learning it.
>I need to push multiple ssh keys for client machine,
>Here is what I have written:
>Hiera:
># cat hiera.yaml | grep -v ^#
>---
>:backends:
>
Dear All,
I am new to Puppet. Recently started l learning it.
I need to push multiple ssh keys for client machine,
Here is what I have written:
Hiera:
# cat hiera.yaml | grep -v ^#
---
:backends:
- yaml
:hierarchy:
- global
:yaml:
:datadir: /etc/puppet/hieradata
# cat /etc/puppet/hie