Questions tagged [puppetmaster]

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.

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.

277 questions
1
vote
2 answers

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 master assigns certificates per hostname, therefore…
BnMcG
  • 500
  • 2
  • 5
  • 12
1
vote
1 answer

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 only: $ netstat -n -l | grep 8140 tcp 0 …
Machoke
  • 115
  • 8
1
vote
2 answers

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 => '/etc/custom_motd.sh', ensure => present, …
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
1
vote
1 answer

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 by guides I read on the internet it seems like…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
1
vote
2 answers

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 --all flags it returns the certificate of its own. I…
Fasna
  • 135
  • 1
  • 5
1
vote
1 answer

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. X<5min) before the changes are recognized.…
030
  • 5,901
  • 13
  • 68
  • 110
1
vote
1 answer

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', 'system02', 'system03', 'system04', 'system05', …
030
  • 5,901
  • 13
  • 68
  • 110
1
vote
1 answer

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 10.110.x.xx is the ip of my puppet agent…
Dan O'Boyle
  • 237
  • 3
  • 10
1
vote
1 answer

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. But my Puppet dashboard, also running under…
user65237
1
vote
1 answer

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. Please find below manifest file cqsite.pp include…
Kiran
  • 123
  • 2
  • 5
1
vote
1 answer

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, physical_volumes => '/dev/sdb2', } } But I…
Olive
  • 25
  • 2
  • 5
1
vote
2 answers

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 { $filename: } } define…
Olive
  • 25
  • 2
  • 5
1
vote
1 answer

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 these servers. All the servers interact with puppet…
Krishna Kumar R
  • 193
  • 1
  • 2
  • 6
1
vote
1 answer

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 station both running on linuxmint 17. I'll start this…
1
vote
1 answer

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 can specify and 'pull' a specific version of the…
Sleeper Smith
  • 523
  • 1
  • 4
  • 11