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

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 Article


Before 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 Article

how 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 Article

Is 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 Article


Trying 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 Article

upgrade 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 Article

How 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 Article


How 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 Article


tomcat 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 Article

how 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 Article

installing 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 Article

Puppet 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 Article


Error 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 Article

Win7 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 Article


how 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 Article

Error 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 Article


PuppetDB 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 Article

An 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 Article

Converting 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
Browsing all 6104 articles
Browse latest View live


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