Re: [Puppet Users] Re: Security of facts (aka: who can see my facts?)

2013-11-04 Thread Virender Khatri
puppetdb also expose facts etc. details via api calls too, you might want to check that out. take a look at hiera-gpg puppet module to store hiera variables in encrypted form, it will provide enough security on hiera/git side. On Mon, Nov 4, 2013 at 7:49 PM, Arnaud Gomes-do-Vale

Re: [Puppet Users] Puppet agent and puppet master

2013-09-16 Thread Virender Khatri
You can use splay to schedule agent run and yes, you can view agent run / changes status in /var/log/messages. http://docs.puppetlabs.com/references/latest/configuration.html#splay -V On Mon, Sep 16, 2013 at 4:27 PM, Adeel Bhatti adeelarifbha...@gmail.comwrote: Hi, Is it nesseccary to

Re: [Puppet Users] Add a public ssh key form node A to authorized keys on node B

2013-08-05 Thread Virender Khatri
Well, actually it is straight forward. Just create a ssh_authorized_keys resource for an user for both nodes and store the private key in .ssh/id_rsa or define Identity key file in .ssh/config. On Sat, Aug 3, 2013 at 7:12 AM, Mark Ruys mark.r...@gmail.com wrote: With the risc I ask a

Re: [Puppet Users] Re: ERB Template Newb Question

2013-07-14 Thread Virender Khatri
If you are using hiera, you can set the default value to UNSET for those variables, it should do it. *rabbitmq_port = hiera('**rabbitmq_port','UNSET')* * * If you are using host facts, you can modify if condition like this: *% if **@rabbitmq_port != '' and **@rabbitmq_port != 'UNSET' -%* * *

Re: [Puppet Users] how to run backtick in erb file

2013-06-25 Thread Virender Khatri
If you are managing sssd* package(s) via puppet, you can try this: module.pp - if defined(Package['sssd']) and defined(Package['sssdxx']) { $session_variable = sss.so } else { $session_variable = pam_ldap.so } template.erb - session optional %= session_variable -% - On Tue,