Puppet is IT automation software that helps system administrators manage infrastructure throughout its lifecycle, from provisioning and configuration to patch management and compliance.
Questions tagged [puppet]
79 questions
15
votes
3 answers
How to reject certificate request on Puppet Master?
I have some requests from agents that had bad hostnames. I've corrected this, but still have the outstanding requests with the bad hostnames.
I tried:
$puppet cert list
"wrong.host.name" (SHA256) 8E:...:51
$ puppet cert revoke…
Louis Waweru
- 24,631
- 40
- 135
- 202
6
votes
2 answers
Install a source package with puppet
For my server installation i need to wget and compile a source package (geos, GeoIP and py binding). Is there a predefined puppet class to get package sources and compile them?
paweloque
- 83
- 1
- 8
4
votes
1 answer
What are pro and cons in using puppet master vs. distribute puppet manifests with git?
I've started reading about puppet and see that there are two main ways in how you distribute you puppet manifest; one is to use the puppet master and the second one is to use git to distribute them.
What are the pros and cons between the two…
Tomas Jansson
- 815
4
votes
2 answers
Puppet enterprise versus free version, what's the diff?
What are the differences between the free puppet version and the enterprise version?
user27449
- 6,920
2
votes
1 answer
Specific version checking + if and else loop
just start puppet. As everyone else knows, starting something is always the most difficult. Well for practice I wanna do the following: I assume I am to put it in init.pp.
if 'openssl' version == '1.0.2b' or '1.0.2d'
upgrade to 1.1.1e
else
…
user3331457
- 41
2
votes
3 answers
facter: setting up module-specific custom facts?
I am customizing an existing puppet installation (with facter) and I think I ran into an issue understanding the scope of custom facts.
I have several modules that are mapped exclusively to different classes of hosts within a nodes.pp file.
What I'd…
André Fernandes
- 479
1
vote
1 answer
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
- 13
1
vote
1 answer
Puppet Master Error 400 on SERVER: Invalid parameter path at /etc/puppet/manifests/site.pp
How do I pass file name as arguments to puppet class?
My manifest file is
class new_file ($my_filename){
file { $my_filename:
ensure => present,
content => "I got it, Hello, I am Aura, with new content\n",
}
}
node 'agent1'…
Bhagavan
- 11
1
vote
1 answer
Puppet: how to add a line to an existing file
I am trying to add a line to an existing file /etc/fuse.conf. I tried this
added a folder two folders under modules directory
sudo mkdir /etc/puppet/modules/test
sudo mkdir /etc/puppet/modules/test/manifests
Then created a test.pp file and added…
user1670773
- 113
0
votes
1 answer
Agent limit in Puppet opensource
Is there any agent limit in Puppet opensource version?
One of my colleagues suggested to double check.
I did notice a 10 agent limit in evaluation version of enterprise version. Couldn't find any such info about puppet open-source
Gautam Jose
- 128
0
votes
1 answer
What is the default web server in Puppet enterprise
I have a question, it might be trivial, but I needed to check as I did not see an explicit information so far.
What is the default web server in Puppet Enterprise 3.3.2?
In all puppet lab documentation and in different forums, it is mentioned puppet…
schow
- 41
0
votes
1 answer
How enterprise versions of Puppet map to community versions?
In particular, which 'community' version corresponds to the current 'enterprise' one, 3.3?
I remember there was some magic involved: 'enterprise' 2.5 was 'community' 2.7 plus some GUI bells and whistles. I didn't find any definite answer on their…
badbishop
- 202
0
votes
4 answers
puppet file_line: remove line with unknown number of whitespaces
I'd like to remove a line from the sudoers. All works fine as long as I give the exact line. But there might be differences in white space on some machines.
Couldn't find a workaround even with "match".
file_line { '/etc/sudoers':
ensure…
Acki
- 1
0
votes
1 answer
Make sure a service is running with specific arguments using puppet
I have an application that I'm installing to all my VMs, it requires a specific arguments passing to it when it gets run and it should always be running.
I want to ensure that mailcatcher is running with the parameter --ip="0.0.0.0"
What's the best…
digital
- 821
0
votes
1 answer
facter does not show some information
I'm using facter to get some information for some bash scripts.
When I run facter by itself, it shows me items such as serialnumber and productname.
But when I run facter serialnumber or facter productname, I get nothing.
Any ideas?
myhost:/tmp #…
Ed Manet
- 409