Re: [Puppet Users] Re: Facts which depend on (not-yet-installed) packages

2015-03-17 Thread Poil
Hi, You can write something that will lookup in the dpkg/yum cache (but I don't like this), so you will have the future installed version at the 1st run Exemple here : https://github.com/fsalum/puppet-redis/blob/master/lib/facter/redis_version.rb Best regards, Le 16/03/2015 17:07, jcbolli

Re: [Puppet Users] Could not retrieve file metadata ... end of file reached

2015-03-17 Thread James Green
I am not convinced that this is to do with an agent being busy then attempting the next connection. Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: end of file reached Warning: Not using cache on failed catalog Error: C

[Puppet Users] Re: who updated my puppet.conf on puppet master

2015-03-17 Thread jcbollinger
On Monday, March 16, 2015 at 2:59:33 PM UTC-5, Robert Chen wrote: > > I installed a puppetdb with puppet master. > > I need to add dns_alt_names = puppet.mydomain.com,puppet > > to make it works or else a lot of errors like: > > Error: Could not retrieve catalog from remote server: Error 400 on

Re: [Puppet Users] Could not retrieve file metadata ... end of file reached

2015-03-17 Thread Josh Cooper
On Tue, Mar 17, 2015 at 4:52 AM, James Green wrote: > I am not convinced that this is to do with an agent being busy then > attempting the next connection. > > Info: Retrieving pluginfacts > Info: Retrieving plugin > Info: Loading facts > Error: Could not retrieve catalog from remote server: end

[Puppet Users] Re: puppet 3.7.4 using auth.conf file from github - "default" acl at end apparently preventing access?

2015-03-17 Thread Matt W
Has anyone else come up with a solution for this? We just booted a new puppet master for the first time in a few weeks and it came up with Passenger 5 (we were on 4.0.69) -- and failed. For the time being we've patched our code to use an updated repo location with Passenger 4.x, but we'd like t

[Puppet Users] Questions about PE

2015-03-17 Thread Peter Berghold
HI folks, Six months into my project to bring Foreman/Puppet into my work environment someone has asked the question "Hey! Can we get a licensed version of this with support?" My answer, "sure... where's the funding?" That aside I have some questions about Puppet Enterprise: 1) Does it work wi

[Puppet Users] Re: who updated my puppet.conf on puppet master

2015-03-17 Thread Martijn
As a side node, that error ("Attempt to assign to a reserved variable") seems to be caused by an error in your manifests. I don't see how it could be related to the dns_alt_names setting in puppet.conf. Regards, Martijn Op maandag 16 maart 2015 20:59:33 UTC+1 schreef Robert Chen: > > I installe

[Puppet Users] Announce: Strings 0.2.0 Released

2015-03-17 Thread Hailee Kenney
We’re happy to announce the latest release of the strings module. Strings 0.2.0 is a backward-compatible minor release. It includes improvements to the HTML output generated by strings and a few bug fixes. *The CHANGELOG can be found here: https://github.com/puppetlabs/puppetlabs-strings/blob

[Puppet Users] Re: Restricting access to environments by IP or cert in puppetserver

2015-03-17 Thread Michael Smith
Hi Luca, Yes, in a pre-puppetserver world I am using Apache and mod_passenger. But for scalability I'd really like to switch to puppetserver which is meant to do all its own SSL using Trapperkeeper. Putting APache in front of it will fail because of https://tickets.puppetlabs.com/browse/SERVER-

Re: [Puppet Users] Questions about PE

2015-03-17 Thread Rilindo Foster
1) Does it work with Foreman? Yes, though if you are not using Foreman for anything other than Reporting and ENC, Puppet's console is pretty capable as a replacement. 2) Can it be installed from an internal RPM repository? Yes. There is a Foreman repo you'll need to sync for the base packages

[Puppet Users] Question about directory environment setting.

2015-03-17 Thread Hiu
hi all, I am pretty new to puppet, and installed puppet 3.7.4 and centos66. I have read some documentations about the directory environment setting. but i can't figure out how to make it work. My aim is create another environment e.g. development. May be it should a simple mistake but, please b

[Puppet Users] Re: Question about directory environment setting.

2015-03-17 Thread Alex Harvey
I don't have a PE3.7 handy to try it but it looks like you simply don't need a section in your environment.conf file, as the error message says. I think you need to look at this page: http://docs.puppetlabs.com/puppet/latest/reference/config_file_environment.html On Wednesday, March 18, 2015 at

[Puppet Users] Re: Facts which depend on (not-yet-installed) packages

2015-03-17 Thread Alex Harvey
Can't you avoid this problem altogether by determining the PHP version in your custom provider code? Then you wouldn't need a custom fact at all, and in your manifest, have the custom type require the PHP package. On Monday, March 16, 2015 at 6:04:53 AM UTC+11, Jan S. wrote: > > Hello, > > I ha