How to make sure a service is running on a specific port..!?
For Example: --------------------- AppService1 should run on port 15000, if not restart the service and again check whether it started now with the port 15000. If this fails puppet should send a mail....
View Articlehow to run a puppet program on multiple servers..?
Hi Guys, I am new to puppet.! If i want to execute a specific puppet program (like say restart of some service) on 100 nodes. How can i do it with hiera..!? I mean, how can i put all my 100 server...
View ArticleHow would you handle injection of a configuration file for a Puppet module?
I'm writing a puppet module for an inhouse application that needs configuration information to access several services: internal APIs, AMQP services, MongoDB database. It accepts a configuration file...
View ArticleRemove lines from a file?
Is there any way to ensure that a file must not contain any lines matching a particular substring or regex? For example, say I want to ensure that file /etc/something.conf does not have any lines that...
View ArticlePuppet Agent doesn't receive Catalog, Node.rb on Master shows correct...
I'm having a strange issue with a Foreman setup where my agent don't receive their assigned manifests during their run. On the puppet master I can run a positive ./node.rb puppet-agent-fqdn Where I...
View Articlepuppet v4: ipv4 and ipv6
Hi Guys, I'm trying to understand the following on my v4 puppetmaster (2.4.0/4.5.0) ifconfig eth0 Link encap:Ethernet HWaddr 52:54:00:D5:E5:04 inet addr:10.200.32.60 Bcast:10.200.255.255...
View ArticleQuestions regarding ReportUrl, StoreConfig, running Agent on master
I'm trying to fix these errors on a working Puppet Master and understand how its setup. 1) For reportURL to work, should there be a upload directory? I only see reports folder but no upload. Is that...
View ArticleHiera data not being used by module
I've cloned a module to the forge and modified for our organization's use. I'm running into an issue now, though, where the hiera data I'm passing it is not being used by the module. I can pull the...
View Articlepuppet self paced eLearning won't start
I have signed up for quite few of the eLearning courses and wanted to start from the very beginning. I went to my profile and clicked on start eLearning box. I got to this screen ![image...
View ArticleHow to serve files from custom mount point?
Serving files from `puppet:///modules/{module_name}` works for me, however when I try to get file from custom mount point it fails. `fileserver.conf`: [files] path /etc/puppet/files allow * [plugins]...
View ArticleUbuntu 16.04 node complains about DEB Repository Signature (Puppet Enterprise...
Our Ubuntu 16.04 are managed by Puppet Enterprise 2016.2. While running an apt-get/aptitude ... (e.g. update) they compain about a weak Signature and a missing Date filed in the lists file. W:...
View ArticleUbuntu 16.04 complains about weak repo Signature (PE 2016.2)
Our Ubuntu 16.04 are managed by Puppet Enterprise 2016.2. While running an apt-get/aptitude ... (e.g. update) they compain about a weak Signature and a missing Date filed in the lists file. W:...
View ArticleHow to remove invalid endpoint from Puppet Services status in console
I was attempting to configure a compile master in my environment and ran into a problem because its puppet.conf was pointing at a load balancer address instead of the cert name of the MoM. After...
View ArticlePuppet CA Shared Certificate Guide: Scalable Puppet?
This setup was so simple to get off the ground and running. Only a couple of configs and it works great, at least in my lab it does. So the question is, where's the gotcha here. Will it work in...
View Articler10k deploy connection refused error
I am all out of options. r10k deploy environment works fine. r10k deploy environment dev works fine. But r10k deploy environment dev --puppetfile fails for all the modules from forge. I tried adding...
View Articleruby / jruby : cannot see mysql file
Hi Guys, Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Internal Server Error: org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- mysql but rpm...
View Articlehiera_hash Cannot reassign variable '$network' in site.pp
site.pp $mysql = hiera_hash(mysql) $network = hiera_hash(network) $nfs = hiera_hash(nfs) default.json "mysql" : {}, "network" : {}, "nfs" : {}, This gives Cannot reassign variable '$network' at...
View ArticleHow do you set the jmx/icmp/snmp interfaces for a host using the approved...
I have successfully used the zabbix_host custom type to create a host entries on my zabbix master:...
View ArticleIs Puppet used as a workload automation and enterprise scheduler
I am looking for an enterprise scheduler and workload automation tool
View Articlepuppet v4 master does not load facts
See UPDATE 1 [root@puppetmaster103 puppet]$ ls /opt/puppetlabs/puppet/cache/lib/facter/ default_gateway.rb hbafacts.rb multipath.rb raid_ctrl.rb util disk_facts.rb ipaddress.rb packages.rb root_home.rb...
View Article