Required to run puppetcode on a host from a Puppetmaster or master-less (puppet apply)
Questions tagged [puppet-agent]
98 questions
1
vote
1 answer
Puppet module not run on agents while this has been defined in Hiera on the Puppetmaster
Once I've installed Puppet, Foreman, Hiera and Facter, how do I get them all to work with one another?
The Foreman GUI is operating properly and can be viewed using a browser.
Hiera is installed, and by guides I read on the internet it seems like…

Itai Ganot
- 10,644
- 29
- 93
- 146
1
vote
2 answers
Puppet Master doesn't get certificate request from agent
I have a puppetmaster server and four puppet agent clients. Here I'm attaching my puppet.conf files and hosts in all node. When I call 'puppet cert list' it returns nothing.
But, when called with --all flags it returns the certificate of its own.
I…

Fasna
- 135
- 1
- 5
1
vote
2 answers
On a Windows system, where should I put the gemrc file so that Puppet can find it?
Running Puppet Enterprise 3.7.
The Agent machine is a Windows 2012 Server R2 box.
Question: Where do I put the gemrc file so that Puppet's internal ruby can find it?
On Linux, the place to put the file seems to be /opt/puppet/etc/gemrc.
The goal:…

Paul Chernoch
- 155
- 1
- 6
1
vote
1 answer
Changes on Puppetmaster not always immediately recognized by Puppet-agents
Introduction
It occurs a number of times a day that changes on the Puppetmaster are not recognized immediately by the Puppet agents. If this is the case Puppet needs to be run more than 5 times (e.g. X<5min) before the changes are recognized.…

030
- 5,901
- 13
- 68
- 110
1
vote
1 answer
Unable to enable Future Parser in puppet.conf
Steps to reproduce
Enable future parser as described in this documentation
/etc/puppet/puppet.conf
[main]
parser = future
Add lambda code to a pp file
site.pp
$systems = [
'system01',
'system02',
'system03',
'system04',
'system05',
…

030
- 5,901
- 13
- 68
- 110
1
vote
1 answer
Order of resource/class execution in puppet manifest file
I working on configuring CQ5 on vagrant managed virtual machine. The provisioning is done using puppet. I have query regards to the order of execution of classes/resources in puppet manifest file.
Please find below manifest file cqsite.pp
include…

Kiran
- 123
- 2
- 5
1
vote
1 answer
How to sign an agent certificate in puppet?
I am using puppet 7.15.0 and when I try to puppet agent -vt, I get the below meesage:
Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate…

Jananath Banuka
- 151
- 2
- 6
1
vote
1 answer
Puppet manifest configuration for docker image verification
I’m quite new to devops/ci/cd, so bear with me.
Currently, I’m getting a puppet manifest configuration set up for docker image verification. Let me try to layout it out:
I have a puppet master server with the following configuration:
Puppetmaster…

Jorge Mauricio
- 113
- 7
1
vote
0 answers
Issue installing puppet agent on Windows Servers
I'm trying to setup a Puppet dev environment in my datacenter. I've configured the Puppet Master on Cent0S 7 along with two agents, also running RH CentOS 7. The Puppet version I am running on the systems is Open Source Puppet 7.3. When I try to…

JoStar
- 11
- 2
1
vote
1 answer
puppet agent not able to connect to master
on master:
puppetserver ca list Traceback (most recent call last):
9: from /opt/puppetlabs/server/apps/puppetserver/cli/apps/ca:5:in ''
8: from…

Uday Kiran Reddy
- 119
- 1
- 4
- 14
0
votes
1 answer
Workaround to no `puppet module generate`?
Is there a way to continue using puppet module generate? I'm using Puppet version 4.10 and earlier I was able to make one without issue, but today when I tried to make one I got the following error:
Error: This action has been replaced by Puppet…

AndreasKralj
- 331
- 1
- 6
- 16
0
votes
1 answer
How to get the Zabbix Puppet module to work with SELinux
I'm writing a Puppet module to install Zabbix onto a Puppet agent. Everything is working as intended, but SELinux isn't playing nicely with Zabbix. I'm getting the following error from SELinux in the audit log:
type=AVC msg=audit(% audit_id): avc: …

AndreasKralj
- 331
- 1
- 6
- 16
0
votes
1 answer
Puppet 6: PuppetDB won't start because of clojure/java errors
I've searched far and wide, and I just simply can't get it to work. I've searched everything I could find which contained "puppetdb", but without success.
I have followed the documentation, and I started writing a quick step to step guide for our…

OH MY DEAR PUFFINS
- 37
- 1
- 9
0
votes
1 answer
Puppet Master Could not request certificate Permission Denied
I have been all over the internet and tried different fixes to which none have worked.
Issue: When setting up a new agent to connect to the Puppet Master I run:
sudo /opt/puppetlabs/bin/puppet agent --test
The output of this command is (with…

scalderoni
- 3
- 1
- 4
0
votes
0 answers
Puppet Master not pulling changes to agents
I have added following code in site.pp
node default {
file {'/etc/motd':
ensure => present,
content => "Motd Updated.\n",
}
}
But when running following command in one agent it is not updating all agents or nodes.
puppet agent -t
Can some one…

Tom
- 141
- 10