Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [puppetmaster]

Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL). Puppetmaster is the central server for this tool.

Filter by
Sorted by
Tagged with
1 vote
1 answer
36 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 ...
user avatar
0 votes
0 answers
26 views

Command to completely uninstall puppet in the master server

I want to remove puppetmaster from master server including certificate. I am using puppet open source.
user avatar
  • 101
0 votes
1 answer
180 views

How to generate certificates for (secondary) compile puppetserver?

I'm trying to scale puppetserver, in order to have redundancy, using round robin DNS. The secondary puppetserver (version 7.4.0) is configured to use the CA authority from primary puppetserver: /etc/...
user avatar
  • 1,915
0 votes
1 answer
80 views

Plan lookup: Could not find class

When running a Puppet plan that uses lookup{} function against Hiera I get the error: The target node: 'computer1.domain.com' errored with a message: Internal Server Error: org.jruby.exceptions....
user avatar
  • 203
0 votes
1 answer
224 views

How to configure Zabbix to monitor Puppet Server via JMX?

Zabbix allows monitoring of metrics via JMX. The Puppet Server provides JMX metrics via jolokia on https://puppetserver:8140/metrics/v2, using its own CA for the certificate. I have my Puppetserver ...
user avatar
1 vote
1 answer
918 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/...
user avatar
0 votes
1 answer
34 views

How to manage puppet master and agent connectivity

As it is lab, we can add Ip address of agent to master hosts file.But if I have 1000 agents(partly windows and Linux machines), we can't add each and every agent to hosts file of master.How to manage ...
user avatar
0 votes
0 answers
31 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 ...
user avatar
0 votes
1 answer
332 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,...
user avatar
1 vote
0 answers
219 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 ...
user avatar
1 vote
1 answer
262 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 ...
user avatar
1 vote
1 answer
272 views

Puppet - disable a user

I'm taking over an old puppet master, and I need to disable a user. I'm aware of "present", "absent", and "role", and they seem to be the only ones available. I've been searching and honestly can't ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
  • 1,120
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 ...
user avatar
  • 123
0 votes
2 answers
965 views

How to use custom facts with rspec Puppet

Is there a way I can use a custom fact while using rspec? My module works fine and the custom fact exists and works as intended when I do a puppet run on my agent, but when I try to use the same fact ...
user avatar
0 votes
1 answer
338 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: ...
user avatar
1 vote
0 answers
137 views

Puppet server - Is it OK to delete files inside /var/lib/pgsql/data/base/?

We have a puppet server running 3.8.7 on RHEL 6.10. It experienced an OOM event this morning then the server recovered without intervention. While looking into this I noticed the server became very ...
user avatar
  • 609
1 vote
2 answers
605 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. ...
user avatar
  • 123
0 votes
2 answers
216 views

Puppet - how to use different file source

I create configuration in Puppet for Nagios agent (NRPE). Now I'm trying to set different file source depending on existence of dirs.First I check if specific directory exists and then set specific ...
user avatar
0 votes
0 answers
496 views

Puppet installation error

I am trying to install puppet enterprise for the first time, and following this documentation: https://puppet.com/docs/pe/2019.0/installing_pe.html I have downloaded the file and executed it locally ...
user avatar
0 votes
1 answer
673 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 ...
user avatar
0 votes
1 answer
106 views

Puppet - importing a locally written (non-installed) module's functions

Say I have two locally extant modules that don't exist on Forge or in a custom Forge-like repo. These repos will never be installed via command line as they are part of a bigger deployment that cannot ...
user avatar
  • 171
1 vote
1 answer
80 views

puppet server puppet apply node definitions remotely from server

i have setup puppet server agent setup. I am using puppet version 4 for both server and agent. I have my node definitions. I can run puppet agent -t to retrieve the node definitions from puppet server....
user avatar
0 votes
1 answer
71 views

puppet syntax multiple node includes different roles

Is it possible to set multiple nodes to includes different roles? Like this node_modules.pp: node 'puppet-appserver.dev' { include role::app_server } node 'puppet-dbserver.dev' { include role::...
user avatar
0 votes
1 answer
331 views

Error on Puppet Enterprise text mode install - pe.conf contains errors

I started puppet enterprise installation on CentOS image and it worked fine with guided install. Now, I am trying with text mode install with similar CentOS image and I get error to check pe.conf file....
user avatar
1 vote
1 answer
681 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 ...
user avatar
  • 121
0 votes
1 answer
3k 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 ...
user avatar
0 votes
0 answers
413 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 ...
user avatar
  • 141
0 votes
1 answer
859 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 {'...
user avatar
1 vote
1 answer
2k views

Generating and signing certificates in puppet version 5

I am trying to install and configure puppet 5.3.2 on two identical Linux machines running Centos 7 (one being a master and the other being an agent). I have managed to install the puppet from the ...
user avatar
0 votes
1 answer
140 views

Puppet Invalid parameter string on Firewall

Using the Firewall module version 1.9 in puppet 3.8.7, I am getting the following error: Error 400 on SERVER: Invalid parameter string on Firewall Here is my Puppet Firewall rule. firewall { "051 ...
user avatar
-1 votes
3 answers
826 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 ...
user avatar
  • 9
1 vote
1 answer
626 views

Connect several puppet masters to one puppetdb

I have installed a puppetdb on one of my puppetmaster and it works. But I'm not able to connect a second one to the puppet master. The command "puppet agent -t" works on my 2nd master. Each master ...
user avatar
  • 195
1 vote
1 answer
217 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 (...
user avatar
  • 111
1 vote
2 answers
406 views

Unable to pull Puppet Forge modules with r10k

I have what appears to be a functioning r10k setup with respect to publishing branches as environments, but when I run the command to pull modules via sudo /opt/puppetlabs/puppet/bin/r10k deploy ...
user avatar
1 vote
2 answers
990 views

Puppet::Environments::EnvironmentNotFound when folder exists

I have file structures for 2 environments on my puppet master server. Running ls /etc/puppetlabs/code/environments/ on my master server returns two folders beta and production. Yet when I go on my ...
user avatar
2 votes
1 answer
3k views

Puppet assign nodes to environments from master?

I'm learning to use Puppet and have successfully setup and connected a master server with 2 nodes. I've created files for the default production environment which is working. I also have a second set ...
user avatar
4 votes
1 answer
12k views

puppet: Could not evaluate: Could not retrieve information from environment production

I have seen the similar post here, but that does not solve Intent is to copy the bash script on agent node and execute. SLES11SP4-118:~ # cat /etc/puppet/manifests/site.pp node default { include ...
user avatar
  • 183
0 votes
1 answer
79 views

Manifests apply failing: using same hostnames in two different manifests file

have written the following manifests using tidy resource to delete old war files $ cat /home/kar/cleanwars.pp node 'node-010.example.com' { tidy { '/home/kar/temp/': path=> '/...
user avatar
  • 421
0 votes
1 answer
191 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 =>...
user avatar
1 vote
1 answer
1k views

Puppet master with different hostname/fqdn

I'm trying to use a puppetmaster for servers being both on an LAN and outside of a LAN. Here's the setup : I have 3 servers behind a router and a VM on Google Cloud. The puppet agents connect to the ...
user avatar
1 vote
1 answer
756 views

how to apply fstab setting in puppet

I am learning puppet, and I was supposed to enact this security measure on mount point /tmp: /tmp /var/tmp none rw,noexec,nosuid,nodev,bind 0 0 I looked at fstab, and I see this: /tmp /var/tmp none ...
user avatar
  • 190
0 votes
2 answers
777 views

Puppet/hiera : generate sereval files from one template

I'm running puppet 4 and I would like to generate several config files from the same template with different configurations for each one. for example : # cat /tmp/a.conf test1 # cat /tmp/b.conf ...
user avatar
  • 195
1 vote
2 answers
502 views

r10k on CEntOS 6.7, has anyone achieved this feat?

Do you guys know how one might run r10k properly on a CEntOS 6.7 server with Puppet 3.6? Is that a contradiction in terms? I checked the r10k source code's list of requirements: https://github.com/...
user avatar
0 votes
0 answers
146 views

How do I add third party puppet modules without committing them to source control?

tl;dr: How do I manage modules for a Puppet Master, like I do using requirements.txt for Python or using Bower for JavaScript? Here's an example. Say I want to install the puppetlabs/firewall ...
user avatar
0 votes
1 answer
274 views

foreman puppet manage 100's of servers without logging in each device

I want to know is there a way to manage hundreds of servers in foreman. Let's say I have 100 machines. In each machine, OS is already installed and ssh is accessible. Now I want to install a ...
user avatar
  • 109
1 vote
0 answers
200 views

Puppet Server Scaling CA

With Puppet 3.x it was possible to split out the CA into a seperate server and then have each of the other Puppet masters proxy certificate requests to the CA. Is this approach still possible with ...
user avatar
1 vote
2 answers
1k views

Puppet 4 - get a list of all the slaves connected

How can I get a list of all the slaves that connect to the puppet master in Puppet 4? I used to be able to get a look at the /var/lib/puppet/reports folder but with Puppet 4; I'm unable to find it ...
user avatar
3 votes
2 answers
7k views

How do you use a variable in a Puppet Manifest?

I am using the WSUS Module with Puppet Master on Centos 7.2. My Puppet Agent servers are running Windows Server 2012. I want to use a manifest with a variable. However, when the Puppet Agent server ...
user avatar
  • 67
0 votes
1 answer
6k 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 = /...
user avatar

1
2 3 4 5 6