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

Use Facts in puppet manifest

Hi, I want to install a service on e.g. 10 Nodes. In each Config of this service all other nodes have to be configured. So I need a possibillity to get an array of nodes with this Class in a manifest....

View Article


Server Built Process

I want to complete automate our linux builds from start to finish. A lot of parameters need to get passed to puppet in order to execute the modules effectively. For example a user and group need to be...

View Article


Could not retrieve update information

Hi, On a brand new puppet master running puppet 4.8.1 ( server v 2.7.2 ), I started seing exception messages such as this one : [clojure-agent-send-off-pool-0] [p.d.version-check] Could not retrieve...

View Article

Collect all Puppet Reports

Can the Puppet server keep track of full reports from every node in a log? I've found that the server has a log located by default at /var/log/puppetlabs/puppetserver/puppetserver.log but it seems to...

View Article

puppetdb Coult not retrieve facts

I have a new puppetserver and puppetdb on the same node. I followed the instructions for puppetdb setup here: https://docs.puppet.com/puppetdb/4.0/connect_puppet_master.html I have also setup postgres...

View Article


Password change not working from puppet master to its agent

I have written a site.pp to change a password from the puppet master. Below is the site.pp. It is changing the password on agent host idrac-h868gm1, but when I try to login with the changed password...

View Article

lvm on linux

hi , Thank you for the help in advanced. I have a question related to this module . https://forge.puppet.com/puppetlabs/lvm I am using this module to create the logical volume, create the volume group...

View Article

Get all passed parameters (e.g $@ in shell)

Is there a way to get all the arguments passed to a class? The reason being is I don't want to end up with brittle if guards for each contain as shown here:...

View Article


How to execute runInstaller of oracle database using puppet

I have created a script like below to install oracle database but not able to run it. Kindly suggest the proper steps for execution. Puppet scripts are created by root user and script is executing...

View Article


how to pass selector value to hiera in rspec-puppet

Hi, I have following code in puppet, class module_name { $val = hiera('ONOFF') case $val { 'off' : { service { 'servicename' : ensure => stopped, enable => false, } } 'on' : { service {...

View Article

Error 500: Could not find declared class

I have a dedicated server. It runs CoreOS->Docker->puppet/puppetserver-standalone, committed once certificates had been set up as sa0001. This is started with the command docker run -d --restart...

View Article

How do you use the Cloudera Puppet Module?

I have two RedHat 6.7 servers. One is a Puppet Master, and one is a Puppet Agent. On the Puppet Master I installed two dependencies of the Cloudera module and the Cloudera Module itself. I used this...

View Article

Puppet Service fails to start

My puppet service wont start. Running 16.04 ubuntu. When I run puppet agent --test is runs just fine with now issues. terminal gives me this job for puppet.service failed because a timeout was...

View Article


Puppet [agent] service fails to start

My puppet service wont start. Running 16.04 ubuntu. When I run puppet agent --test is runs just fine with now issues. terminal gives me this job for puppet.service failed because a timeout was...

View Article

Impact of network stability

Hello everyopne, I am checking if puppet could be a solution for us to deploy software to RaspberryPis and / or manage them even if they are mounted in vehicles. This scenario can not ensure a stable...

View Article


Do I need to use 'environment' with r10k?

Hi, We would like to start using r10k. The only problem is that we would have to change the use of **environment** in our code base. Current situation ----------------- We use **environment** to...

View Article

Using variable does not work in some circonstance in a manifest

Hello all, I do face a strange problem using an auto-generated variable data. If the variable is define literally, it work fine. Hope someone can explain me why this is not working. On the second part...

View Article


Using r10K with AWS CodeCommit

Has anyone gotten r10k to work with AWS CodeCommit? In our environment, we can only connect to git repositories with HTTPS and not SSH due to security limitations. However, when using CodeCommit...

View Article

Does Puppet actually support agentless mode

As in the title, we all know that Ansible and even Chef support agentless mode, does Puppet support agentless mode?

View Article

mco rpc shell start... using ruby 1.8.7?

Hi everyone, I have over 1000 machines using ruby 1.8.7. I want to use the mcollective command mco rpc shell start command=/usr/local/sbin/some.sh -I somehost At first I was getting an error regarding...

View Article
Browsing all 6104 articles
Browse latest View live


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