Required to run puppetcode on a host from a Puppetmaster or master-less (puppet apply)
Questions tagged [puppet-agent]
94 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…
![](../../users/profiles/109833.webp)
Itai Ganot
- 10,424
- 27
- 88
- 143
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…
![](../../users/profiles/275359.webp)
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:…
![](../../users/profiles/232869.webp)
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.…
![](../../users/profiles/215599.webp)
030
- 5,731
- 12
- 61
- 107
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',
…
![](../../users/profiles/215599.webp)
030
- 5,731
- 12
- 61
- 107
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…
![](../../users/profiles/260126.webp)
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…
![](../../users/profiles/959400.webp)
Jananath Banuka
- 121
- 2
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…
![](../../users/profiles/494091.webp)
Jorge Mauricio
- 113
- 6
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…
![](../../users/profiles/613457.webp)
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…
![](../../users/profiles/571784.webp)
Uday Kiran Reddy
- 109
- 1
- 2
- 12
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…
![](../../users/profiles/507751.webp)
AndreasKralj
- 321
- 1
- 4
- 15
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: …
![](../../users/profiles/507751.webp)
AndreasKralj
- 321
- 1
- 4
- 15
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…
![](../../users/profiles/483318.webp)
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…
![](../../users/profiles/413790.webp)
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…
![](../../users/profiles/238081.webp)
Tom
- 141
- 10