[Puppet Users] puppetserver 2.0.0 and fileserver.conf counterpart?

2015-04-30 Thread Stefan Wiederoder
I´m struggling with puppetserver 2.0.0 on RHEL7, how do I configure puppetserver regarding the fileserver settings? -- 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

Re: [Puppet Users] PE 3.8 install problems

2015-04-30 Thread Ken Barber
> I've created a fresh VM with centos7 to install PE3.8 I made sure that all > the requirements were met and started the installation however after puppet > is installed its having probems starting the pe-puppetserver > > from the logs : > > Apr 29 20:56:47 node1 systemd: Starting pe-puppetserver

Re: [Puppet Users] Hiera Hash Merge - Avoiding Duplicating

2015-04-30 Thread jcbollinger
On Wednesday, April 29, 2015 at 8:25:17 AM UTC-5, Joseph Swick wrote: > > On 29/04/15 08:30, Dan White wrote: > > Have you tried plain YAML ? > > Your code looks OK, but I cannot be certain without tinkering. My > initial thought is that the eyaml backend may be to blame. > > So this is an is

[Puppet Users] Re: hiera, when to use "::" for variables

2015-04-30 Thread Grant Schoep
Thanks, that does make sense. I read your first answer and was about to say .. "but..." and then your 2nd post made it more clear. It works as expected now. when using hiera from the command line calling it by "::env=test" works. -- You received this message because you are subscribed to the G

[Puppet Users] Re: Can't Execute Scripts?

2015-04-30 Thread jcbollinger
On Wednesday, April 29, 2015 at 9:20:37 AM UTC-5, Jacob W. wrote: > > Hi all, > > I'm trying to run some scripts provided by Red Hat to test for select > security vulnerabilities. They're as-is from Red Hat, excluding a minor > modification so I get emailed when it finds a vulnerable system (no

Re: [Puppet Users] PE 3.8 install problems

2015-04-30 Thread Justin Lim
this is whats in the pe-puppetserver.log 2015-04-29 20:57:17,462 INFO [p.t.s.w.jetty9-service] Starting web server(s). 2015-04-29 20:57:17,641 INFO [p.t.s.w.jetty9-core] Starting web server. 2015-04-29 20:57:17,652 INFO [o.e.j.s.Server] jetty-9.2.z-SNAPSHOT 2015-04-29 20:57:17,751 INFO [o.e.j

[Puppet Users] Catalog synchronisation

2015-04-30 Thread César
Hi all, I am facing this problem now and I cannot seem to find any tips on what would be the best option, so hopefully I can get some advice here! The scenario is the following: I want to change the IP of the Puppetmaster node and update the hosts files -no DNS at the moment- in that node and in

Re: [Puppet Users] Re: Open Source 4.0 version identifier vs. very different rpm and dpkg package versions

2015-04-30 Thread Michael Stahnke
On Wed, Apr 29, 2015 at 9:32 AM, Corey Osman wrote: > I am glad I am not the only one who said WTF is Puppet Agent 1.0. If in > fact this is referring to the collection repo around running puppet agent > AIO than it should be called Puppet Agent Collection AIO 1.0 or something > similar. > It's

[Puppet Users] Visual Studio Code Released for Windows, OSX, and Linux

2015-04-30 Thread Rob Reynolds
For those paying attention, Yesterday Microsoft released Visual Studio Code, which is built on top of Electron (what Atom Editor is built on). One of the things we are wanting to add is Puppet Language Support to it - http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/

Re: [Puppet Users] Re: Open Source 4.0 version identifier vs. very different rpm and dpkg package versions

2015-04-30 Thread Michael Stahnke
Rather than reply and quote lots of points, I'll just bring up a few things which could help clarify our goals. I'm sure not everybody will agree or love all of them, we know there are compromises here but attempted to make choices with the user's benefit and ease of use in mind. * The package is

Re: [Puppet Users] Hiera Hash Merge - Avoiding Duplicating

2015-04-30 Thread Joseph Swick
On 30/04/15 09:30, jcbollinger wrote: > > > Priority lookup is Hiera's focus and default, and automated data binding > uses that mode exclusively. If you want hash-merge lookup then you must > call hiera_hash() explicitly in your manifest. > > > John > John, Here's a simplified example

Re: [Puppet Users] Catalog synchronisation

2015-04-30 Thread Jochen Häberle
Hi Cesar, I know of no way to synchronise catalog compilation. I would try to update all nodes in a first step. When all agents are updated, I would change the IP of the puppetmaster. If the nodes do not reconnect to the master automatically, because for example the agent stops working, I would

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-04-30 Thread Kamil Keski
Thanks for the reply Josh. I worked through this and other posts I found pointing to the tmp issue. However I don't have /tmp or /usr/tmp mounted, they are just dir's on the root mount. fstab: # /dev/mapper/ITTPuppet--vg-root / ext4errors=remount-ro 0

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-04-30 Thread Kamil Keski
Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/usr/tmp java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2) OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode) The last printout was from another fresh image I tried on 12.04 (same result). On Thursday,

Re: [Puppet Users] How to force generation of ca_crl.pem?

2015-04-30 Thread Dominique Quatravaux
Le mardi 9 juillet 2013 04:03:32 UTC+2, Amos Shapira a écrit : > > I've verified that the "puppet cert generate.." command generates the > files which are required to get the Apache daemon up and running. > Thanks Ken. > > This didn't work for me, however the following did: puppet cert genera

Re: [Puppet Users] PE 3.8 install problems

2015-04-30 Thread Roman Mueller
Hi, > > [root@node1 system]# systemctl status pe-puppetserver.service >> > pe-puppetserver.service - pe-puppetserver Service >> >Loaded: loaded (/usr/lib/systemd/system/pe-puppetserver.service; >> > disabled) >> >Active: failed (Result: timeout) since Wed 2015-04-29 20:59:18 CDT; >> 7min

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-04-30 Thread Martin Alfke
Hi Kamil, have you tried setting the path attribute at the exec resource? Puppet exec starts with an empty environment and you are using several Unix commands without full path. hth, Martin On Apr 30, 2015 7:29 PM, "Kamil Keski" wrote: > Thanks for the reply Josh. I worked through this and oth

[Puppet Users] passing resource ensure=> values in variables?

2015-04-30 Thread Christopher Wood
I'm trying to pass ensure=> values in variables (and set resource defaults conditionally) and it doesn't seem to work that way. If there's some way of getting this working I am very happy to hear about it. In my site.pp I have this sort of thing: if $::devstyle and str2bool($::devstyle) { not

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-04-30 Thread Kamil Keski
Yes, I've added the temp path arg to the pe-puppetserver init as well. No go. Has anyone installed successfully from scratch using an ubuntu 12.04 or 14.04 distro? Not an existing one, but a nice fresh build? On Thursday, April 30, 2015 at 11:49:29 AM UTC-6, Martin Alfke wrote: > > Hi Kamil,

Re: [Puppet Users] PE 3.8 install problems

2015-04-30 Thread Justin Lim
I've since increased resources on the vm and now the puppetserver starts however something between that and all the curl lines something is missing so its failing to get something from the curl [root@node1 system]# systemctl status pe-puppetserver.service pe-puppetserver.service - pe-puppetserv

[Puppet Users] Re: Fresh Puppet PE 3.8 install error

2015-04-30 Thread charles crowder
I'm having the same problem on RHEL 6.6 I opened a support case with puppet, and they had me check the usual suspects like the /tmp noexec. I confirmed that pe-puppetserver is up and listening on 8140, and I also confirmed that I could successfully curl to the FQDN after stripping out the http

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-04-30 Thread Kamil Keski
Going to answer my own question here as there is likely no way a fresh install of PE 3.8 will succeed on Ubuntu 12.04 or 14.04. Ruby comes preinstalled with the distro's with a version of 1.9 (old for sure). However this should be known. I Installed 2.1.5, made global and the installation of

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-04-30 Thread Kamil Keski
Scratch 2.1.5 as the issue. Quick lsof shows that everything is still using the 1.9.1 binary pulled in the install. Only other thing I installed was the following packages as they are my default pulls for a ruby build. zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlit

[Puppet Users] include a class in another class

2015-04-30 Thread Tim Dunphy
Hey all, I'd like to include the apache service in my php puppet module. Because when changes are made to the php.ini file, naturally you'll need to bounce apache (if thats your choice of web server) in order for changes to take effect. Same thing with adding php modules, etc. So in my php pupp