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

Puppet not applying config but returns without error

Using Puppet 3.2.1 attempting server / client setup, running both on same host. I'm also using puppet-dashboard and puppetdb. My manifest/init.pp: node 'my.fqdn' { file { '/tmp/test': ensure => present } Running puppet agent --test --server…
Jon Skarpeteig
  • 951
  • 2
  • 14
  • 29
1
vote
2 answers

Puppet:Could not find default node or by name with node test2

I installed Puppet 3.1.1 on an Ubuntu Server. My manifests folder looked like this: ├── nodes │   └── test1.pp └── site.pp The content of site.pp was: # site.pp import "nodes/*.pp" Node test1 worked OK. Then I created a new file named test2.pp. …
txworking
  • 479
  • 2
  • 6
  • 15
1
vote
1 answer

Puppet generates errors every time a module changes

I have a trivial puppet 2.7.18 installation as follows: === manifests/site.pp === node build-1 { include mod1 include mod2 include mod3 } === modules/mod1/manifests/init.pp === import "*" === modules/mod1/manifests/mod1.pp === class mod1 { …
Rudedog
  • 732
  • 5
  • 9
1
vote
1 answer

Change config file by puppet - depend hostname

I want to push some config file to my all servers by puppet. File is almost the same for all servers, but there is one change - hostname. I've created module in puppet with manifest and temp-conf-file. I include to all node. All is fine. My…
Rafał Kamiński
  • 187
  • 2
  • 5
  • 15
1
vote
1 answer

Puppet: build DNS file from node config (or: how do I iterate over node variables globally)

I also use puppet for my nodes. I am also running a (BIND) dns server. Would it be possible to use the $aliases variable I have for each node in a template for the DNS module? My nodes look like this: $ cat nodes/kayak.local.pp node 'kayak.local' { …
Karel
  • 639
  • 9
  • 16
1
vote
1 answer

Puppet serving plugins over nginx throws 404s

I migrated my puppet master setup to run under thin with files being served from nginx. Module files are served great, but plugin files don't appear to work. The logs think that the agents are requesting urls like…
growse
  • 8,020
  • 13
  • 74
  • 115
1
vote
2 answers

How can I fix invalid parameter errors in puppet manifests?

I've got a seemingly impossible error in a very simple puppet manifest. I'm simply trying to use the example42 puppet-puppet module to run puppetmaster (with puppet 3.1.0). This is my site.pp: node 'se2' { class { 'puppet::server' : …
PerilousApricot
  • 153
  • 1
  • 1
  • 6
1
vote
2 answers

Why does puppet keeps telling me: "Puppet.features.rubygems? is deprecated. Require rubygems in your application's entry point if you need it"?

I've got a reasonably small (~10 hosts) puppet installation, and recently, I've started to get warning messages on every puppet agent run. The message is: Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb Info: Loading facts…
growse
  • 8,020
  • 13
  • 74
  • 115
1
vote
2 answers

Puppet using /var/lib/puppet/.puppet/ as default config dir

I'm running a CentOS 6 box with puppet 3.0.2. The /etc/puppet/manifests/site.pp on the puppet server does not seem to do anything, so I ran: puppet master --no-daemonize --logdest console --verbose --debug And I get the following: Debug: Using…
1
vote
1 answer

Puppet and Dynamic Environments

I am trying to set up dynamic environments using http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ as a guide. Unfortunately I am not entirely clear on what I am doing. I have created a directory on the puppet master at…
TheWellington
  • 199
  • 2
  • 6
1
vote
1 answer

SSL issues with puppetdb

I'm setting up Puppetdb with SSL and having issues with certificates. I'm using Nginx as an SSL proxy for Puppet, so my CA is managed by a mongrel server on this Nginx proxy machine. If I generate a certificate for my Puppetdb URI using the CA on…
raphink
  • 11,987
  • 6
  • 37
  • 48
1
vote
1 answer

Puppet yum repo - Pull down 2.7.x vs 3.0.x

So a few weeks ago I started on the path to using puppet to automate all the configs/services. At the time I was using the EPEL repo, which installed version 2.6.x. After some reading I was trying to gain access to the flatten method available via…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
1
vote
1 answer

Puppet - Is it possible to use a global var to pull in a template with the same name?

I'm new to puppet. As such I am trying to work my way around the best way to setup my manifests that make sense. Following the DRY (don't repeat yourself) principle, I am trying to load common directives in one template, then load in environment…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
1
vote
1 answer

Setup Puppet to email failed reports

Possible Duplicate: Alerting on Failed Puppet Status How can I setup Puppet to email failed reports to an address? I’ve setup puppet.conf like this [master] server = puppet.site.net [main] #dns_alt_names = puppet.site.net report =…
Quintin Par
  • 4,373
  • 11
  • 49
  • 72
1
vote
1 answer

Puppet agent delay when creating new certificate

root@testpgmaster:/# puppetd --test info: Creating a new SSL key for testpgmaster warning: peer certificate won't be verified in this SSL session info: Caching certificate for ca warning: peer certificate won't be verified in this SSL…
Antonis Christofides
  • 2,598
  • 2
  • 23
  • 35