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 Articlecannot 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 Articlehiera_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 ArticleHow 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 ArticleVariables 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 ArticleE212 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 ArticleHi 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 Articlehash / 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 Articleexec 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 ArticleServer 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 ArticleHow 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 ArticleCan 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 ArticleHow 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 ArticleAre 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 Articlepuppet 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 ArticleHow 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 ArticleHow 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 Articlehow 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 ArticleCan 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 ArticleForeman : 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