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
2 answers

What is required to transition a puppet installation to use directory environments?

I am currently running a small puppetmaster + client configuration that is not utilizing Puppet's directory environment feature. My puppet version is 3.6. I have tried the following: On the puppetmaster: added environmentpath=$confdir/environments…
3
votes
1 answer

Centos 5 - Using official repository to upgrade manually installed Puppet server

I have Puppet server version 2.6.4 that was manually installed using RPM packages directly (instead of using Yum to fetch packages from a repository). Now I want to upgrade it to the latest version (3.6), as safely as possible, by installing it…
KK Patel
  • 385
  • 4
  • 17
3
votes
1 answer

PuppetDB: Connection refused

I'm trying to get PuppetDB to run on my puppetmaster machine. The problem is that I always get the following message when doing an agent run: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit 'replace facts'…
Kai
  • 315
  • 1
  • 4
  • 14
3
votes
0 answers

advantages of using puppetmaster over git pull

I am currently setting up puppet for a network of around 30 servers in a master / agent setup, but since I am using the open source version of puppet, is there really any advantage of using a puppetmaster? I have to ssh to the server to set up the…
patchrail
  • 207
  • 2
  • 10
3
votes
1 answer

Different hiera hierarchy per dynamic environment

Is it possible to define a separate hiera.yaml for a given environment? Currently I am using dynamic environments. Each one has its own hiera data directory, per my hiera.yaml file. :yaml: :datadir: /var/lib/hiera/%{environment} One drawback…
quickshiftin
  • 2,125
  • 5
  • 27
  • 41
3
votes
2 answers

How does active puppet agent handle downed puppetmaster?

Say that a puppet agent is in the middle of a refresh and I stop the puppet master service. Is there any point that it would potentially cause an incomplete or corrupt setup to be pushed out like I describe below? Background: I'm using continuous…
Tim Brigham
  • 15,545
  • 10
  • 75
  • 115
3
votes
1 answer

puppet 3.2.4: stack level too deep

I am working on a refactoring project for a large repository of custom puppet modules. This includes an upgrade from puppet 2.x to 3.2.4. When I finally hit critical mass and started testing some of the changes, I quickly ran into the following…
ajk8
  • 31
  • 4
3
votes
1 answer

puppet inserts two lines as one into a configuration file

I've created the next Puppet manifest file: node 'puppetmaster' { package { "screen": ensure => "installed"} $enhancers = [ "pixman","pixman-devel","libXfont","tigervnc-server" ] package { $enhancers: ensure => "installed" } file {…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
3
votes
0 answers

Puppet/Hiera: Error 400 on SERVER: undefined method `empty_answer' for Hiera::Backend:Module

I had a puppet master running for quite some time. After a restart of the process recently, I started getting: # puppet agent -t info: Retrieving plugin info: Loading facts in /var/lib/puppet/lib/facter/mountpoints.rb info: Loading…
3
votes
2 answers

How to exclude Puppet modules for a few nodes?

I have 80 nodes, 78 need to have a specific module, except for 2. [root@puppetmaster puppet]# cat hiera.yaml :backends: - yaml :hierarchy: - environment/%{::environment}/%{::hostname} - environment/%{::environment} -…
ujjain
  • 3,983
  • 16
  • 53
  • 91
3
votes
2 answers

Puppet Enterprise 2.7 - Error 400 on Server - Error 403 on Server - Can't puppet agent -t without the following error?

Running into an issue using two VM's running REL6. I set up the master and agent correctly and was able to cert the agent. When I go to run: puppet agent -t On the agent, I receive the following error: info: Retrieving plugin info: Loading facts…
hijaked79
  • 33
  • 1
  • 4
3
votes
2 answers

How to maintain site.pp with many nodes?

I keep all my nodes in one file, site.pp - but as I add more and more nodes, it's very difficult to maintain them. Import directive looks very promising, but as I understand docs, it's necessary to restart puppermaster every time something changes.…
Tomasz Olszewski
  • 898
  • 1
  • 9
  • 20
3
votes
2 answers

Puppet 2.7: Can I set up a puppet:// fileserver with Apache on a non-puppetmaster?

I don't have direct access to our puppetmasters, but I can make changes to modules and classes that relate to my work. I would like to set up a puppet:// fileserver that does not reside on the puppetmaster, so that it can be updated via other…
RoUS
  • 141
  • 3
3
votes
2 answers

How to override puppet class arguments in child node?

I'm attempting to accomplish something like the below: node 'basenode' { class { 'puppet' : disable => false, } } node 'child' inherits 'basenode' { class { 'puppet' : disable => true, } } This gives…
Jon Skarpeteig
  • 951
  • 2
  • 14
  • 29
3
votes
1 answer

Puppet: Conditional file source based on naming convention

I'm getting the ball rolling on puppet for my environment - and I'd like to have a conditional file resource based on whether or not the module itself contains a file based on a naming convention. So visually, assume a module named 'mysql' and it's…
thinice
  • 4,716
  • 21
  • 38