pass parameters to puppet api's not from curl
Hi, I'm new to puppet and couldn't find from docs that how to pass parameters to api from any http client and not from curl. Example:- I can get all the nodes information with URL...
View Article/pdb/query/v4/facts/dmi via REST API ,doesn't get the BIOS,Board details for...
I amusing puppet facts to obtain machine related information. As a matter of fact two fields of interest is BIOS ,Board details.When I use the Rest API /pdb/query/v4/facts/dmi,the above information is...
View ArticleBefore Automation(puppet) is installed in a organization. how the nodes are...
Hi I am trying to understand the concept of automation in an organization Before and After.How an rapid application is developed?
View Articlehow to create a folder in the name which stored in the variable? (windows)
I stored the folder name in variable . Then i use that variable in my manifest to create a folder. But it create folder in the name of variable name not what is in that variable. Eg: class...
View ArticleIs it possible to clear catalog cache in rspec-puppet
Hi, I have below manifests class module_name { if str2bool("$::is_virtual") == true { $p1 = 'package-name' if $::operatingsystemmajrelease < '7' { package {["${p1}-pae"]: ensure => installed } }...
View ArticleTrying to connect puppetdb to postgres
Getting the error PuppetDB requires PostgreSQL. The [database] section must contain an appropriate "//host:port/database" but postgresql is installed and the puppetdb.conf file is populated according...
View Articleupgrade java version installed
Hello all, I am currently using the official puppetlabs java module to manage the java packages on a set of centOS systems. The current java package installed is: "java-1.7.0-openjdk" and I am planning...
View ArticleHow do you pass a parameter to a class when including it in a node definition?
Hi, I'm trying to do something like: \#\#site.pp node /^srv-es-master-(\d+)$/ { $node_type = 'master' include es_node($node_type) } node /^srv-es-client-(\d+)$/ { $node_type = 'client' include...
View ArticleHow to create folder name with custom facts using puppet in Windows ?
I wrote a custom fact to create current date and time in windows.That facts return the current date and time when i notifying it. Eg: notify{"test time": message=>"$::windows_time", } output of...
View Articletomcat module fails when war file like name some###app.war
My war file name is someapp###service.war Puppet is giving this error Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call,...
View Articlehow to use variable in copy command using puppet exec resource command ?...
I want to copy file from 1 folder to another, That file_path is stored in variable.How do i use that variable in puppet code using exec command resource.? My code is class...
View Articleinstalling puppet on standalone enviroment
hello i need to install puppet on a stand alone network that is not connected to the internet. I am looking for a guide about such installation, and prerequisites and dependencies list. in addition,...
View ArticlePuppet Enterprise 2015.3.3 with code manager, environments don't show up in...
Hello community, I did a new fresh install Puppet Enterprise 2015.3.3 and enabled code manager during install. Now I have create 3 branches on the control repo: production, development and staging....
View ArticleError displayed: : execution expired
We need your help on the below issue: When i start environment services, after the last server, the following message is displayed: server3 Request Aborted Unexpected failure calling /mnt/mc/start.sh:...
View ArticleWin7 puppet agent tries to run "/usr/local/bin/puppet config print certname"
agent version 4.4.1 running 'puppet agent -t' from cmd prompt C:\Windows\System32>puppet agent -t Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin...
View Articlehow to pass multiple arguments in defines rspec-puppet
Hi, I have below manifests class my_module{ var{ 'var1' => { 'val1 ' => 'present', 'val2' => '5463', 'val3' => '400', }, 'var2' => { 'val1' => 'present', 'val2' => '32688', 'val3'...
View ArticleError 400 on SERVER: Hiera type mismatch: expected Array and got NilClass
Hi all. I received this error: Info: Retrieving pluginfacts Info: Retrieving plugin Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Hiera type mismatch: expected Array and...
View ArticlePuppetDB running slowly, nodes not updating
Hello! We are having trouble with the PE console saying all our nodes are unresponsive, and PuppetDB is being hammered by the following query: DELETE FROM edges WHERE certname=$1 and trim(leading '\x'...
View ArticleAn error occured trying to load the certificate requests. Reload this page to...
Hi, I just installed PE 3.2.3 and when I try to add nodes by running `puppet agent -t` on the node I do not see the Node Request in the Puppet Dash Board. When I click on the "? Node Request" link I...
View ArticleConverting Puppet DSL to YAML
I find myself needing to parse some '.pp' files to extract data that needs moving into Hiera and as such convert Puppet DSL to Yaml formatted data. There does not seem to be an easy way to do this as...
View Article