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.

274 questions
33
votes
5 answers

Could not find class, and yet it is there

When doing a puppet agent call from a new image, I'm getting a err: Could not find class custommod error. The module itself is in /etc/puppet/modules/custommod same as all of the other modules we're calling, but this one is obstinante. [site.pp]…
sysadmin1138
  • 131,083
  • 18
  • 173
  • 296
15
votes
4 answers

Is it possible to get aws ec2 instance id based on its IP address

I have list of IP addressed, I want to find if instances associated with the IP address are still running or terminated. I am launching and terminating lot of instances on daily basis, just want to remove their certificates from puppetmaster. If…
Ramesh Kumar
  • 1,690
  • 5
  • 18
  • 29
15
votes
2 answers

New server unable to fetch configuration from Puppetmaster due to some ssl error

Three machines in the production environment had some hardware issues and were decommissioned. The infrastructure team has reinstalled them and gave them the same hostnames and IP addresses. The aim is to run Puppet on these systems so these can be…
Itai Ganot
  • 10,424
  • 27
  • 88
  • 143
15
votes
3 answers

Pros and Cons of a Decentralized Puppet Architecture

We have around 300 RHEL servers that are currently connecting to a Puppetmaster server. However, we have noticed some performance bottlenecks and it is the point of failure in our system. I am fairly new to puppet in general and I am considering…
JMeterX
  • 3,387
  • 15
  • 31
11
votes
3 answers

Can Puppet File Source be from a web service?

Is there a (simple) way to have puppet use a file available on the internet for the Source property of a File? eg: file { "/home/text.txt": source => [ "http://www.example.com/text.txt", ] }
gunwin
  • 6,330
  • 3
  • 18
  • 22
11
votes
2 answers

Puppet agent certificate verify failure

I have a Puppet Master/Agent set up, and have successfully signed the certificate for the agent on the master. However, when I run puppet agent --test I get a failure that looks like this: Warning: Unable to fetch my node definition, but the agent…
John Smith
  • 111
  • 1
  • 1
  • 3
10
votes
2 answers

Error 400 on SERVER: The environment must be purely alphanumeric, not 'puppet-ca'

I would like to share this mistake as i have waste for one day on this. So I think i might be useful for other There is a puppet server setup by my colleague in infrastructure team. They provide me another window 2008 r2 to install puppet agent on…
Sarawut Positwinyu
  • 377
  • 1
  • 2
  • 7
8
votes
7 answers

Version Controlling Foreman & Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet master but would prefer a more holistic solution that…
GeneBean
  • 313
  • 1
  • 4
  • 10
8
votes
3 answers

Puppet: Trying to configure puppet client for first use but got some problems with certificates

I'm trying to configure my clinet 'Itai-test' to receive puppet settings from the puppet server which is called 'puppetmaster'. On the server I ran: [root@puppetmaster requests]# puppet cert --generate itai-test.domain Error: A Certificate already…
Itai Ganot
  • 10,424
  • 27
  • 88
  • 143
8
votes
5 answers

Puppet's automatically generated certificates failing

I am running a default configuration of Puppet on Debian Squeeze 6.0.4. The server's FQDN is master.example.com. The client's FQDN is client.example.com. I am able to contact the puppet master and send a CSR. I sign it using puppetca -sa but the…
gparent
  • 3,561
  • 2
  • 23
  • 28
8
votes
4 answers

Can any puppet agent get any puppet file from the master?

My Puppet master contains some sensitive files. I want each puppet agent to be able to access only those files that are of interest to that specific agent. In other words: Does the puppet agent run its catalog, and then, whenever it encounters a…
Antonis Christofides
  • 2,556
  • 2
  • 22
  • 35
7
votes
3 answers

How to get Run Puppet button working on Foreman?

First of all, I know there is already a very similar question here on serverfault, but it doesn't quite answers my problem. So, my setup is the following: I have one server, running Ubuntu 14.04 LTS and puppet master 3.4.3 with foreman 1.6. The…
Florian
  • 111
  • 1
  • 2
  • 5
7
votes
2 answers

Force to apply changes through puppet on a puppet agent, through master?

Is it possible to issue a command from master puppet, to a node, to run agent and apply the latest configuration to it? Like, I have lost password for a user and i am not able to login, but puppet agent is installed on the server and I can apply the…
Farhan
  • 4,210
  • 9
  • 47
  • 76
7
votes
2 answers

Puppet: Only allow changes during certain hours?

Is it possible to setup puppet in a way that changes in manifests only will be applied during certain hours, so that any eventual downtime on our server will occur when we decide it to? Thanks
Industrial
  • 1,559
  • 5
  • 24
  • 37
6
votes
1 answer

Copy folder and its subfolders from puppet master to agent

I'm trying to copy folder /vagrant/scripts and its sub-folders located on puppet master into the agent. I use the following config in the init.pp: file { '/home/vagrant/scripts': ensure => 'file', source => 'puppet:///modules/ycsb/scripts', …
hossein
  • 181
  • 1
  • 1
  • 8
1
2 3
18 19