[Puppet Users] Re: facter details copy to central location

2017-07-25 Thread Peter Faller
Have you looked at Puppet DB? (There's also a record of facts in /var/lib/puppet/yaml/facts/ for Puppet 3.x - might be available in Puppet 4 and 5 too.) On Tuesday, 25 July 2017 16:59:31 UTC+2, Amber Mehra wrote: > > Hey Guys, > > I have certain requirement to get puppet client inventory like "f

[Puppet Users] Re: erb if condition inside each.do loop

2017-07-25 Thread João Matos
if anyone needs , managed to do it like this <% @worker_list.each do |name, content| -%> <% if (content['type']) %>worker.<%= name %>.type=<%= content['type'] %><% end %> <% if (content['port']) %>worker.<%= name %>.port=<%= content['port'] %><% end %> <% if (content['host']) %>worker.<%= name %

[Puppet Users] facter details copy to central location

2017-07-25 Thread Amber Mehra
Hey Guys, I have certain requirement to get puppet client inventory like "facter operatingsystem, facter ipaddress, etc : copied all details to some where in file on Puppet master server . Please advise -- You received this message because you are subscribed to the Google Groups "Puppet User

[Puppet Users] Re: Puppet certification issue

2017-07-25 Thread jcbollinger
On Monday, July 24, 2017 at 9:26:39 AM UTC-5, nan meng wrote: > > 1. Version: > > Puppet: 4.10.4 > > Puppet server: 2.7.2 > > Puppet Agent: I do not use agent to do test. > > OS: Ubuntu 64-desktop 16.04 > > Openssl: 1.0.2g > 2. There is not any none default configuration. > > 3. Test command: o

[Puppet Users] Re: Creating a user without a shadow entry

2017-07-25 Thread jcbollinger
On Monday, July 24, 2017 at 4:33:09 PM UTC-5, William Korb wrote: > > We have a rather non-standard requirement on our Puppet-managed Linux > systems, and I'm trying to figure out if/how Puppet can satisfy it. > [...] > The solution up to now was to use the same UID as generated by WINBIND to >

[Puppet Users] Getting Hiera error in Puppet enterprise environment with non root account

2017-07-25 Thread Siva nagi reddy
Hi, We had setup Puppet enterprise master agent environment to deploy one application. We setup non-root user account by following Puppet dcos to deploy application as we dont have permissions for root account. 1) Installed the Sample module helloworld by following below steps and it worked w