Skip to main content

Questions tagged [puppet-agent]

Required to run puppetcode on a host from a Puppetmaster or master-less (puppet apply)

Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

Unable to autosign certificates for Puppet

I have a new Puppet server set up and am unable to currently get autosigning of certificates to work. I've followed the setup instructions on https://www.puppet.com/docs/puppet/7/config_file_autosign ...
Joseph Quinn's user avatar
0 votes
0 answers
345 views

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 ...
UncleBob's user avatar
  • 247
0 votes
0 answers
97 views

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/...
Dan Dela Torre's user avatar
1 vote
1 answer
988 views

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 (my-vm....
Jananath Banuka's user avatar
1 vote
1 answer
337 views

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 ...
Jorge Mauricio's user avatar
2 votes
1 answer
282 views

How to set value of ipa_hostname directive in sssd.conf using Augeas

Using Puppet versions Master: puppetserver 6.7 Client: puppet-agent 6.10 I have other Augeas code in other modules that works just fine. Example sssd.conf [sssd] services = nss, sudo, pam, ssh ...
Phil's user avatar
  • 151
0 votes
1 answer
1k views

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 ...
bdetweiler's user avatar
1 vote
0 answers
183 views

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 ...
JoStar's user avatar
  • 11
1 vote
1 answer
3k views

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 '<main>' 8: from /opt/puppetlabs/puppet/lib/ruby/vendor_gems/...
Uday Kiran Reddy's user avatar
0 votes
1 answer
142 views

Install openldap server wth puppet - Error: Could not prefetch openldap_database provider 'olc': Command original_slapcat is missing

i am trying to install openldap server with Puppet Version 5.5.20. For the openldap installation i use camptocamp/openldap module v 2.0.0. I try it first with minimal configuration. My puppet ...
incitynet's user avatar
0 votes
0 answers
36 views

How to implement puppet proxys for nodes on different network location

we are using puppet but we have some problems with different nodes on different networks, I would like to know if we can use some kind of proxys/satellites in order to connect the nodes from different ...
Flechoide's user avatar
0 votes
1 answer
590 views

Issues connecting puppet agent to master

Trying to build an infrastructure based on the most recent puppet/agents available for testing purposes. So I've been trying to run puppet agent on a node, and I'm currently getting the errors bellow,...
macosta's user avatar
1 vote
0 answers
269 views

Puppet master wont allow sign puppet agent certificate request, saying "Could not resolve x.x.x.x: no name for x.x.x.x

I have a puppet-master puppet agent setup in AWS VPC. The system has been running for the last 2 years without too many issues, but today the master will not accept a certificate request from any of ...
Tiaan Stals's user avatar
1 vote
1 answer
314 views

How to Install Visual Studio 2017-2019 with puppet/chocolatey

I have use Puppet/Chocolatey to configure visual studio 2010-2015. The last release of VS 2017-2019 has change a bit because of the new online installer method and I am still searching for a solution ...
Nicolas Boucher's user avatar
1 vote
1 answer
5k views

Puppet Windows Agent unable to connect - certificate verify failed: unable to get issuer certificate for /CN=Puppet

I have installed puppet server and the agent, accept the intial agent request with sudo /opt/puppetlabs/bin/puppetserver ca sign --certname mywindowshost on the server. I can see the certificates are ...
morleyc's user avatar
  • 1,130
1 vote
0 answers
20 views

Puppet on Azure to manage non-Azure nodes [duplicate]

I have installed a Puppet Server on Azure and is currently managing a number of Puppet Agents on Azure as well. I am using the internal azure fqdn - this means that all manifests and tasks processes ...
James's user avatar
  • 123
0 votes
1 answer
549 views

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: ...
AndreasKralj's user avatar
0 votes
1 answer
600 views

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 ...
AndreasKralj's user avatar
2 votes
2 answers
758 views

How to detect NVIDIA GPU with Puppet

I have some tasks I only want to run on machines that have NVIDIA GPUs. Is there a good way with Puppet to be able to determine if a specific agent has an NVIDIA GPU or not? I'm able to do it in bash ...
AndreasKralj's user avatar
2 votes
1 answer
2k views

How can I store the output of a Linux command in a Puppet file?

I want to create a new file on a specific Puppet agent and store the output of a Linux command to the file. Is there an easy way to do this with the content attribute? The command I want to run is ...
AndreasKralj's user avatar
1 vote
2 answers
1k views

Puppet: Run in noop mode except for the first time

I am trying to figure out how to run a Puppet configuration on a newly bootstrapped node, and then, from then onwards, only run as noop in order to collect reports on infrastructure changes / drifts. ...
James's user avatar
  • 123
0 votes
1 answer
954 views

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 ...
Angus's user avatar
  • 37
1 vote
1 answer
2k views

Puppet caching resources

I'm trying to debug a caching issue with Puppet on RedHat 7. My versions are at the bottom of this question. Below is an excerpt from my site.pp manifest. This is all fine and the Nagios check is ...
wsams's user avatar
  • 121
1 vote
1 answer
658 views

Puppet not passing parameter to custom module

So I have a custom module that just sets up a simple nginx server, to learn how to properly make puppet modules. But it seems that my values when I declare the class aren't getting passed in. It ...
cclloyd's user avatar
  • 613
0 votes
1 answer
4k views

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 ...
scalderoni's user avatar
3 votes
1 answer
324 views

Windows Puppet Agent - Package Manifest - Extra Slashes

I'm attempting to use Puppet to install an application that requires parameters to be passed to the underlying MSI is a specific way. Example: package { 'Vendor Application': ensure => '8.4.12....
Douglas Plumley's user avatar
0 votes
0 answers
514 views

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 ...
Tom's user avatar
  • 141
0 votes
1 answer
173 views

Puppet apache module removes symlink of documentroot

My documentroot is a symlink. When puppet agent runs, the symlink gets removed. Any ideas? My code: 'qsu.mydomain.de:443': ssl: true port: 443 ssl_key: '/etc/apache2/ssl/qsu.mydomain2.de.key' ...
user159192121's user avatar
0 votes
1 answer
1k views

Puppet file resource not resolving the source attribute

I have started to play with puppet 5 and for some reason the source attribute in the puppet file resource is not working. I have a simple manifest file in my puppet server which is as follows: file {'...
hypersonics's user avatar
2 votes
1 answer
1k views

Puppet can't find file of module

I have spun up a puppet server (5.0.0) using the docker-compose example and successfully brought up six clients (using the debian-provided puppet agent). While I can provide files with raw content, ...
Marco Schuster's user avatar
1 vote
1 answer
765 views

Missing Puppet provider for types group and user

I installed Puppet 5 on an CentOS 7 machine from https://yum.puppet.com/puppet/. The installation was successful and I can run puppet apply for a simple manifest like this one: file {'/tmp/example-ip'...
Oliver F.'s user avatar
  • 145
-1 votes
3 answers
1k views

Disable Puppet automatic scheduled runs

Is it possible to disable puppet runs (every 30 minutes) but it should be still listening? I'm setting up puppetkick or mcollective. So the agents should be still running and listening so I can push ...
anon's user avatar
  • 9
0 votes
1 answer
428 views

Ubuntu 16.04 preseed and puppet code during kickstart

I have created a preseed based automated installation system incl. a kickstart. This is working so far fine - either on vm or on usb on nuc or servers. My main issue now is that i am not able to run ...
Ben's user avatar
  • 1
1 vote
1 answer
272 views

puppet saz/sudo module implmentation

I'm trying to deploy the saz/sudo module to manage our sudo configs (I'm pretty new to puppet (~3days), so please excuse my potential ignorance). Our current sudo config all contained in a single (...
Mark V's user avatar
  • 121
0 votes
1 answer
231 views

Is /etc/puppetlabs/puppet/puppet.conf on Puppet4 equivilent to /etc/puppet/puppet.conf

I often see tutorials and instructions referencing puppet.conf at /etc/puppet/puppet.conf. I don't have this file but I do have /etc/puppetlabs/puppet/puppet.conf on my computers with Puppet 4 ...
Philip Kirkbride's user avatar
0 votes
1 answer
235 views

Sending more than a file to a puppet client

How I must configure a "init.pp" file for sending more than a file in the same class? What I have done is this: class nagios { file { ['/usr/lib64/nagios/plugins/']: path =>...
Daniel Ruiz Molina's user avatar
-1 votes
1 answer
1k views

Puppet client not pulling changes automatically

I have a computer that has the puppet client configured, enabled, and running, but it's not pulling changes from the master on its own. If I do a puppet agent -t it pulls the changes just fine. Which ...
LINUX G33NYUS's user avatar
1 vote
2 answers
667 views

How do I configure a Windows server to be a Puppet Agent server?

How do I configure a Windows server to be a Puppet Agent server? I am running Puppet Enterprise 4.x on CentOS 7 and Puppet Agent 3.7.4 on Windows Server 2012. I am trying to set this up for the ...
Kiran's user avatar
  • 67
1 vote
1 answer
2k views

Puppet overwrites symlinked directory

I am using Puppet to manage the configurations of some servers. One of the tasks is to create a specific folder structure under /www for hosting our applications. But lately, we've had this server ...
Mehdi Yedes's user avatar
0 votes
1 answer
1k views

Problems with Puppet module only including a subclass, which seems to be doing an implicit inclusion of the parent class

I'm having trouble figuring out how Puppet does inheritence and auto-inclusion of modules. I have a Puppet class that works as expect when I test it "locally" but fails when I push it to my nodes via ...
JDS's user avatar
  • 2,638
0 votes
1 answer
9k views

Puppet agent run errors with `Could not run stack level too deep`

I have configured Puppet Server to use an external CA, and generated the necessary keys. My puppet.conf looks like the following: [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /...
Metalopholus's user avatar
2 votes
0 answers
249 views

Custom gems in Puppet Provider

I am running Puppet 3.7 and I have the following issue: Installed the nokogiri gem on the agents with pe_gem. Wrote a custom provider that does require 'nokogiri' at the top. The Puppet run "...
Florin Asăvoaie's user avatar
0 votes
1 answer
67 views

Puppet failed to copy exec catalog

Seeing the following error in Puppet 4 # /opt/puppetlabs/bin/puppet agent --verbose --no-daemonize --onetime Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: ...
Zama Ques's user avatar
  • 523
1 vote
2 answers
1k views

Migrating to Puppet 4.5.2

We are migrating to later versions of puppet. New Version: # puppet --version 4.5.2 Existing Version: #puppet-3.8.7 Our existing site.pp is as follows: #A default site.pp to do a quick test run ...
Zama Ques's user avatar
  • 523
4 votes
2 answers
697 views

r10k: proper merging workflow with git

I am currently running Puppet with in masterless mode. I am using r10k for module and environment deployment. Simplified version: The r10k control repository has two branches: testing and production. ...
M. Glatki's user avatar
  • 2,114
1 vote
1 answer
522 views

Different manifest location on Puppet Server/Agent

My Puppet Server Environment setting is as follows [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /data/log/puppetlabs/puppetserver rundir = /var/run/puppetlabs/puppetserver ...
Zama Ques's user avatar
  • 523
0 votes
0 answers
794 views

Notify value of variable that holds a nested fact - Puppet4

I am trying to understand what the difference is between the following: $major_release = $::facts['os']['release']['major'] $selinux_is_enabled = $::facts['os']['selinux']['enabled'] If I put in my ...
moley's user avatar
  • 1
-2 votes
1 answer
3k views

I want to reboot the system using puppet by using reboot resource but it is throwing error like "Invalid resource type: Reboot"?."

I want to reboot the system using puppet by using reboot resource but it is throwing error like "Invalid resource type: Reboot"?. Is there any need modules that I need to install??. please help me.
user361402's user avatar
2 votes
1 answer
1k views

Puppet changing source file permissions

I'm setting up jail shells using puppet to maintain a copy of the required libraries within the jails. Using the following puppet code I can successfully copy the files across: file { "/home/${...
Stephen Mahood's user avatar
0 votes
1 answer
3k views

Message from application: cannot load such file -- puppet/util/command_line (LoadError)

I have configured puppet with passenger (using - https://docs.puppet.com/guides/passenger.html AND http://www.olindata.com/blog/2014/09/setup-puppet-master-passenger-and-apache-centos ). [root@a-...
Sanjay Bangalore's user avatar