Questions tagged [puppet]

Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language.

Puppet is a configuration management tool for Unix and Windows. It works either standalone mode (puppet apply) or in client-server mode (puppet agent) with puppet agents running on client systems checking in with the master daemon on the server on a regular basis. Puppet's written in ruby, and puppet source code, i.e. puppet manifests, uses its own domain-specific language that focuses on declaring the system resources and it's intended state.

Combined with system provisioning tools (PXE, kickstart, FAI, etc), puppet can fully automate any software installation and configuration process that doesn't require a GUI interface.

More info:

Related:

1792 questions
0
votes
1 answer

Linux-Puppet: Error: Could not retrieve catalog from remote server, what could be the reason?

I've wrote a Puppet module which is supposed to create a directory, copy files into there and change the ownership of the files. The module name is "workspace". In the manifests folder of the module there are three files: -rw-r--r-- 1 root root 9578…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
0
votes
1 answer

Foreman - Match has already been taken

Foreman Version 1.6.3 When I try to edit one of my hosts - change hostgroup - I get the following error: ActiveRecord::RecordInvalid Validation failed: Match has already been taken app/models/concerns/host_common.rb:48:in `block in…
SEB
  • 23
  • 4
0
votes
1 answer

How do you install the optional channel on RHEL version 7?

To install Puppet Master on RedHat Linux version 7, you need to install an optional channel. Can someone provide directions on how to do this? I want to install Puppet Master. I tried to install Puppet Master without the optional channel. The main…
Propulsion
  • 158
  • 2
  • 9
0
votes
1 answer

Using Puppet apt module

I'm an absolute beginner at Puppet, and I'm having an issue when I try to install a package via the apt-module. class newrelic { apt::source { 'newrelic':location => 'http://apt.newrelic.com/debian/', repos…
Jeroen Jacobs
  • 1,386
  • 3
  • 16
  • 25
0
votes
1 answer

How to create an apt repository on puppet master

I am setting up a puppet master and want to distribute nagios core 4 and nagios-plugins to each of my agents and the master itself. Nagios core 4 is currently not available from the Ubuntu repositories so i used fpm to create debs from the tarballs…
markhorrocks
  • 513
  • 3
  • 10
  • 26
0
votes
1 answer

In puppet, can you supress a specific notice log entry? LVM forge module

With the LVM module from the Forge, the "size" property sets the desired size of the logical volume. The "size_is_minsize" parameter says that "size" is just the minimum desired size (it's OK if the logical volume is larger than "size"). When this…
jmp242
  • 688
  • 3
  • 15
0
votes
1 answer

puppet defined type and creating multiple templates from 1 .erb file

I need to find a solution to this problem that I've come across. I have a hash (it's supposed to be overriden as a smart class parameter later on) that I am iterating trough in my template.erb to generate multiple File resources that I have defined…
ThreeTwo
  • 3
  • 2
0
votes
1 answer

Error while installing apache with puppet-apache module

I am using puppet lab's apache module for installing and configuring apache. I am using Debian 7 (wheezy) and below is the manifest file I am use as site.pp in puppet-master. And from the puppet client I am executing puppet apply --test to install…
Yaalie
  • 175
  • 1
  • 2
  • 8
0
votes
1 answer

How to return default hash keys in hiera_hash() call?

In an attempt to clean up my client's Hiera data for Puppet, and drastically reduce the number of Hiera calls in the Puppet manifests, I'm changing constructs like some_name::key1: a_value_1 some_name::key2: a_value_2 [...] some_name::keyX:…
Simon
  • 193
  • 2
  • 10
0
votes
1 answer

Puppet: How to write a proper “condition and condition” statement?

I wrote a "Message of the day" Puppet module which affects all proxy servers in my company. Within the template file, I have the following "if statement": <% if @hostname !~ /^haproxy\d+/ and @hostname =~ /proxy\d+/ -%> if [ "$(cat $LBMEMFILE)" =…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
0
votes
1 answer

Puppet CRLs in an environment where 'puppet' doesn't resolve right

Due to political reasons above the technical layer, the bareword puppet does not resolve to the correct puppetmaster for parts of our infrastructure. These areas have their own, independent puppetmaster and CA. Today I discovered that... we did…
Blue Warrior NFB
  • 621
  • 6
  • 17
0
votes
1 answer

Install Applications on Windows RDP Servers with Puppet

The scenario is installing Windows applications with Puppet on a Windows RDP server. I have Puppet install the applications without problem, but per the best practice, you're supposed to be in install mode when doing so, and switching back to…
ETL
  • 6,513
  • 1
  • 28
  • 48
0
votes
1 answer

Puppet exec type seems to ignore the unless attribute

I have an exec command to change the hostname. I only want to execute that if the hostname is not what it should be: exec { 'update hostname': command => 'sudo hostname VM01', unless => '[[ "$(hostname)" == "VM01" ]]'; } Now the [[…
Mario
  • 101
  • 1
  • 2
0
votes
1 answer

Puppet agent unable to connect through Load Balancer

I am currently trying to setup a load balanced puppet infrastructure. I am using puppetserver for the puppet server(s) and puppet agent 3.7.3 for the clients. Currently I have four servers setup in a local DNS server and name resolution is working…
d9705996
  • 101
  • 4
0
votes
1 answer

Best practices for puppet module management with software development life cycle approach?

How do people organize their Puppet manifests and modules in your source code repository? I am not seeing any obvious way to implement changes in Puppet in a phased manner on a single Puppet master. How are other people managing this? One master…
danw
  • 25
  • 1
  • 7
1 2 3
99
100