Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Browsing all 6104 articles
Browse latest View live
↧

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 Article


how 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 Article


How 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 Article

Remove 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 Article

Puppet 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 Article


puppet 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 Article

Questions 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 Article

Hiera 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 Article


puppet 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 Article


How 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 Article

Ubuntu 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 Article

Ubuntu 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 Article

How 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 Article


Puppet 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 Article

r10k 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 Article


ruby / 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 Article

hiera_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 Article


How 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 Article

Is Puppet used as a workload automation and enterprise scheduler

I am looking for an enterprise scheduler and workload automation tool

View Article

puppet 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
Browsing all 6104 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>