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
3
votes
3 answers

puppet cert mismatch in ec2

I'm setting up a puppetmaster (2.7.6) in ec2 via gems (on rhel6) and I'm running into problems with the cert names and getting the master able to talk to itself. my puppet.conf looks like this: [main] logdir = /var/log/puppet rundir =…
Stick
  • 658
  • 4
  • 10
2
votes
1 answer

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 of configs called beta in my environments…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30
2
votes
1 answer

File Copy failing using Puppet File resource

I am trying to copy files using file resource . My code is as follows: node 'Node-002' { file { "/root/helloworld.txt": ensure => file, owner => "root", group => "root", mode => "0644", source =>…
Zama Ques
  • 523
  • 1
  • 9
  • 24
2
votes
2 answers

How to identify which Puppet master was used in an agent run?

I'm currently running multiple load-balanced masters and need to debug some differences between them. Is there a good way to include the hostname or some other ID of the puppet master in the agent reports? (Putting slightly different code on each…
splenetic
  • 23
  • 1
  • 3
2
votes
1 answer

Puppet Server not applying manifests

I did a Puppet/MCollective setup using four nodes. # mco ping Node-010.test.com time=107.58 ms Node-003.test.com time=110.68 ms Node-009.test.com time=114.42 ms Node-002.test.com …
Zama Ques
  • 523
  • 1
  • 9
  • 24
2
votes
1 answer

Testing a puppet master with vagrant

I'm new to puppet. I read a bunch, managed to write a simple (and probably clumsy) manifest to configure a host together with a similarly simple fabric script to deal with pre-puppet setup. Great, so time to be more serious. I configured a puppet…
jma
  • 425
  • 6
  • 16
2
votes
1 answer

Puppet: Node "default"-content is not pushed to all nodes

maybe I do not understand it correctly: I would like to define some tasks via puppet that are applied on all connected hosts. This is my site.pp: node default { ## Add default user ## user { 'test': ensure => …
MyFault
  • 913
  • 3
  • 15
  • 36
2
votes
2 answers

How do I downgrade puppetdbquery?

I'm getting an error on puppet runs which use puppetdb queries: Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `server_urls' for…
lucas
  • 200
  • 3
  • 10
2
votes
1 answer

Puppet Device unable to get local issuer certificate

I installed puppet 4.3 and centos7 to use Puppet Device to manage Cisco routers. The server hostname is "puppetmaster" (by running hostnamectl puppetmaster) The centos server is running puppet master and agent. After setting everything up and…
red888
  • 4,183
  • 18
  • 64
  • 111
2
votes
2 answers

Puppet storeconfigs confusion

I'm fighting with Puppet storeconfigs of many hours and finally I found one thing which confusing me. I would like to set up storeconfigs, but when I set storeconfigs and storeconfigs_backend values in /etc/puppet/puppet.conf files [master] section…
kiuru
  • 21
  • 1
2
votes
1 answer

Puppet: How does hierarchy work if a role is matched?

I'm trying to understand how does Puppet hierarchy works. My Puppet server's hiera.yaml looks like so: [root@puppet puppet]# cat hiera.yaml :backends: - yaml :yaml: :datadir: '/etc/puppet/hieradata/%{::environment}' :hierarchy: -…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
2
votes
2 answers

puppet revoke all certs requests waiting on master

I would like to know if there is a way to revoke some cert requests that came to my puppet master e.g $ sudo puppet cert --list "(none)" (SHA256) E6:91:40:DB:E6:C7:B7:56:7F:73:D3:3C:ED:FB:C7:DA:AC:A9:5B:CE:02:3A:38:19:AC:02:6D:A8:94 …
mandm
  • 23
  • 1
  • 3
2
votes
2 answers

Puppet master (3.6.2) error on signing puppet client (2.7.25)

I was hoping someone might have an answer for this: While upgrading overall from Centos6 to Centos7 I'm handling the upgrade for puppet's version. Our new puppet server's version is 3.6.2 and I'd like it to work with the somewhat older puppet…
Arkandel
  • 153
  • 1
  • 7
2
votes
0 answers

Puppet Enterprise and parser=future error. Uninitialized constant Puppet::Pops

When trying to set parser=future on PE I get this error Could not autoload puppet/indirector/node/console: uninitialized constant Puppet::Pops This works using open source puppet 3.6 but not with PE. I'm not sure what is going on here. I'm only…
Jmeyering
  • 341
  • 2
  • 4
2
votes
1 answer

Puppet agent -t results in error: Failed to generate additional resources using 'eval_generate:

This problem occurs intermittently. I first experienced it yesterday, and I simply restarted from scratch and it disappeared but just came back today. I'm running Puppet v2.7.11 on EC2 servers running Ubuntu 12.04. Problem is pretty straightforward,…
Jack
  • 63
  • 2
  • 3
  • 11