[Puppet Users] Re: [foreman-users] Re: Reports not showing up in foreman.

2015-03-05 Thread Peter Berghold
now I'm mad at myself I must have read that doc ten times in the last week and missed that very important point. Good news is my module for managing the configuration of the Remote Masters now includes that tidbit. On Thu, Mar 5, 2015 at 9:58 AM Nick Howes nickho...@gmail.com wrote: Facts

Re: [Puppet Users] External Facts in MODULEPATH/MODULE/facts.d/

2015-03-05 Thread Felix Frank
On 03/05/2015 11:55 PM, Dan White wrote: --external-dir=/var/lib/puppet/facts.d/ Ah. Good catch! It is not a bug. It is an Undocumented Feature :D Hah! Well I'm not convinced. UX bugs are still issues. Cheers, Felix -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Order class with parameter

2015-03-05 Thread Felix Frank
On 03/04/2015 02:10 PM, Thomas Bendler wrote: /contain icinga::package/ /contain icinga::config/ /contain icinga::service/ / / /Class['icinga::package'] -/ /Class['icinga::config'] -/ /Class['icinga::service']/ Unfortunately the ordering isn't correct, the module try to install the

Re: [Puppet Users] Can't remove depreciated warning message

2015-03-05 Thread Felix Frank
On 02/09/2015 05:54 AM, David LeVene wrote: Any suggestions as to where to look next? Hi, in case you're still struggling with this - you can try and locate the catalog (in $vardir/client_yaml) and examine the package resources for starters. Good luck, Felix -- You received this message

Re: [Puppet Users] Share data between custom functions/resources/providers?

2015-03-05 Thread Felix Frank
Hi, there might be ways to achieve this, but also plenty caveats. You mention all of functions, resources and providers, but I see no indication that all of them relate to your question. Are you aware of the differences between the three? Have you implemented anything already, or are you still

[Puppet Users] [ANN] CMITS 1.3 released on GitHub

2015-03-05 Thread JENNINGS, JARED L CTR USAF AFMC 96 SK/CCI
Configuration Management for IT Systems (CMITS) 1.3 has been released on GitHub at https://github.com/afseo/cmits. From the README: This is a toolset that makes it easier for network administrators to configure IT systems in compliance with U.S. Department of Defense requirements, and to

Re: [Puppet Users] External Facts in MODULEPATH/MODULE/facts.d/

2015-03-05 Thread Dan White
Thank for the reminder, Felix I figured out what I was missing: The facts show up in a puppet manifest with no problem, but to get them to show on the facter command line, you need to add : --external-dir=/var/lib/puppet/facts.d/ So, if I do it this way: [user ]# facter

[Puppet Users] bitbucket.org or internal git server and puppet-sync git hook

2015-03-05 Thread tyon
Hi everybody. I recently started using Puppet directory environments. I really like the idea of Dynamic Puppet environments with Git branches and Git hooks to sync Puppet master after any changes were pushed to the Git server. Can I use external service like Bitbucket as a Git master or do I

[Puppet Users] Bitbucket and puppet-sync

2015-03-05 Thread tyon
Hi all, Is it possible to keep your central repository for Puppet modules in Bitbucket and sync it with your Puppet master with puppet-sync script (something like this one https://github.com/pdxcat/puppet-sync) I cannot find how to add your custom hooks in Bibucket. I'm curious if it's

[Puppet Users] Implement Puppet Master into our productive environment

2015-03-05 Thread hoize
Hello! Tthe last months I installed and tested a Puppet Master in a testing environment. But now I have to imigrate it into our Productive Environment. So I have some questions: 1. How many nodes can Puppet Master (Open Source) maximal provide? 2. If it is necessary to cluster for about

Re: [Puppet Users] External Facts in MODULEPATH/MODULE/facts.d/

2015-03-05 Thread Johan De Wit
On 06/03/15 00:31, Josh Cooper wrote: On Thu, Mar 5, 2015 at 3:07 PM, Felix Frank felix.fr...@alumni.tu-berlin.de mailto:felix.fr...@alumni.tu-berlin.de wrote: On 03/05/2015 11:55 PM, Dan White wrote: --external-dir=//var/lib/puppet/facts.d// Ah. Good catch! It is

Re: [Puppet Users] External Facts in MODULEPATH/MODULE/facts.d/

2015-03-05 Thread Felix Frank
Hi Dan, interesting, I think I can reproduce, with facter 2.4.1. Might be a bug. I observe `puppet agent` opening my $vardir/facts.d files (through strace), but not `facter -p`. Cheers, Felix On 02/09/2015 05:41 PM, Dan White wrote: Puppet 3.7.3 Facter 2.3.0 running on RHEL 6 Reference:

Re: [Puppet Users] External Facts in MODULEPATH/MODULE/facts.d/

2015-03-05 Thread Josh Cooper
On Thu, Mar 5, 2015 at 3:07 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 03/05/2015 11:55 PM, Dan White wrote: --external-dir=*/var/lib/puppet/facts.d/* Ah. Good catch! It is not a bug. It is an Undocumented Feature :D Hah! Well I'm not convinced. UX bugs are still

[Puppet Users] Puppetdb 2.2.2 - warning in log every 2 seconds when modifying host jetty.ini

2015-03-05 Thread Duncan McNaught
Hi All, I used the puppetlabs-puppetdb module to set up puppetdb on a new CentOS 6.5 server. When I modify /etc/puppetdb/conf.d/jetty.ini so that host = 0.0.0.0 or servername (from localhost) I get the following warning every two seconds in /var/log/puppetdb/puppetdb.log 2015-03-03

[Puppet Users] Puppet Open Source with own Certificates

2015-03-05 Thread hoize
Hello! Because I can't find anything with google search to my problem with Puppet Open Source, I hope someone of you can help me. On my masterserver there I have installed Foreman running on Apache and Puppet Master. I wanted to replace the certificates of Apache with own certificates to

[Puppet Users] question about using custom types and defined types together

2015-03-05 Thread Stanley Karunditu
Hello, I'm new to puppet and puppet module writing and kindly request your help. My understanding of proper puppet module practices is still young. Being tasked to write a puppet module for a utility that configures interfaces on a cumulus switch. there are 3 main types of interfaces -

[Puppet Users] Problems with a resource default definition

2015-03-05 Thread Christian Hase
Hi folks, i want to declare a resource default globally for all available classes. I searched google and found this site: https://ask.puppetlabs.com/question/396/howto-force-systemd-as-service-provider-globally/ These guys suggest this solution: Service { provider = systemd, } *If

[Puppet Users] Using puppet for an Arris C4c CMTS

2015-03-05 Thread Puppet_phile
Hey guys, I'm new to this mailing list so go easy! I'm looking at setting up a complete headend via puppet, at the moment my attentions focussed on an Arris C4c CMTS; for people who aren't familiar - this is a network device used for terminating cable modems. Does anyone have any advice on

[Puppet Users] puppet 2.7.26 certificate verify failed master and client the same

2015-03-05 Thread Ed Deloye
I am building a new puppet master server and trying to get it to run puppet on itself. I deleted everything in the /var/lib/puppet/ssl directory and generated a new cert. I get this error: err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read

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

2015-03-05 Thread Henrik Lindberg
On 2015-05-03 12:02, James Green wrote: We occasionally have an agent fail because of this. I'm told by others running the agents more frequently that it appears to be at random and not on anything particularly large. If you are using webrick then it is most likely a concurrency problem

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

2015-03-05 Thread James Green
We occasionally have an agent fail because of this. I'm told by others running the agents more frequently that it appears to be at random and not on anything particularly large. Looks like server and agents are 3.7.4, both Ubuntu. Can't see much in the way of server logs. Any ideas where to go

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

2015-03-05 Thread Christopher Wood
It seems like other people have had this issue, and maybe it's when the puppetmaster process restarts in the middle of somebody's agent run? https://projects.puppetlabs.com/issues/3019 https://projects.puppetlabs.com/issues/4808 In your place I would probably do the following: a) turn up the

[Puppet Users] Share data between custom functions/resources/providers?

2015-03-05 Thread Nick Howes
Hello, I am trying to define something that would let me do this, or something like it: fw_service { elasticsearch: ports = [ '9200-9300' ], zone = work, } fw_zone { work: source_addresses = [ '10.0.0.0/16' ] } And for the fw_zone resource to be able to enumerate data

[Puppet Users] Re: Reports not showing up in foreman.

2015-03-05 Thread Nick Howes
Facts are probably coming in as Foreman is the ENC (the node.rb script). Reports definitely should work, so something seems amiss. Is there a foreman.rb in your Puppet installation on the subordinate masters? It could be in a number of places depending on your Ruby installation. This is the

[Puppet Users] Re: Get list of nodes where resource is used

2015-03-05 Thread Nick Howes
If you've got PuppetDB set up already then this is fairly simple. We use the puppetdbquery module (https://github.com/dalen/puppet-puppetdbquery) to do something like $collectors = query_nodes('Package[A]', 'fqdn') Which would return an array of the FQDNs of all nodes that declared package