How to call hiera hash from puppet module custom function

30 views
Skip to first unread message

Manoj Kumar

unread,
Dec 28, 2015, 2:58:31 AM12/28/15
to Puppet Users
Hi,

Can anyone please help to know "How to call hiera hash from puppet module custom function??"

Like we have following hash in hiera

ssh_groups:

    'webadmin':

        ensure: present

        gid: '2001'

        role:

            - web

        priority: 60

        content: 'ALL=(ALL) PASSWD:ALL'

    appadmin:

        ensure: present

        gid: '3001'

        role:

            - app

        priority: 90

        content: 'ALL=(ALL) NOPASSWD:ALL'



I want to use this hash in custom function. waiting for valuable reply asap

Reply all
Reply to author
Forward
0 new messages