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.

learn more… | top users | synonyms

0
votes
3answers
19 views

Puppet include firewalld module not working

I have cloned this module onto my puppet server. I cannot seem to understand how I should be including this into a node. I am doing: nodetest1 { include firewalld } But this does not apply all ...
-1
votes
2answers
30 views

Puppet file resource on windows agent don't work, what did i do wrong?

Background This is the first time i work on puppet The puppet master is Linux version... The puppet master host also install Puppet Foreman Server version 1.8.2 The puppet agent is Window ...
1
vote
1answer
24 views

Puppet manifest isn't working. The error message is inexplicable and unhelpful

I'm trying to compile (into a catalog) a manifest to be ran on a specific puppet agent node. I am using Puppet 3.4 on the puppet master and agent servers. I am using Ubuntu on AWS. Here is the ...
-1
votes
1answer
45 views

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

Puppet-Dashboard Doesn't Load With Ruby Gem Passenger 5

Has anyone encountered problem of running Puppet Dashboard on Ruby Passenger 5? If yes does it really work with that Passenger version? I've already setup and configured the necessary files required ...
0
votes
1answer
26 views

Recovering puppet config

Anyone know if you can recover puppet configuration from a host running an agent? We've found the reformatted yaml file that applied to the host, but not the actual puppet code. With CFengine the ...
-1
votes
0answers
35 views

Puppet agent Error

I am getting following error when I run agent for the first time, puppet agent -t info: Creating a new SSL key for 743108061500.default.php.puppet.stratos.com info: Creating a new SSL certificate ...
1
vote
2answers
45 views

Puppet Master: Multiple agents with same hostname

I'd like to use Puppet master to configure multiple development VMs with Vagrant: eg: vagrant creates a new box and provisions it using Puppet agent. However, some testing seems to show that Puppet ...
3
votes
1answer
64 views

any sense in having multiple, distinct puppet masters?

I am wondering is whether it makes sense to have a single machine connect to multiple, distinct Puppetmaster instances. My use case is that i have different privilege level I want to grant to server ...
3
votes
1answer
47 views

What's a good load balancer check for puppet master

We are running a couple of Puppet Master version 3.7 (Not PE) on AWS EC2 instances behind an Elastic Load Balancer (mainly for high availability). Currently the load balancer's check is just TCP ...
1
vote
1answer
39 views

How do I get puppet master to listen on IPv6?

So I have a RHEL 7 server on an internal network with IPv6, and I am able to SSH into it via IPv6 and it is also serving DNS to other hosts over IPv6. I have noticed that puppet master bind to IPv4 ...
2
votes
1answer
63 views

Puppet: How does hierarchy work if a role is matched?

I'm trying to understand how does Puppet hierarchy works. My Puppet server's hiera.yaml looks like so: [root@puppet puppet]# cat hiera.yaml :backends: - yaml :yaml: :datadir: ...
-2
votes
1answer
39 views

How to implement iptables using Puppet

i would like to implement these rules below in puppet from puppet master to clients Could anyone help me to get the script for this iptables rules, and in which file we want to have this below ...
0
votes
2answers
119 views

puppet master on CentOS 7 - Gone after reboot

I deployed a Puppet Master and Puppet Agent on two different CentOS machines. They both used to communicate via ssl but upon restart of Master server, things are gone. Httpd's conf.d contains ...
2
votes
1answer
58 views

how to open port 80 on box managed with Puppet

I have a puppet master virtual machine that manages almost 20 nodes. I have Nagios installed on one of these nodes and in order for the Nagios GUI to work I would need to stop the iptables on that ...
-3
votes
1answer
35 views

PUPPET: Where could be the templatedir if its not in puppet.conf?

I want to remove templatedir from the puppet conf so that there won't be a deprecation error. But its not under puppet.conf or anywhere else I guess. I've grepped for that line almost everywhere..
0
votes
1answer
601 views

Puppet: How to fix “Invalid resource type file_line”?

I have a freshly installed Puppet server with only one module configured and one managed client. This is a MOTD module and looks like so: class motd { file { "/etc/custom_motd.sh": path ...
1
vote
1answer
99 views

Puppet module not run on agents while this has been defined in Hiera on the Puppetmaster

Once I've installed Puppet, Foreman, Hiera and Facter, how do I get them all to work with one another? The Foreman GUI is operating properly and can be viewed using a browser. Hiera is installed, and ...
0
votes
0answers
16 views

Puppet Agent exiting after Caching certificate for ca [duplicate]

Puppet agent exiting after "Caching certificate for ca". Nothing useful found in --debug also. root@mgt1:/var/lib/puppet# puppet agent --no-daemonize --onetime --verbose Info: Creating a new SSL ...
1
vote
0answers
140 views

Puppet Master doesn't get certificate request from agent

I have a puppetmaster server and four puppet agent clients. Here I'm attaching my puppet.conf files and hosts in all node. When I call 'puppet cert list' it returns nothing. But, when called with ...
0
votes
2answers
40 views

puppet revoke all certs requests waiting on master

I would like to know if there is a way to revoke some cert requests that came to my puppet master e.g $ sudo puppet cert --list "(none)" (SHA256) ...
0
votes
1answer
61 views

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 ...
1
vote
2answers
564 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 ...
2
votes
2answers
209 views

Puppet master (3.6.2) error on signing puppet client (2.7.25)

I was hoping someone might have an answer for this: While upgrading overall from Centos6 to Centos7 I'm handling the upgrade for puppet's version. Our new puppet server's version is 3.6.2 and I'd ...
1
vote
1answer
72 views

Changes on Puppetmaster not always immediately recognized by Puppet-agents

Introduction It occurs a number of times a day that changes on the Puppetmaster are not recognized immediately by the Puppet agents. If this is the case Puppet needs to be run more than 5 times (e.g. ...
1
vote
1answer
156 views

Unable to enable Future Parser in puppet.conf

Steps to reproduce Enable future parser as described in this documentation /etc/puppet/puppet.conf [main] parser = future Add lambda code to a pp file site.pp $systems = [ 'system01', ...
5
votes
1answer
3k views

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. On the ...
0
votes
1answer
201 views

Puppet Master attempts to resolve agent hostname

Running puppet agent -t from a non-dns resolvable client dumps out the following from a puppet master running in verbose mode: Error: Could not resolve 10.110.x.xx: no name for 10.110.x.xx (Where ...
1
vote
1answer
859 views

Puppet Dashboard giving “The environment must be purely alphanumeric” error under Passenger

Please refer to this gist for the puppetmaster.conf and dashboard-vhost.conf files. I have my Puppetmaster (3.7.3) running on CentOS 6.5 under Apache and Passenger on port TCP/8140. It works fine. ...
1
vote
1answer
344 views

Order of resource/class execution in puppet manifest file

I working on configuring CQ5 on vagrant managed virtual machine. The provisioning is done using puppet. I have query regards to the order of execution of classes/resources in puppet manifest file. ...
0
votes
1answer
496 views

Duplicate declaration: Exec[] is already declared in defined type

Please help me with solution to a problem I was facing , I am trying to install adobe CQ5(author/publish modes) using puppet script. I have defined instance.pp as defined type and passing ( ...
0
votes
0answers
465 views

Foreman can't import Puppet Environments

I'm running Foreman 1.7 with puppet 3.4.3. I've configured my environments using this: ...
-1
votes
1answer
220 views

puppet enterprise installation error

I am using puppet-enterprise-3.3.2-el-6-x86_64.tar.gz to install puppet enterprise, after installation I got ERROR: Could not install required packages--this may be due to a network failure or ...
0
votes
1answer
49 views

Puppet agent cannot find environment

Puppet master can find the environment, [user@puppetmaster]$ sudo puppet agent --configprint modulepath /etc/puppet/environments/development/modules:/etc/puppet/modules:/usr/share/puppet/modules ...
0
votes
1answer
90 views

Generate foreman-installer-answers.yaml

Is there a way to generate a foreman-installer-answers.yaml file from a current setup? After initially installing Foreman I changed a couple of things in the web interface and also used ...
1
vote
0answers
80 views

Why would Puppet revoke a client's certificate?

We started getting an error from one of the Puppet-agents: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read finished A: sslv3 alert certificate revoked Indeed, according to ...
0
votes
2answers
129 views

Halt the puppet master while Exec is running a script

I am fairly new to puppet and thinking if there is a way to apply a resource only after the command initiated by Exec completes it's job. My requirement is that I should schedule a backup job only ...
4
votes
1answer
92 views

Missing Puppet.conf

I'm configuring a puppet master server for the first time. I've completed the Pre-install Tasks I'm now working on the post-install tasks The Puppet documentation indicates that before starting ...
0
votes
2answers
204 views

how to check physical disk in puppet

I have below linux script cre_disk=$(ls /dev/sd[b-z]) for disk in $cre_isk do pvcreate $i done My understanding from the above code is, it is checking the sdb,sdc..sdz disk file. if it exist, then ...
0
votes
0answers
25 views

How to kick off puppet jobs via http api

Good day, I'm trying to figure out how I would go about telling Puppet (master?) to spin up a new VM and provision it with the specified settings. Basically, I have a form that a user fills out and ...
1
vote
1answer
162 views

Puppet: Unable to add physical volume

I want to create a physical volume in Puppet. Below is my code class lvm::crelvm { physical_volume { '/dev/sdb2': ensure => present } volume_group { 'vg_cas': ensure => present, ...
1
vote
2answers
32 views

multiple array in def

I have two file class hadoopfile::file { $diskname = [aaa,bbb,ccc,ddd,eee,'] $filename = [02,03,04,05,06] hadoopfile::diskcreate_def { '$diskname:','$filename:' } #hadoopfile::diskcreate_def { ...
0
votes
1answer
73 views

How to seperate the CA server from Master (basic setup)?

I followed Centralize the Certificate Authority guide to seperate my ca from the master however I'm running into trouble. My Setup Hosts file I have the following in the /etc/hosts file on all ...
0
votes
1answer
99 views

future parser error in puppet

I have below code class dummy::eachtest{ $filename = [1,2,3] each($filename) |$value| { file {'/etc/dummy/manifests/${value}': ensure => 'directory', } } I got below error when I compile ...
6
votes
2answers
268 views

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", ...
5
votes
2answers
241 views

Puppet: Can't manually generate cert and issue cert request over API

I've spent far too much time trying to figure this out now, and I could really need a pointer. The tl;dr is that I need to manually generate a certificate on one node, and then issue a certificate ...
0
votes
1answer
574 views

Use puppet to change the IP address on the nodes

I have 3 CentOS nodes. Each of them has 2 IP addresses: 10.0.1.* (eth0) and 192.168.1.* (eth1). All of them have puppet installed and there is a master puppet server for managing configuration in ...
1
vote
1answer
253 views

puppet server hostname does not match certificate - can't authenticate.

I know this question has been asked before in many different variant. I read all the post related to the problem but I cannot get agent and master talking to each other. I boot up 2 vm via vmwork ...
2
votes
2answers
1k views

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

Creating a self-governing puppetmaster (puppetlabs)

I am working on my first puppetlabs puppet installation. I have a question concerning the overall setup. Is the puppetmaster able to govern it's own server as it governs its puppet agents? Is there ...