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

Can serverspec make use of custom facts?

At the bottom of this page: [http://serverspec.org/advanced_tips.html](http://serverspec.org/advanced_tips.html "http://serverspec.org/advanced_tips.html") It shows how you can add logic in serverspec...

View Article


Add classes to node via command line

Hi, Using Linux command line i need to be able to add a class to a node e.g. Add cowsay class to node 'server4' via command line/config file The problem i have is i can use site.pp but it doesnt show...

View Article


till depend on me -- not purging

Hey folks, I am getting Warning: /Stage[main]/Icinga::Config/Nagios_service[someremovedcheck]: Service[nsca],Service[icinga],Service[npcd] still depend on me -- not purging while running on the Icinga...

View Article

what means exec resource with only path?

I am just going through some of the Puppet modules and found something like this. Exec { path => [ '/bin', '/usr/bin', '/sbin' ] } Not sure what this exec without command wil do? I tried executing...

View Article

Service restart based on fact

Hi, any idea how I can trigger a service restart based on a fact without using the exec-resource? Following the mantra "*if you're using exec, you're doing something wrong.*" I wonder how to do that....

View Article


Error: puppet-agent[13237]: Could not request certificate

After installing puppet master and restarting the service seeing following error in the service status.... *puppet-agent[13237]: Could not request certificate: getaddrinfo: Name or service not known*...

View Article

puppetlabs-apache and foreman: non-default values for mpm_worker

Hi there, we have the following environment: Red Hat Enterprise Linux 6.7 Kernel: 2.6.32-573.7.1.el6.x86_64 Apache-Webserver-Version: httpd-2.2.15-47.el6_7.x86_64 Puppet-Version: 3.8.4-1.el6.noarch...

View Article

Error with installation

Hi i am new to puppet. I am using the instructions from Puppetlabs get started document to install puppet enterprise on ubuntu 14.04. I am installing the monolithic installtion on my machine. every...

View Article


Puppet agent log shows file resource by title, not the actual file

Hi, Is there any way to have the Puppet Agent log any file resource by the actual resource (the file/directory name) instead of the resource title (which can be any choosen string)? Changing the code...

View Article


Puppet Enterprise 2015 limit number of reports

puppet 3.2, we limited the reports to one day, how to accomplish in 2015.2 This fails: (command from pe_console_prune/manifests/init.pp) /opt/puppet/bin/rake -f...

View Article

How do you deal with dynamic hiera parameters?

I am making a module for a rails application. Problem is, every rails app has multiple .yml files aside from the standard database.yml. I wanted to handle configuration with Hiera dynamically. The...

View Article

Pueet With New Relic

Hi All, I want to know how to push new relic monitoring parameters using puppet configuration tool. Please advice me . Thanks in advance !!! Reagards, Veera

View Article

Hiera error-could not initialize global default settings

Greetings good people, I'm very new to puppet who literally have only 3 days of experience. I have been following this great course "Puppet Fundamentals for System Administrators by "Pluralsight" and...

View Article


hiera.yaml with structured facts

I'm running the latest/greatest Open Puppet on both my Puppetserver and clients all on Oracle Linux V6.7. I use structured facts from /opt/puppetlabs/facter/facts.d/myfacts.txt. For example:...

View Article

issue with websphere installation

As part of my websphere installation i am facing below error Error: Failed to apply catalog: Could not find dependent Exec[concat_/etc/puppetlabs/facter/facts.d/websphere.yaml] for...

View Article


How to set and use environment variable in the same catalog run?

I have a module which runs successfully after i do export {name}={value} manually, but if i unset the environment variable {name} and execute the puppet agent -t am getting error. So , the module am...

View Article

PuppetDB SSL Error

Hello dear Puppeteers, I am having a very frustrating issue, and after breaking two keyboards and one mouse during my rage on the errors I get, I think it is time for professional help :D So here it...

View Article


Is there a way to simplify profiles via hiera_hash?

Hi folks, Using puppetlabs/apache from forge. I'm trying to simplify vhost creation, and within my profiles::apache class I found myself doing this: $access_log =...

View Article

Hello When i tried to connect to puppet console. I got an error "Server Not...

I got the following Error "err: Could not retrieve catalog from remote server: Error 400 on server : Invalid parameter enabled on service [Apache 2] at /etc/manifests/site.pp. I am not able to find out...

View Article

Does anyone have a step by step installation of puppet on Ubuntu14.04??? I am...

Need Help on puppet installation on ubuntu 14.04

View Article
Browsing all 6104 articles
Browse latest View live


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