Re: [Puppet Users] Puppet/Puppetboard throwing error 'Internal Server Error'

2016-02-11 Thread Manoj Kumar
yess I can see that too Thanks and Regards, Manoj Kumar FB : http://www.facebook.com/manojksamtani Blogger: http://linuxtroubleshoot.blogspot.com/ On Fri, Feb 12, 2016 at 4:25 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 01/27/2016 07:59 AM, Manoj Kumar wrote: > >> Yes, puppetd

Re: [Puppet Users] How to install tomcat silenlty using puppet on Windows 7

2016-02-11 Thread Maruti Gangumolu
Hi Felix, I was able to resolve the issue by specifying the right modulepath option in the puppet apply command. Thanks, Maruti. On Fri, Feb 12, 2016 at 4:41 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 01/28/2016 12:22 PM, Maruti Gangumolu wrote: > >> Thanks Dirk! It worked.

Re: [Puppet Users] firewall module to accept array of sources/dests

2016-02-11 Thread Alex Harvey
Hi Felix, Hunter Thanks for the responses. There's no doubt that it's a tricky feature to write, but having the feature would be a big win for the community and my customers. So I'd really like to do this, and I'm sure if we put our heads together we can come up with the best design possible.

[Puppet Users] Module layout

2016-02-11 Thread Matthew Ceroni
Just a quick question (whether it really matters or not) about module design. The following document https://docs.puppetlabs.com/guides/module_guides/bgtm.html Seems to indicate that the sub classes, such as install and service, should inherit the main class so that they have access to the par

Re: [Puppet Users] firewall module to accept array of sources/dests

2016-02-11 Thread Hunter Haugen
The difficulty with allowing multiple sources is that it falls in line only with a scripted workflow, not an idempotent workflow. This is from the iptables manpage: "Multiple addresses can be specified, but this will expand to multiple rules (when adding with -A), or will cause multiple rules to be

Re: [Puppet Users] German Umlauts in Catalog

2016-02-11 Thread Lindsey Smith
On Thu, Feb 11, 2016 at 2:47 PM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 01/21/2016 08:49 AM, Bjoern Meier wrote: > >> Hi Josh, >> >> ok, I think I found the problem, thanks to your questions. Our codepages >> in Windows are CP850, But the manifests and the master are UTF-8. Can

Re: [Puppet Users] Puppet::Type.newtype create_resource with notify

2016-02-11 Thread Felix Frank
Hi, On 01/29/2016 07:19 PM, Bartosz Kupidura wrote: New resources are added to catalog, but unfortunately notify is not working. | parameters ={:name =>'test',:notify =>'Service[test-service]',:value =>'10} res = catalog.create_resource('test_resource', parameters) target = catalog.resource

Re: [Puppet Users] How to install tomcat silenlty using puppet on Windows 7

2016-02-11 Thread Felix Frank
On 01/28/2016 12:22 PM, Maruti Gangumolu wrote: Thanks Dirk! It worked. I'm still facing with module class file. When I'm invoking site.pp -> nodes.pp -> init.pp manifest files I'm getting an error that apache class is not found. Could you please help me with it? # Manage apache tomcat v8 appl

Re: [Puppet Users] Prefetch in custom types in Puppet v4?

2016-02-11 Thread Felix Frank
On 01/27/2016 10:11 AM, Gareth Rushgrove wrote: I nearly always having something like: def self.prefetch(resources) instances.each do|prov| if resource = resources[prov.name] resource.provider = prov end end end Where instances returns an array of objects created using n

Re: [Puppet Users] Puppet/Puppetboard throwing error 'Internal Server Error'

2016-02-11 Thread Felix Frank
On 01/27/2016 07:59 AM, Manoj Kumar wrote: Yes, puppetdb is running :( OK, next debugging step: What's the output of `ss -tlnp | grep :8080` ? Thanks, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and

Re: [Puppet Users] German Umlauts in Catalog

2016-02-11 Thread Felix Frank
On 01/21/2016 08:49 AM, Bjoern Meier wrote: Hi Josh, ok, I think I found the problem, thanks to your questions. Our codepages in Windows are CP850, But the manifests and the master are UTF-8. Can I change the codepage only for ruby to UTF-8? If so, how? I'm not this familiar with ruby. Than

Re: [Puppet Users] Schedule Vcsrepo to sync local with remote

2016-02-11 Thread Felix Frank
On 02/03/2016 04:18 PM, mike r wrote: Trying to avoid using cron but cant figure if its possible to run this on PE Master as 'puppet apply vcsrepo.pp' every 15 min or so. Well `puppet apply` is definitely a great way to do this, but guess what: The best way to do *that* periodically is...cro

Re: [Puppet Users] Overriding class parameters within Foreman

2016-02-11 Thread Felix Frank
On 02/05/2016 02:25 AM, Kyle Flavin wrote: In the example above, I'm unable to override $dhcp_dnsdomain by setting the corresponding value on the host in Foreman. It always goes with the value of $::domain. Could you describe more specifically what you are setting where? Adding a variable ca

Re: [Puppet Users] firewall module to accept array of sources/dests

2016-02-11 Thread Felix Frank
On 02/09/2016 06:41 AM, Alex Harvey wrote: Can I get some feedback at this early stage that my PR would be accepted, assuming I can come up with a clean, working solution? Hi, I don't think that anyone will be able to answer this without at least looking at what you're building, or intend to.

Re: [Puppet Users] Simple question about recent Puppet versions

2016-02-11 Thread Kylo Ginsberg
On Thu, Feb 11, 2016 at 1:04 PM, David Karr wrote: > I know very little about Puppet, as I'm just starting to examine it. > > I had a couple of very high level questions about versions. > > As soon as I entered this group, I noticed the announcement about Puppet > 3.8.5 being released, and the do

Re: [Puppet Users] Issues with example42/php::augeas or with augeas in general

2016-02-11 Thread Felix Frank
On 02/09/2016 09:51 PM, Joseph Karns wrote: Hello All: I started getting failed resources from augeas and I'm hoping someone can help. The errors: Hi, your output asks you to enable debug output to get more information. Please run again like puppet agent --test --debug ...or whatever y

Re: [Puppet Users] v3 agent to v4 master ssl issue

2016-02-11 Thread Christopher Wood
Update is that I still don't know why this happened, but I know what I should not do when I go to convert the production puppetmasters. I have a set of 3.8.5 masters and was attempting to bring up a 4.3.2 master (puppetserver 2.2.1, puppet-agent 1.3.4) as a non-CA master to test things with. A

[Puppet Users] Simple question about recent Puppet versions

2016-02-11 Thread David Karr
I know very little about Puppet, as I'm just starting to examine it. I had a couple of very high level questions about versions. As soon as I entered this group, I noticed the announcement about Puppet 3.8.5 being released, and the docs pointer for that goes to the Puppet web site, showing vers

[Puppet Users] expire environment-cache does not expire custom functions

2016-02-11 Thread Michael Griffin
Environment: Puppet 3.8.4 Puppetserver 1.1.3 We were using an old version of the Foreman modules that included a custom function cache_data.rb. This function called for 2 arguments. We are in the process of upgrading the Foreman modules, which removes this custom cache_data function in favor o

[Puppet Users] On line lab credentials

2016-02-11 Thread Carlos Martinez
Hi Everyone, Did anybody knows what is the credentials for the puppet virtual lab on the line lessons? Thanks -- 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 to

Re: [Puppet Users] puppet facter for password hashing algorithm on a per OS basis

2016-02-11 Thread Garrett Honeycutt
On 2/10/16 9:33 PM, John Warburton wrote: > Ah manual changes... > > Ok you need some way to identify which hosts use which hash type and > classify them as such. > > We have an external node classifier, and we would set a parameter for > the host to say hash_type => 'bsdmd5' for example. You co

Re: [Puppet Users] Announce: Puppet 3.8.5 available

2016-02-11 Thread Kylo Ginsberg
On Thu, Feb 11, 2016 at 8:02 AM, Christopher Wood < christopher_w...@pobox.com> wrote: > For idle interest's sake, I calculated the catalog compilation times > across our puppetmasters on Thursday January 28th with (open source) 3.8.4 > and did the same thing just now for Thursday February 4th wit

Re: [Puppet Users] Announce: Puppet 3.8.5 available

2016-02-11 Thread Christopher Wood
For idle interest's sake, I calculated the catalog compilation times across our puppetmasters on Thursday January 28th with (open source) 3.8.4 and did the same thing just now for Thursday February 4th with (open source) 3.8.5. Average catalog compilation times improved from 23.59 s to 20.44 s,