do you want to save the hiera data to redis and puppet automatically 
retrieve data in redis?
#1, ruby have redis module, you can just save parameters into redis in 
ruby.https://github.com/redis/redis-rb
#2, you can write hiera custom backend to read actual data in any way you 
want. http://docs.puppetlabs.com/hiera/1/custom_backends.html

On Tuesday, April 7, 2015 at 5:11:47 PM UTC+8, Dhaval wrote:
>
> Hello,
>
> how do i add below to redis ?
>
> sudo::configs:
>   'admins':
>     'content'   : "%admins ALL=(ALL) NOPASSWD: ALL"
>     'priority'  : 10
>
> I tried couple of things but not sure how to add array of hashes.
>
> Regards,
> D
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/690a04fc-0a18-424a-aa7c-741d0f73a7e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to