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

Puppet & Puppetmaster for development on VMs

I'm in the situation where I am constantly spinning up new vms for development. I've got a base image that i can clone but it quickly gets out of date and you have no method of adding a change across a lot of vms. I want to set up a puppet script…
6
votes
1 answer

Installed puppetmaster, but why do I get "puppetca: command not found"?

# puppetca --list -bash: puppetca: command not found I am newbie in Puppet server, but I think I have installed puppet-server correctly. How to get the puppetca ?
MacLing
  • 61
  • 1
  • 2
6
votes
2 answers

Is there a way to deliver a customized file to a server via puppet

I have several machines I am managing via puppet. The machines are at different physical locations. Each location has a specific location number. I have a config file that needs to have the correct location number in it. So the contents of…
Ed Manet
  • 532
  • 1
  • 5
  • 17
5
votes
2 answers

Installing packages with dependencies using puppet

I am new to puppet, for the process of learning it I created Puppet Master and Puppet Slave setup and configured a mysql module to install mysql on Puppet client. Below is the manifest file. class mysql { package { ["mysql-server-5.5",…
Yaalie
  • 175
  • 1
  • 2
  • 8
5
votes
2 answers

Puppet: Can't manually generate cert and issue cert request over API

I've spent far too much time trying to figure this out now, and I could really need a pointer. The tl;dr is that I need to manually generate a certificate on one node, and then issue a certificate request over the API. According to the official…
vpetersson
  • 861
  • 1
  • 11
  • 22
5
votes
3 answers

What is the recommended puppet server directory layout?

I am just setting up a new puppet server and wanted to find out what the best practise directory structure is? Ive had a look around on different forums and on the puppet site and what strikes me is that everyone seems to lay it out in a different…
Tony
  • 311
  • 4
  • 11
5
votes
2 answers

Creating user accounts with Puppet?

I'm just getting started with Puppet and I have the following code in my test site.pp file: class { 'account': { 'danny': home_dir => '/home/danny', groups => [ 'sudo', 'users' ], password => 'password' } } I'm trying to use…
dannymcc
  • 2,717
  • 10
  • 48
  • 72
5
votes
1 answer

Puppet: certificate verify failed

Due to a screw up, I have to regenerate client & server certificates. As far as I know, the master certificates are automatically generated. So I generated keys on the client: MASTER # puppet cert clean --all Notice: Revoked certificate with serial…
Tuinslak
  • 1,465
  • 8
  • 32
  • 56
5
votes
2 answers

Puppet sometimes can't find standard facts like osfamily

Quick brief - for testing purpose, I installed puppet agent on 5 nodes (Debian Squeeze + puppet 2.7.20-1puppetlabs1), and puppet master on 1 server (same version). On puppetmaster side in every manifest I check if $::osfamily == 'Debian'. Sometimes…
Tomasz Olszewski
  • 898
  • 1
  • 9
  • 20
5
votes
2 answers

multiple puppet masters

I would like to set up an additional puppet master but have the CA server handled by only 1 puppet master. I have set this up as per the documentation here: http://docs.puppetlabs.com/guides/scaling_multiple_masters.html I have configured my second…
Oli
  • 418
  • 4
  • 15
4
votes
1 answer

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 base } node 'sles11sp4-170.dev.insiteone.com' { …
RajSanpui
  • 183
  • 1
  • 1
  • 9
4
votes
2 answers

Is it possible to get puppet to combine recursive and non-recursive changes to a given directory

I am using puppet 3.8.4 on debian. I want to recursively set the owner and group on a set directory, but only set permissions on the directory itself ie. I don't want to chmod anything in the dir only chown/chgrp it. I have tried the…
Vagnerr
  • 1,275
  • 1
  • 15
  • 20
4
votes
3 answers

Check directory before creating file in puppet?

I'm trying to make a function which directory/file will be created only when the first directory exists, of not it must be skipped because of failed dependence. I've tried this "onlyif" workaround, but unfortunately it doesn't work with my function.…
skantana
  • 41
  • 1
  • 1
  • 5
4
votes
1 answer

any sense in having multiple, distinct puppet masters?

I am wondering is whether it makes sense to have a single machine connect to multiple, distinct Puppetmaster instances. My use case is that i have different privilege level I want to grant to server operators. We already operate a fairly (~100) wide…
anarcat
  • 752
  • 1
  • 9
  • 18
4
votes
1 answer

What's a good load balancer check for puppet master

We are running a couple of Puppet Master version 3.7 (Not PE) on AWS EC2 instances behind an Elastic Load Balancer (mainly for high availability). Currently the load balancer's check is just TCP connect on port 8140. But this didn't detect that one…
Capt. Crunch
  • 839
  • 2
  • 12
  • 25
1
2
3
18 19