Re: [Puppet Users] developing module for k5login

2015-04-07 Thread Dhaval
i changed variable name and it worked now. On Tuesday, 7 April 2015 15:46:54 UTC+5:45, Dhaval wrote: > > Hello, this is what it looks. > > init.pp > > class k5login( > $principles = hiera_array('k5login::principles', []) > ){ > validate_array($principles) > > file { '.k5login': > ensure

Re: [Puppet Users] developing module for k5login

2015-04-07 Thread Dhaval
Hello, this is what it looks. init.pp class k5login( $principles = hiera_array('k5login::principles', []) ){ validate_array($principles) file { '.k5login': ensure => file, path=> '/root/.k5login', owner => 'root', group => 'root', mode=> '0644', content

Re: [Puppet Users] developing module for k5login

2015-04-07 Thread Martin Alfke
On 06 Apr 2015, at 17:35, Dhaval wrote: > hello, > > I am trying to develop puppet module for k5login entries .. now my question > is, how do i manage entries for multiple hierarchies ? > > currently when i try it, it picks up from where it finds entry first and > completes it, how do i get

[Puppet Users] developing module for k5login

2015-04-06 Thread Dhaval
hello, I am trying to develop puppet module for k5login entries .. now my question is, how do i manage entries for multiple hierarchies ? currently when i try it, it picks up from where it finds entry first and completes it, how do i get values so it creates an array from all hierachies and th