Failed to generate additional resources using 'eval_generate': Cannot manage...
Hello, I am very new to puppet and in learning and novice phase so please spare if my questions are noob !! So let me explain the issue i am facing. I am trying to create a basic nginx module and some...
View ArticlePuppetlabs Java Module
I'm trying to install puppetlabs/java module but it seemingly just does absolutely nothing. i'm assuming you create a profile like this: class profiles::java { include java java::oracle { 'jdk8' :...
View ArticleHiera interpolation
Hi. I have a hiera hash like this: profiles::microservices::filesystems: rootvg: physical_volumes: - /dev/sda2 logical_volumes: service_bin: size: 1G mountpath: /apps/lvservices fs_type : xfs...
View ArticleSetting up LDAP for a vhost using puppetlabs-apache module
Hello, we're trying to set up the following LDAP authentication information: AuthBasicProvider file ldap #legacy file (or set it to /dev/null AuthUserFile /etc/thruk/htpasswd AuthLDAPURL...
View ArticleI cannot report an issue with netapp/netapp_e modules.
I am a TME for NetApp and have a customer who wishes to report an issue with the module netapp/netapp_e. https://forge.puppet.com/netapp/netapp_e However, the report issues link just returns to the...
View ArticlePuppet Enterprise Agent redistributable?
Hi All, Just wondering where I can find the license terms for Puppet Enterprise Agent. We want to know if the agent is redistributable? Any information is greatly appreciated. Thanks -Sheshi
View ArticleDashboard report timezone
Hello, After reboot rdashboard server , in web dashboard time of report +1 hour **/usr/bin/rake time:zones:local** * UTC +03:00 * Baghdad Kuwait Moscow Nairobi Riyadh St. Petersburg Volgograd **cat...
View ArticleHow can I retrieve facts from another server?
I have a manifest which installs the Zabbix agent, it looks like this: class project::zabbix::agent { class { 'zabbix::agent': server => '1.2.3.4', } } I need to get the actual IP address of my...
View ArticleEvaluating variables inside onlyif close
Hi, I have a variable that i set at a very early stage, the variable is boolean, then at some point i want to exec a command based on the fact if this variable is true or false, something like this...
View ArticleHow do i send dynamic email content based on puppet run using exec cmd
Hello, I currently have a static content as follows: $body = "Application has been deployed on http://$::fqdn:8080/$path" And the mail content is executed as follows: $mailcommand = "echo \"${body}\" |...
View Articleconsul watch puppet
Hello, I'm trying to setup a consul watch for a particular key and whenever it changes, i would like to invoke a puppet agent run. Are there any examples available for this? Can you please provide some...
View ArticleHaving difficulties with my defined type and making it robust
***GOAL : I want to avoid duplicating my code/lines in this hieradata. How can I rethink my approach to this?*** The component module freshserver::html creates an HTML file with links to launch an...
View ArticleHiera variables help
can someone help me with including hiera variables where I donot have to repeat the "%{hiera('')}" and class:: every time file1.yaml class::param1: "valuees1" class::param2:...
View ArticleAccess hiera array element in erb template
So, I have check_command check_nrpe!check_ntp_drift!<%= env['ntpservers'][0] %> in a template .erb file. This gives the error Function Call, Failed to parse template...
View ArticleCatalog refresh only after restarting puppetserver service
Hello! I recently configured a new puppet 4.5.2 environment in my company. I connected an hiera using couchdb to manage my hierarchy. Now, when im running 'puppet agent -t' in any node (even in the...
View Articlequest vm no cowsay
I'm trying to work my way through the quests in the training VM. But on running the --noop command in Manifests and classes I get the following result. puppet apply --noop cowsayings/tests/cowsay.pp...
View Articlepuppet wildcard case $hostname
Hi, I would like create a class that says if your hostname includes the letters 'rob', it will assign a class to it. For example: class it_default { case $hostname { '*rob*': { include robikun_base } }...
View Articlelearning VM image - 502 bad gateway error when launching PE Console
I'm just starting out with puppet, so tried the puppet learning VM image. I can't get the PE Console to open (task 4, power_of_puppet quest), instead I'm getting a 502 bad gateway, nginx/1.8.1...
View Articlerestart or reload service from puppet command line prompt
I have gotten in the habit, whenever I need to start or stop a service on an individual machine, of doing this: puppet resource service nginx ensure=stopped enable=true This has the nice benefit that...
View ArticleHow do I automatically build a docker image configured by puppet?
Hello Everyone, How do I automatically build a docker image configured by Puppet? I'm using puppet 3.8. Let me explain. I want to automatically build docker containers configured by Puppet. I have...
View Article