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

puppetdb with multiple masters

I dont know if i am doing something wrong, but i am trying to get puppetdb working with puppet opensource. the way i have it set up is i have a master and puppetdb in my datacenter, then each one of my...

View Article


When refreshing class list we receive "Error retrieving class definitions"?

When we try to refresh the class list we receive the error "Error retrieving class definitions". The only log message I can find is "2016/11/02 13:47:38 [error] 3666#0: *8120 upstream timed out (110:...

View Article


disable facter warning with no option

**WARN puppetlabs.facter - could not locate a ruby library: facts requiring Ruby will not be resolved.** Is there any way to disable the warning with no option. By the way, i built the facter from...

View Article

how to check if fact exists in manifest file?

Hi, Can someone tell me how to check if fact exists and not null on system within the manifest file? Thanks

View Article

Read the string from the file using puppet

Hi , I just have a question. I need to read a variable value from the file using puppet. I wrote below line of code in a puppet $variable = inline_template("<% '/bin/sed -n 's/^ *profileName *=...

View Article


Error 400 on SERVER Class[Ntp]: has no parameter named 'autoupdate'

Hello Everyone, I'm using Puppet 4.5.3 and on two of my nodes I got this error : root@nameserver:~# puppet agent --test --verbose Info: Using configured environment 'production' Info: Retrieving...

View Article

Hello All, I am trying to install Puppet with multiple masters using open...

https://docs.puppet.com/guides/scaling_multiple_masters.html#distributing-agent-load This page says, it is specific to version 2.7 through 3.0.

View Article

If environment variable LEATHERMAN_RUBY is unset, how facter find the ruby...

doc: The environment variable LEATHERMAN_RUBY can be used to explicitly instruct native Facter to use a particular Ruby library (e.g. LEATHERMAN_RUBY=/usr/local/lib/libruby.so.1.9.3). If not set,...

View Article


HA proxy module with dynamic parameters from external Application

from external web service I will be getting the Load balancer host name ,web1, web2 hostname. as soon as i receive the request from external web service I need to configure HA proxy using Puppet, how...

View Article


Does Puppet not work with Centos 7?

I am following a tutorial and I get to the point where I have to curl the Node to add the Puppet Agent, but it does not install successfully. I ask the instructor and he tells me its because I did not...

View Article

I am using source in manifest and getting error

Hi Team, I am using source parameter in manifest to push files to puppet agents. Below is the my site.pp package {'openssl': ensure => present, before => File['/etc/ssh/sshd_config'], } file...

View Article

What is happening with puppet cert here?

When I run puppet agent -t on puppet node, I get this error: [root@centos puppet]# puppet agent -t Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect...

View Article

How to install apache on multiple servers (100 servers)?

Is there a way i can store all my servers names and that file will be used by puppet program to install apache on all the servers listed in the file.

View Article


Load files based on AWS region

Hi, So, I have 2 EC2 instances in 2 different AWS regions. Both are installing certain packages. However, the configuration between both servers is slightly different, based on their AWS region. What I...

View Article

update manifest via REST API

can we update the Puppet module manifest file via REST API, if yes can you provide some pointers. over the API documentation i was not able find all the required information.

View Article


Windows agent help with proxy authentication settings

I have a Windows server running an agent which sits behind a proxy that requires username and password authentication. When I perform a "puppet agent -t" run, I am am getting 407 Proxy Authentication...

View Article

see/export all commands that puppet runs in the background during a catalog...

Hello all, Is there a way to see/export what commands puppet will run in the background during a catalog enforcement? Let's say we have a puppet module that creates an user, installs a package and...

View Article


fail condition not honored

I am really frustrated puppet. I have my code working the way I expected when I run "puppet agent --test " from my node. However, the scheduled runs behaves differently. I have code as below: class...

View Article

How to use facters in manifests files

Hi Team, I am new to puppet and planning to implement in our environment. I have puppet agents that are running in different versions of Redhat. Now I am planing to push repo files from puppet master...

View Article

How to configure multiple files with multiple sources in one file ressource?

Hello, I am a puppet beginner and I'm looking for way to declare a file ressource that manages several files that again may come from different sources. The idea is to have a small manifest file where...

View Article
Browsing all 6104 articles
Browse latest View live


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