[Puppet Users] Puppet Training for Linux System Engineers.

2015-11-05 Thread Unus Humami
Hello Every one,

If any one interested in learning puppet, please shoot me an email with 
update you about next batch and fees.

Thanks
Humami

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1e69660b-5943-4628-b4b6-48befb0109e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Need Help to add multiple host entries in yaml file instead of repeating host attribute in manifest.

2015-06-02 Thread Unus Humami
Here is the generic code for host entires:

class abcd::hosts (

) inherits abcd::params {
 
host { 'etc_hosts':
ensure   = 'present',
name = $fqdn,
ip   = $ip,
host_aliases = $host_aliases,
  }
##
above values want to populate from yaml file and below is the output of 
yaml file for single host entry. what if I want to add multiple host 
entires using same variable. 
abcd.yaml
abcd::fqdn: 'example.com'
abcd::ip: '1.1.1.1'
abcd::host_aliases: 'example'
can some one please give me syntax to add multiple entires in hiera using 
single host attribute in manifest?
 
and here is the example line using in params.pp.
fqdn = hiera('abcd::fqdn', 'default.com')
 

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6e7482de-8df0-4c26-ada1-ef8b0b988ecd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.