them.
Mounts is one of the simpler ones.
Steven
--
Date: Sat, 9 Feb 2013 20:15:55 -0800
From: rai...@gmail.com javascript:
To: puppet...@googlegroups.com javascript:
Subject: Re: [Puppet Users] hiera query yaml parameters
When trying to separate user
form the PuppetLab's stdlib module
So does is_array and a bunch of other nice functions
Steven
--
Date: Tue, 5 Feb 2013 07:12:45 -0800
From: rai...@gmail.com
To: puppet...@googlegroups.com
Subject: Re: [Puppet Users] hiera query yaml parameters
Steven, thanks
that use this method, but I need time to document and
clean them up a bit, before releasing them.
Mounts is one of the simpler ones.
Steven
Date: Sat, 9 Feb 2013 20:15:55 -0800
From: rai...@gmail.com
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] hiera query yaml parameters
When trying
# $user_defs[$name] is the hash of the current item
# $user_defs[$name]['comment'] to access the user's comment field
}
Steven
--
From: yg...@comcast.net javascript:
Subject: Re: [Puppet Users] hiera query yaml parameters
Date: Sun, 3 Feb 2013 19:19:25 -0500
keys comes form the PuppetLab's stdlib moduleSo does is_array and a bunch of
other nice functions
Steven
Date: Tue, 5 Feb 2013 07:12:45 -0800
From: rai...@gmail.com
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] hiera query yaml parameters
Steven, thanks for your reply! You
: [Puppet Users] hiera query yaml parameters
Steven, thanks for your reply! You are right. It is unnecessary using
create_resource to query yaml parameters. It can be done directly as
following:
$sshd_hash = hiera(os_users)
$server_ssh_keys = $sshd_hash[$username][ssh_keys][key]
format of my
# $user_defs[$name]['comment'] to access the user's comment field
}
Steven
From: y...@comcast.net
Subject: Re: [Puppet Users] hiera query yaml parameters
Date: Sun, 3 Feb 2013 19:19:25 -0500
To: puppet-users@googlegroups.com
Could you show your solution, please ?
I would like
Could you show your solution, please ?
I would like to see how you did it.
On Feb 3, 2013, at 6:46 PM, roadtest wrote:
I figure out the solution.
Using the create_resource to convert YAML to a hash array, then I can query
retrieve every individual value. If there is better way, feel
Subject: Re: [Puppet Users] hiera query yaml parameters
Date: Sun, 3 Feb 2013 19:19:25 -0500
To: puppet-users@googlegroups.com
Could you show your solution, please ?
I would like to see how you did it.
On Feb 3, 2013, at 6:46 PM, roadtest wrote:I figure out the solution.
Using the create_resource
Hello,
I have a yaml data file containing user account with following information.
#more users.yaml
---
os_users:
user1:
locked: false
comment: System Operator
uid: '700'
gid: '700'
groups:
- admin
- sudonopw
sshkeys:
- ssh-rsa
10 matches
Mail list logo