Puppet is IT automation software that helps system administrators manage infrastructure throughout its lifecycle, from provisioning and configuration to patch management and compliance.

learn more… | top users | synonyms

0
votes
1answer
14 views

puppet - what lines get executed?

(puppet n00b) How do I check what lines get executed in a puppet run? We have a large codebase with many manifests and not all manifests get applied depending on the role of the computer. How can ...
0
votes
2answers
196 views

Vagrant/Puppet/MySQL localhost issue

I have a vagrant file using puppet to configure mysql. Here is the relevant code in default.pp: class { '::mysql::server': override_options => { 'mysqld' => { 'bind_address' => ...
0
votes
1answer
102 views

Puppet 3.8 recipe for installing package via Python pip

Since I don't have Puppet 4.2 or later for the pip3 provider, what is an alternative approach to installing Python packages by hand via the 'pip3' command? If I use the 'exec' approach, how do I ...
0
votes
1answer
37 views

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 ...
0
votes
0answers
8 views

puppet: `puppet resource <defined_type>` does not show defined type

I created a test.pp file and put in it a defined type that basically creates a file at /tmp/asdf. I ran puppet apply test.pp and verified that the file got created. However, when I go to puppet ...
1
vote
1answer
41 views

Centralized management of app.config parts for self-hosted .NET services

What will be the best way to handle these scenarios, if they are not one-time, but regular: Self-hosted services on a quite a bunch of machines are needed to be repointed to different database in a ...
0
votes
0answers
20 views

Create a folder and install software using puppet

Suppose I have a vm running on my pc. My vm has puppet installed. Now I want to install firefox on my pc not in my vm. I know to install firefox I can just do sudo apt-get install firefox on my pc but ...
0
votes
0answers
60 views

err: Could not request certificate: getaddrinfo: Name or service not known

Everytime I run puppet agent -t I get this error err: Could not request certificate: getaddrinfo: Name or service not known Exiting; failed to retrieve certificate and waitforcert is disabled I ...
0
votes
0answers
14 views

Why do I see “ [(no branch)] ”?

Hi I am new to puppet and doing free modules in a test environment on cents 7 from puppet website. Initially everything was fine but than I see "[(no branch)]" on command line. e.g; [(no ...
7
votes
4answers
5k views

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) ...
0
votes
1answer
39 views

Puppet class with parameter

I am trying to get a puppet class with parameters, Here is what I've tried class testing ( String $file = 'testing' ) { file { "/tmp/$file": ensure => present, mode ...
1
vote
1answer
38 views

I can't stop puppet by using Ctrl+C

After upgrading to puppet 3.8 I can't stop a puppet run by pressing Ctrl+C. At first I thought that maybe they capture SIGINT and ignore it. But if I do a puppet run from inside a docker container, ...
1
vote
2answers
44 views

Does restarting a Puppet Master service require regenerating for the SSL certificates of the servers it controls?

Do I have any special extra work I need to do, afterward, if I have to restart the Puppet Master service? Specifically, does this affect SSL certificates?
2
votes
1answer
54 views

Why does the Puppet Deployment of an RPM fail even though the package is available?

We made sure the package was available, and even manually downloaded it and installed it on one of the target servers. However, when we run Puppet to install our updated REST packages, we get the ...
0
votes
0answers
11 views

How to create a conditional logging message in Puppet 4?

Currently I have something like this: package { 'foo': ensure => latest, }~> service { 'bar': ensure => running, enable => true, } warning('The "bar" service may or may not have ...
0
votes
0answers
22 views

Puppet master: announce catalog version

I know that my puppet agents will report things like info: Applying configuration version '1444153925' and in the /var/lib/puppet/state/last_run_summary.yaml file config: 1444153925 Can I get my ...
0
votes
1answer
258 views

Proper way of importing many manifest files with vhost definitions

I have the following simple puppet recipe: # Apache class { 'apache': mpm_module => 'prefork', # Determines which MPM is loaded and configured for the HTTPD process (event, itk, peruser, ...
0
votes
2answers
2k views

Getting node.js and grunt to run on Vagrant box (ubuntu-precise12042-x64-vbox43)

I am having trouble understanding how I would get node.js, Grunt and NPM to run on my Vagrant box. I am using the ubuntu-precise12042-x64-vbox43 and provisioning it through puppet. I am just getting ...
0
votes
1answer
124 views

Offline puppet agent installation from puppet master- Opensouce Puppet

I need to perform offline installation of puppet agents on 300+ servers. Servers vary in architecture and design and have no access to internet. Kindly suggest the best way to achieve this given ...
0
votes
1answer
40 views

Running puppet script on remote machine

I am working on a vagrantfile which uses puppet script to do the provisioning. As a part of provisioning a lot of packages are installed and configured. Since the work is still in progress, i would ...
2
votes
3answers
684 views

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 ...
0
votes
1answer
90 views

Change service startup “sequence” with puppet

When using service { 'ntp': ensure => running, enable => true, # [...] } puppet will make sure, that the service will start on boot. Therefore it is creating links for several ...
0
votes
1answer
2k views

windows batch script get environment variable changes

I have a script that does something like setx %PATH% %PATH%;%ANOTHER_VAR% echo %PATH% When I echo the path, it does not include %ANOTHER_VAR%. is there a way to ensure the new variables are ...
7
votes
3answers
9k views

Is there any reason to use Puppet alongside with Docker?

I have tried Ops part of DevOps some time ago and it was quite fun, but I haven't time and reason to try it in any project. But last week I started new job, where boss asked me if I can configure ...
0
votes
1answer
72 views

Error in starting puppetmaster while upgrade

I am trying to upgrade my system (Linux mint 17): $ sudo apt-get upgrade And this is the output, (I have tried this more than once so I am copy+pasting the latest output) Reading package ...
1
vote
0answers
53 views

Automated Windows config-based installation (bare-metal) instead of backup restore [closed]

Given the current CPU/SSD performance and the ability to store important files on fail-safe storage (cloud, RAID, whatever), I'm finding that taking backups is "too 2000". Especially if you consider ...
2
votes
1answer
44 views

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
vote
1answer
68 views

Script/program that listens for user input, reads logs for output and sends broadcast

During code deployments there is a risk of service/system failures. The Network Operations Center monitors alerts from servers. If the alert comes as a result of a code deployment then it might not be ...
0
votes
3answers
3k views

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 ...
0
votes
1answer
77 views

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 ...
0
votes
1answer
195 views

Vagrant Networking - can ping IP but not a FQDN

I have a CentOs vagrant machine and I have no problem pining an IP address such as: 216.58.223.4 When I try and ping: www.google.com, it is unable to find the network. /etc/resolv.conf This file ...
0
votes
1answer
1k views

How to fix when installing puppet client on centos 7 with dockerfile getting Error: Package: ruby-augeas-0.4.1-3.el6.x86_64

I'm trying to install puppet-client on docker centos-latest with this dockerfile # Base OS FROM centos # Install puppet ENV PUPPET_VERSION 3.7.3 RUN rpm --import ...
1
vote
3answers
7k views

puppetd --test err: Could not request certificate: Connection refused - connect(2) Exiting; failed to retrieve certificate and waitforcert is disabled

I m new to puppet and i m trying to have connection to my puppet server, when i ping to my puppetmaster it runs well but when i run puppetd --test t shows me following error. puppetd --test info: ...
1
vote
1answer
110 views

Interpolate File Contents Into Command Argument Used in Puppet Manifest

I have a SQL command that I would like to use as the value of a JSON node, which is a part of an index definition. All of this is passed as a command in a puppet manifest. I would like to ...
8
votes
3answers
10k views

How to git clone private repos within Vagrant VM, using host's SSH keys?

I'm able to use PuppetLabs vcsrepo to clone public git repos, but I'd like to also be able to clone private repos, using the host's SSH keys. What would the configuration look like for Vagrantfile ...
0
votes
1answer
575 views

Install Postgresql 9.4 with Puppet

I would like to let Puppet manage Postgresql 9.4 on Ubuntu 14.04.2 LTS. I have install the https://github.com/puppetlabs/puppetlabs-postgresql module and configured it like this for 9.3: class { ...
0
votes
1answer
401 views

installing jenkins with puppet

I did google search for "install jenkins with puppet" and found this so i followed the first instruction: puppet module install rtyler/jenkins and it installed it. now I saw the next instruction, ...
1
vote
1answer
567 views

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 ...
0
votes
3answers
651 views

Error: Unknown Puppet subcommand 'module'

It seems there is a problem with puppet on Ubuntu 12.04 LTS as its missing the module subcommand as follows: Installed puppet in version 2.7.11 $ puppet module install rafaelfc-pear Installing ...
0
votes
0answers
112 views

Allow user to install packages using puppet

I need to allow some users to install packages on their systems, and the whole system is being managed by puppet. I have this file: #modules/polkit/manifests/init.pp define polkit( # ...
0
votes
1answer
40 views

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 ...
4
votes
0answers
823 views

puppet dashboard installation with passenger shows default apache page

I am trying to install puppet on my CentOS 6.5 64 bit machine. The installation of puppet-server goes through fine and I am being able to install apache2.2.15 and passenger 4.0.53. I have installed ...
0
votes
1answer
31 views

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 ...
0
votes
1answer
356 views

Can I use puphpet files to deploy a vps server without vagrant

I'm using puphpet/vagrant in local to work with symfony but I wanted to know if I can use puphpet's scripts/files to deploy it on my vps server if Im using the same OS.
8
votes
2answers
3k views

How do you uninstall Puppet from Mac OS X ?

I installed puppet 3.x on Mac OS 10.8.4 a few weeks back, and now want to remove it. The installer.dmg does not come with an uninstaller, and there is no .app package to remove. How do you ...
2
votes
0answers
886 views

Can't get private GitHub repos to work with Vagrant/Puppet on Windows

I have a project and we use Vagrant for our development env. On Mac/Unix the provisioning works perfectly except in Windows, the problem is that forwarding agent doesn't work on windows and therefore, ...
1
vote
1answer
201 views

Puppet - removing user who is logged in?

I've just started learning puppet and have came across a problem I was wondering if anyone knew how to fix.I m trying to remove a user I get an error message stating that they are logged in so can't ...
0
votes
1answer
238 views

Add network account to local group with Puppet?

On a client Mac joined to an OS X Server Open Directory, is it possible to use Puppet to add a directory account to a local group on the client?
3
votes
1answer
3k views

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. ...
0
votes
1answer
350 views

Version Control 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 ...