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

2
votes
3answers
712 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 ...
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?
1
vote
2answers
109 views

Use sudo inconjunction with regular user's ssh key

I want to execute a command which requires root privileges so I use sudo. sudo puppet apply /etc/puppet/manifests/site.pp This command involves cloning a private github repo with ssh. The only way ...
0
votes
2answers
200 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.0.0.0'...
2
votes
1answer
48 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
115 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 ...
0
votes
1answer
12 views

Puppet Master and Puppet Server Confusion

I recently started learning puppet after I joined my organisation a month ago. My organisation uses puppet 3 and is in the phase of moving to puppet 4. I am currently playing with puppet 3.8. Though ...
0
votes
1answer
17 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
1answer
137 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
97 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
83 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 ...
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 https://yum.puppetlabs.com/RPM-GPG-...
0
votes
1answer
606 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
41 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 ...
0
votes
1answer
57 views

How do you handle patch versions with puppet?

We use vagrant with puppet. Now there is a question about setting the version of different applications. How specific do you ensure versions with puppet? For example mysql: Do you ensure to have ...
0
votes
1answer
145 views

Trouble running `emacs --eval` from Puppet

I want to automate installing Emacs packages with Cask, Puppet, and Vagrant. Source https://github.com/mcandre/mcandre-ubuntu Steps to reproduce I can do this manually in Emacs on my Mac: $ emacs ...
4
votes
0answers
841 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 ...
2
votes
0answers
910 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, ...
0
votes
0answers
4 views

How to load predefined docker image using puppet..?

I am having an docker image named image.tar, which was created by using 'docker save' command from another machine and copied to puppet master. I am using 'garathe-docker' module to configure nodes. ...
0
votes
0answers
10 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 ...
0
votes
0answers
26 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
104 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 branch)]root@...
0
votes
0answers
12 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
0answers
115 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
0answers
137 views

Specific command not recognized in only one shell

I'm running Windows7 as OS as my development machine. It has various Shells: cmd Powershell Mysysgit GNU Bash <-- this is the one not working PuppetLabs Shell Nodejs Shell PHPStorm built in ...