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

Puppet server service not starting in centos 7

Hi, Puppet server service not starting in centos 7. Please help below is the log details and config files Server: puppet.asicdesigners.com Service staus: ● puppetserver.service - puppetserver Service...

View Article


cannot load puppet_x/eos/utils/helpers

Hi all I am a network engineer trying to learn puppet playing with Arista switches so I am quite newbie here. I have installed the puppet entreprise agent and rbeapi into my virtual EOS switch...

View Article


hiera_hash not merging hash

I have two set of hash in the module and in yaml. I am expected to see values in the module would override the ones in common but it didn't happen and got undefined instead. Thoughts? *Edited to post...

View Article

How to run puppet code without root access

Hi, I have bunch of servers which i don't have root access. I have few puppet in house modules (which will install some packages i.e., java,httpd,...). I want to run those modules locally. How can i...

View Article

Variables in r10k.yaml

Are variables supported in r10k.yaml or is there anyway to have two sources in an r10k.yaml. I have a profile module that has several branches and it's a pain in the ass to go in and modify the :ref...

View Article


E212 Can't open file for writing on Learning VM "cowsayings" task

My VM directions say this; Cowsay Let's start with cowsay. To use the cowsay command, you need to have the cowsay package installed. You can use a package resource to handle this installation, but you...

View Article

Hi Anyone, Please do help regarding below. 1.How to bootstrap an instance...

Hi Anyone, Please do give proper answers for below queries. 1. How to bootstrap an instance using Puppet and inject parameters? 2. How to call Ruby from Puppet module? 3. How to send certificate...

View Article

hash / kerberos password

Hello is it possible with Puppet to hash a password ? need to setup Kerberos with IIS. something similar to DSC pull setup I guess....

View Article


exec ignores onlyif and unless

Good day all, I have below exec resource definition in my manifest: exec {'enable_debian_php': path => '/usr/bin', command => 'sudo a2enmod php7.0 ; sudo a2dismod mpm_event ; sudo a2enmod...

View Article


Server Error: Invalid value '\"none\"' for boolean parameter

Getting an issue to all agents reporting to one of my masters. the agent returns this error: Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error:...

View Article

How to collect just strings into array from different classes?

Is there any method to collect just array of strings to use it somehow. Just like `concat` module but for just strings? I want to do something like this: # declare string in manifests/one.pp,...

View Article

Can I skip a block when a file ensure fails, rather than failing the module?

In a puppet module we have a conditional block, if $somevariable, and in that block is a File resource with ensure => present, and a resource that requires that file and generates content from a...

View Article

How does one "bump"/refresh an old question ?

How might one get an old, unanswered or inadequately answered question back into the upper end of the queue ? Seems a better idea than creating a new question that asks the same thing.

View Article


Are there any plans to support firewalld with puppetlabs/firewall?

Would something like this even make sense? If so, when would we expect to see this materialize? I apologize if this is an inappropriate venue to ask this question. NEEDS AN UPDATE- the module mentions...

View Article

puppet v4 case statement variable set but not matched

Consider class php::classes::install { notify { "operatingsystemmajrelease = $operatingsystemmajrelease": } case $operatingsystemmajrelease { 5: { $php_packages = [ 'php53', 'php53-cli',...

View Article


How to access application level variables in Puppet

I know this question can be open to interpretation so I will ask for specifics. I am leveraging Puppet to keep some application level variables and settings in check. The problem I am having is a lot...

View Article

How to make dashboard show error when exec fails?

Although puppet script exec{"XXX":} return non-0 result which means exec the command occurred error, the puppet dashboard still shows changed with a blue check sign. I know that the puppet consider the...

View Article


how to resolveConnection time out Error when running nodejs app using puppet

I am cloning my repo and running my nodejs application using puppet. please find the code below: package { 'git': ensure => 'latest', } vcsrepo { "/nodejs-helloworld": ensure => latest, provider...

View Article

Can somebody explain the command in below code?

exec {'anything.bat' : command => "C:\\windows\\system32\\cmd.exe **/c cd** C:\\windows\\automation\\puppet\\ **&& anything.bat**", } What the bold part in above code doing ??

View Article

Foreman : Connection refused - connect(2) when I try to edit an host

Hello, I have an error when I try to edit some hosts in Foreman. I have the following message : "Connection refused - connect(2)" Here is the complete stacktrace : Errno::ECONNREFUSED Connection...

View Article
Browsing all 6104 articles
Browse latest View live


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