[Puppet Users] Managing multiline xml attributes with augeas

2016-10-21 Thread Francois Herbert
I'm trying to use the augeas resource type to manage a multiline attribute in an xml file. It looks like this: http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="urn:mace:shibboleth:2.0:resolver http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

Re: [Puppet Users] Puppet agent not able to connect to puppet server after rebooting puppet server

2016-10-21 Thread shakeel pasha
Check the hosts entries for master and client on client Even if u r using dns to resolve Stop the agent on client Delete the content in ssl directory Rerun the command again See if ur firewall is not blocking anything ports that client agents talks to master On 21-Oct-2016 4:27 PM,

[Puppet Users] Two Facter files seem to conflict

2016-10-21 Thread aarb000
I have two custom facts and I have put each file in the directory for a single module. Both facts get loaded onto my clients. The problem I am having is that each fact runs successfully when it is by itself, but when both run at the same time, the results aren't as expected. To test, I rename

[Puppet Users] GDM configurations with a puppet module

2016-10-21 Thread warron.french
Hello all, I have created a puppet module (and class) that manages the content of the banners of systems. By banners, I am referring to: - /etc/issue - /etc/issue.net - /etc/motd These are all controlled by a class in my module named *mas_shared_all_bannersmgmt *with the class for

Re: [Puppet Users] Two Facter files seem to conflict

2016-10-21 Thread aarb000
Actually I meant that all of my workstations begin with a number. Thank you. On Friday, October 21, 2016 at 3:40:48 PM UTC-5, Warron French wrote: > > Hello, sorry that I cannot contribute directly to your solution, but in > the body of your email messsage you said all workstations start with

Re: [Puppet Users] Two Facter files seem to conflict

2016-10-21 Thread warron.french
Hello, sorry that I cannot contribute directly to your solution, but in the body of your email messsage you said all workstations start with a *#*, did you mean w? The two characters on the keyboard are near each other. -- Warron French On Fri, Oct 21, 2016 at 4:05 PM,

Re: [Puppet Users] Two Facter files seem to conflict

2016-10-21 Thread warron.french
OK, sorry aarb. -- Warron French On Fri, Oct 21, 2016 at 4:44 PM, wrote: > Actually I meant that all of my workstations begin with a number. > > Thank you. > > On Friday, October 21, 2016 at 3:40:48 PM UTC-5, Warron French wrote: >> >> Hello, sorry

[Puppet Users] Re: Two Facter files seem to conflict

2016-10-21 Thread aarb000
Some additional information. I can confirm that the reason that server_role = Facter.value(:hostname) if server_role[0,1] != "a" isn't true for servers who's names do start with a is directly related to settings in the location_code.rb file if I rem out everything in server_role except

Re: [Puppet Users] Two Facter files seem to conflict

2016-10-21 Thread Rob Nelson
I assume slice! modifies the string in place rather than returning the resulting string without modifying the original, as most ! funcs do. Is there a reason you are doing that rather than saving the result in another variable and returning that value at the end? I ask this because string

[Puppet Users] Puppet agent not able to connect to puppet server after rebooting puppet server

2016-10-21 Thread rakshatha.shetty via Puppet Users
Hi All, I have puppet open source installed on RHEL server and puppet agent on windows server 2012. Setup was done and was working fine, but after rebooting the puppet server, command puppet agent -t is throwing an error *'Failed to generate additional resources using 'eval_generate': Server

Re: [Puppet Users] Issue with module from forge - Duplicate declaration Class[Rsyslog]

2016-10-21 Thread re-glaue
On Thursday, October 20, 2016 at 4:42:47 PM UTC-5, re-g...@wiu.edu wrote: > > > > On Thursday, October 20, 2016 at 10:31:59 AM UTC-5, jcbollinger wrote: >> >> >> >> On Wednesday, October 19, 2016 at 4:51:20 PM UTC-5, re-g...@wiu.edu >> wrote: >>> >>> >>> >>> On Tuesday, October 18, 2016 at