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.

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.

277 questions
1
vote
1 answer

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. I see on puppet enterprise there is an option…
Rehan Miah
  • 41
  • 1
  • 8
1
vote
1 answer

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 installed on the foo.example.com node. node…
wsams
  • 121
  • 6
1
vote
1 answer

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 official repository on both and added the…
hypersonics
  • 223
  • 5
  • 10
1
vote
1 answer

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 deals with their own nodes (their is no LB). Here is…
Skullone
  • 195
  • 1
  • 1
  • 11
1
vote
1 answer

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 (large) /etc/sudoers file, which I'd like to break up…
Mark V
  • 121
  • 6
1
vote
2 answers

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 environment -p -v I get INFO -> Deploying…
Geoff Johnson
  • 115
  • 2
  • 10
1
vote
2 answers

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 agent and run puppet apply -t --environment beta I…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30
1
vote
1 answer

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 master using the "puppet" hostname while the GCP…
J.F.Gratton
  • 75
  • 1
  • 10
1
vote
1 answer

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 bind 0 0 I have approximately 500 servers to enable…
arcee123
  • 50
  • 2
  • 14
1
vote
2 answers

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/puppetlabs/r10k#requirements It looks like it…
Nathan Basanese
  • 341
  • 2
  • 5
  • 19
1
vote
0 answers

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 puppetserver 2.6? I can't seem to find anything in…
1
vote
2 answers

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 that directory. Thanks
LostMohican
  • 111
  • 4
1
vote
1 answer

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 pidfile =…
Zama Ques
  • 523
  • 1
  • 9
  • 24
1
vote
1 answer

Creating new environments in Puppet Server

We are using a shared Puppet Server to manage both QA and DEV environments . The default configurations Puppet Server uses is Production environment # puppet master --configprint all | grep production environment = production manifest =…
Zama Ques
  • 523
  • 1
  • 9
  • 24
1
vote
1 answer

mcp puppet runonce not executing manifests

I am using mcollective with puppet . The setup is successful . But when I apply manifests , the manifests is not getting executed . My manifests is as follows: node default{ } node 'Node-009.wiley.com'{   file { "/tmp/helloworld.txt":     …
Zama Ques
  • 523
  • 1
  • 9
  • 24