Required to run puppetcode on a host from a Puppetmaster or master-less (puppet apply)
Questions tagged [puppet-agent]
98 questions
0
votes
1 answer
puppet could not find class roles::webserver
I'm trying to get classes working in puppet, but it gives me an error when I try puppet agent -t on the node:
root@webserver01:/etc# puppet agent -t
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:…

astralfenix
- 163
- 1
- 4
0
votes
1 answer
runinterval not working for Puppet Agents
I am running puppet agents on windows.
I am trying to change the interval of Puppet Agent check-in with the Server.
on puppet master, i modified puppet.conf file and added runinterval = 5m under agent section. I then restarted pe-puppet service.…

Asdfg
- 109
- 1
- 13
0
votes
2 answers
Puppet agent fails to find test module
I'm setting up a puppet master and agent. They are running on the same host, as I want puppet to manage this host, too. The agent fails to find the convenient test module that the package provides.
I'm running ubuntu trusty (14.04 LTS) and…

jma
- 425
- 6
- 16
0
votes
2 answers
Puppet Ochestration: get results of puppet run
How can i get results of puppet apply -t --noop in some script readable way? Are there any resources to apply? I suppose there should be something better then GREP :)
Making some modification to the underling puppet infrastructure and i would like…

igann
- 168
- 1
- 5
0
votes
1 answer
Puppet Postgresql Module ERROR 400 Invalid parameter onlyif
I have a module named oss_puppetserver that has an init.pp and a database.pp.
The database.pp class is enabled/included/assigned via hiera for a host, the module itself makes use of the existing puppetlabs-postgresql module that is deployed to…

Orbital
- 191
- 1
- 1
- 8
0
votes
1 answer
How to calculate value in puppet erb file
I have the following value im my application my_app.pp value:
akka_application_cluster_seed_nodes => '"akka.tcp://ActorSystem@host1:2551","akka.tcp://ActorSystem@host2:2551","akka.tcp://ActorSystem@host3:2551"'
Now in my erb file min-nr-of-members…

danny.lesnik
- 135
- 1
- 5
0
votes
1 answer
Recovering puppet config
Anyone know if you can recover puppet configuration from a host running an agent? We've found the reformatted yaml file that applied to the host, but not the actual puppet code. With CFengine the client creates a local copy of the config files in…

cachonfinga
- 230
- 1
- 6
0
votes
1 answer
Puppet Agent - launching as sudo
I'm having issues getting my Puppet agent to launch. I will be using the agent with the --onetime parameter as I want to agent to pull its configuration rather than the Puppet Master pushing.
I am using Puppet version 2.73 for both master and agent…

PuffinMaster
- 1
- 2
0
votes
1 answer
Duplicate declaration: Exec[] is already declared in defined type
Please help me with solution to a problem I was facing , I am trying to install adobe CQ5(author/publish modes) using puppet script. I have defined instance.pp as defined type and passing ( author,publish) parameters in manifest file. But I am…

Kiran
- 123
- 2
- 5
0
votes
1 answer
Puppet agent cannot find environment
Puppet master can find the environment,
[user@puppetmaster]$ sudo puppet agent --configprint modulepath
/etc/puppet/environments/development/modules:/etc/puppet/modules:/usr/share/puppet/modules
but the agent cannot:
[user@puppetagent]$ sudo puppet…

030
- 5,901
- 13
- 68
- 110
0
votes
0 answers
Puppet $facts built-in variable is undefined
I'm having an issue with a puppet agent running on a pi. It's running the same modules as a lot of others, and just this one is showing this issue, so whatever it is, it must be damn specific.
My problem is, I don't know where to start looking for…

UncleBob
- 247
- 2
- 13
0
votes
0 answers
puppet 5.5 issue after renewed master certificate
I currently faced issue after renewing Puppet certificate.
I did a clean backup of client SSL folder and did a puppet agent ‑t.
Can anyone help me?
This is the code.
[root@pupcltlp0001 AEST /etc/puppetlabs/puppet]# puppet agent -t
Info: Creating a…
0
votes
0 answers
How to read the central Puppet Configurations in the Dockerfile
Currently, I am working on a project we are trying to containerize our application. As our current VMs build scripts are pulling the environment and application-related parameters via puppet file related to our application. How do I pull the same…

cryptonkid
- 101
- 2
0
votes
0 answers
Puppet server on an puppet agent CRL error
After installing puppet server on a puppet agent, I keep getting this error on the next puppet run.
Error: The CRL issued by 'CN=Puppet CA: puppet.aws.domain.com' is missing
Error: The CRL issued by 'CN=Puppet CA: puppet.aws.domain.com' is…

Euray K
- 1
0
votes
1 answer
Puppet - can I selectively notify a Service?
I have a Puppet script that handles things differently in different environments based on an if/else block. But I have a bunch of common file resource blocks at the bottom that apply to all environments. Currently, those blocks notify =>…

bdetweiler
- 137
- 5