Tagged Questions

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

4
votes
1answer
34 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 ...
1
vote
2answers
44 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 ...
-2
votes
0answers
26 views

check the existing physical diectory [on hold]

I have below linux script $disk=$(ls /dev/sd[b-z]) pvcreate $disk how can I check exsisting physical disk in puppet for pvcreate physical volume (for lvm creation)
0
votes
0answers
12 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
31 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
25 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
24 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
26 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 ...
-1
votes
1answer
27 views

Puppet-dashboard with two CAs

On my company we have two puppet master with a ca on each one. Each puppet master manages its own puppet agents The puppet-dashboard certificat is signed by the first ca, however it gathers repots ...
6
votes
2answers
170 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
84 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
43 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
37 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 ...
0
votes
1answer
136 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
23 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 ...
1
vote
1answer
27 views

Puppet manifest versioning

How does puppet manifest versioning work? I can't find any documentation around this area. Most stuff I read so far says to check in to svn and do update on puppet master, but unless a puppet client ...
1
vote
2answers
67 views

What is required to transition a puppet installation to use directory environments?

I am currently running a small puppetmaster + client configuration that is not utilizing Puppet's directory environment feature. My puppet version is 3.6. I have tried the following: On the ...
-7
votes
1answer
79 views

Use puppet to update Yum repository [closed]

I have just started working on puppet and successfully installed the master server and agents. As part of my test, I am of the understanding that Puppet can replicate my configuration to the different ...
0
votes
1answer
59 views

What does r10k provide since Puppet natively supports directory environments?

I'm just starting to read about r10k because I love the fact that it can create dynamic environments based on Git branches. Now, I just read that Puppet can do this without r10k. What does r10k ...
1
vote
1answer
205 views

The Foreman Provisioning Preseed default finish wget erroring

im new to foreman and puppet. I'm not sure what I changed but now my provisioning templates aren't running. Ubuntu installation fails with exit code 8 with the following screen: i found out that ...
0
votes
1answer
183 views

puppet cert list -all: Error: header too long

I tried restarting my puppet master but the error still persists. Also see it from all the puppet agents that try to join. puppet agent --server puppet.example.com --waitforcert 60 --test --verbose ...
3
votes
1answer
73 views

Centos 5 - Using official repository to upgrade manually installed Puppet server

I have Puppet server version 2.6.4 that was manually installed using RPM packages directly (instead of using Yum to fetch packages from a repository). Now I want to upgrade it to the latest version ...
0
votes
1answer
54 views

Puppet master receiving a YAML error after upgrade to 2.7.25-2

Our puppetmaster server was upgraded to the latest available on RHEL6 (puppet-2.7.25-2.el6.noarch). We are now receiving errors such as this on the master: Aug 26 11:36:59 master1 ...
0
votes
1answer
88 views

Audit says nothing to do, yet puppet won't run with SELinux enforcing

I'm determined to get my puppet master running with SELinux set to enforcing. If I make it permissive, it runs fine. I'm on RHEL 7, with systemd, apache2, passenger 4, and puppet 3. I've gone ...
1
vote
1answer
60 views

Puppet Enterprise 3.3 Not Adding Modules to Classes

I am running Amazon Linux with a stock install of Puppet Enterprise 3.3. When I launch the command: puppet module install puppetlabs-ntp As per the puppet labs documentation, it does not show up ...
1
vote
0answers
259 views

Puppet Enterprise 3.3 on RHEL 7 - Error: Could not find terminus console for indirection node

With a fresh install (monolithic) of PE (Puppet Enterprise) 3.3 on RHEL (Redhat Enterprise Linux) 7 I'm currently getting the following error: ... Info: Loading facts in ...
1
vote
1answer
168 views

How can I diagnose and speed up slow Linux puppet sync?

I'm running puppet and it functions okay, but it's taking about 15 minutes on a sync without any changes, and it seems to me that this shouldn't take more than a minute or two. Here are some stats: ...
1
vote
1answer
678 views

puppet-master/foreman “undefined method `[]' for nil:NilClass on node” after update

After updating my puppet-master from 2.7 to 3.6.2 I get the following message when running puppet agent on a node: err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined ...
1
vote
0answers
79 views

Puppet Enterprise and parser=future error. Uninitialized constant Puppet::Pops

When trying to set parser=future on PE I get this error Could not autoload puppet/indirector/node/console: uninitialized constant Puppet::Pops This works using open source puppet 3.6 but not with ...
0
votes
0answers
1k views

PuppetDB: Connection refused

I'm trying to get PuppetDB to run on my puppetmaster machine. The problem is that I always get the following message when doing an agent run: err: Could not retrieve catalog from remote server: Error ...
3
votes
0answers
32 views

advantages of using puppetmaster over git pull [duplicate]

I am currently setting up puppet for a network of around 30 servers in a master / agent setup, but since I am using the open source version of puppet, is there really any advantage of using a ...
1
vote
1answer
25 views

Intelligently handling puppet master unavailable (almost caching)

Is there a good way to set up caching for Puppet, specifically templates? I have a number of modules that would be really, really useful to have available in a DR situation. Proposed Solution I know ...
-5
votes
2answers
53 views

How to Install automatically PE agents in different Nodes?

I am new in Puppet. I am done for installing PE Master. I am done for install and setup Two PE agents. My question is how to automatically install PE Agents in different Nodes or Virtual machines. ...
-1
votes
1answer
63 views

Nested Puppet Resources

Iv recently installed a puppetmaster and im trying to configure a puppet class with a nested resource. eg. class base { user { 'testuser': name => 'test', ensure => ...
2
votes
1answer
2k views

Puppet agent -t results in error: Failed to generate additional resources using 'eval_generate:

This problem occurs intermittently. I first experienced it yesterday, and I simply restarted from scratch and it disappeared but just came back today. I'm running Puppet v2.7.11 on EC2 servers running ...
0
votes
2answers
147 views

Unable to install Puppet Server

I am encountering an error when installing Puppet Server on CentOS6.5. I pulled down the repository for my yum install: rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-5.noarch.rpm After I ...
6
votes
6answers
314 views

Version Controlling 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 ...
1
vote
1answer
381 views

puppet: how to submit command “yum update” to all agents?

I'm new to puppet and trying to create manifest which will request all agents to update all currently installed yum packages. What should be the best way to describe this in manifest?
1
vote
1answer
126 views

Puppet 2.7 Ensure file on client updates when puppet:///file is updated on Master

I have a Perl script that I pushed out to all my Puppet Linux clients. I have since edited my script, module/modulename/files/scripts/a_script script on the Puppet master, but the clients don't get ...
2
votes
1answer
30 views

Puppet master executes a catalog on itself

Can a puppet master execute its catalog on itself? I want to automate some tasks on my master server. The best would be to create a node for the master server and apply the catalog directly. If it's ...
2
votes
1answer
343 views

Different hiera hierarchy per dynamic environment

Is it possible to define a separate hiera.yaml for a given environment? Currently I am using dynamic environments. Each one has it's own hiera data directory, per my hiera.yaml file. :yaml: ...
1
vote
1answer
85 views

How do you upgrade puppet on Apache / passenger on EL6.4?

I have a Scientific Linux 6.4 server running apache / passenger with puppet-server installed. Also installed is Foreman 1.4. When I upgraded my agents to 3.4.2, they started all logging: Using less ...
1
vote
2answers
250 views

Puppet master digest issues

I am running the following setup of Puppet : Puppet master : CentOS 6.4 x86_64 with puppet-server-3.2.1-2.2 and openssl-1.0.0-27.el6_4.2.x86_64 Puppet agent 1 : RedHat AS 4.8 x86 with ...
1
vote
3answers
2k views

Puppet: Trying to configure puppet client for first use but got some problems with certificates

I'm trying to configure my clinet 'Itai-test' to receive puppet settings from the puppet server which is called 'puppetmaster'. On the server I ran: [root@puppetmaster requests]# puppet cert ...
5
votes
3answers
469 views

What is the recommended puppet server directory layout?

I am just setting up a new puppet server and wanted to find out what the best practise directory structure is? Ive had a look around on different forums and on the puppet site and what strikes me is ...
3
votes
1answer
140 views

Puppet reporting without master

I am planning a Puppet infrastructure for about 100-200 servers. This is the design so far: Stash (git) for storing puppet config (not planning on using a master). Hiera to query either yaml, json, ...
1
vote
1answer
372 views

Foreman-Installer change certificate

Looking to install Foreman for a puppet deployment in my environment. I ran foreman-installer with defaults at first and didn't care for the SSL certificates and URLs being server01.example.com I ...
-1
votes
1answer
76 views

New puppet master VM counted towards licenses used, old puppet master node made agent no longer responsive

*Using VSphere Client 5.1 Ubuntu precise VM's with Puppet Enterprise 3.3.1 and PostgreSQL 9.3.1 I am utilizing the same postgresql database to manage a new puppet master and I know that the licenses ...
2
votes
1answer
167 views

When using the puppet node init command, are the parameters to specify in the answers.install file

On puppet-enterprise version 3.3.1, I am attempting to use the puppet node init command on a VMware puppet master node hosted on a VMware VSphere client with VCenter 5.1.0. My puppet master node has ...
3
votes
2answers
66 views

How does active puppet agent handle downed puppetmaster?

Say that a puppet agent is in the middle of a refresh and I stop the puppet master service. Is there any point that it would potentially cause an incomplete or corrupt setup to be pushed out like I ...