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

Puppet file resource not resolving the source attribute

I have started to play with puppet 5 and for some reason the source attribute in the puppet file resource is not working. I have a simple manifest file in my puppet server which is as follows: file {'/tmp/motd': source => '/tmp/motd', } On the…
hypersonics
  • 223
  • 5
  • 10
0
votes
1 answer

Puppet Invalid parameter string on Firewall

Using the Firewall module version 1.9 in puppet 3.8.7, I am getting the following error: Error 400 on SERVER: Invalid parameter string on Firewall Here is my Puppet Firewall rule. firewall { "051 asterisk-set-rate-limit-register": string =>…
markhorrocks
  • 513
  • 3
  • 10
  • 26
0
votes
1 answer

Manifests apply failing: using same hostnames in two different manifests file

have written the following manifests using tidy resource to delete old war files $ cat /home/kar/cleanwars.pp node 'node-010.example.com' { tidy { '/home/kar/temp/': path=> '/home/kar/temp/', age => '1w', recurse…
Zama Ques
  • 523
  • 1
  • 9
  • 24
0
votes
1 answer

Sending more than a file to a puppet client

How I must configure a "init.pp" file for sending more than a file in the same class? What I have done is this: class nagios { file { ['/usr/lib64/nagios/plugins/']: path => '/usr/lib64/nagios/plugins/', …
0
votes
2 answers

Puppet/hiera : generate sereval files from one template

I'm running puppet 4 and I would like to generate several config files from the same template with different configurations for each one. for example : # cat /tmp/a.conf test1 # cat /tmp/b.conf test2 And I need to put all those informations in…
Skullone
  • 195
  • 1
  • 1
  • 11
0
votes
0 answers

How do I add third party puppet modules without committing them to source control?

tl;dr: How do I manage modules for a Puppet Master, like I do using requirements.txt for Python or using Bower for JavaScript? Here's an example. Say I want to install the puppetlabs/firewall module, but I don't want to commit its source to source…
Nathan Basanese
  • 341
  • 2
  • 5
  • 19
0
votes
1 answer

foreman puppet manage 100's of servers without logging in each device

I want to know is there a way to manage hundreds of servers in foreman. Let's say I have 100 machines. In each machine, OS is already installed and ssh is accessible. Now I want to install a particular software through puppet in all these machine…
Kenshin
  • 109
  • 5
0
votes
1 answer

Puppet agent run errors with `Could not run stack level too deep`

I have configured Puppet Server to use an external CA, and generated the necessary keys. My puppet.conf looks like the following: [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /var/log/puppetlabs/puppetserver rundir =…
Metalopholus
  • 1
  • 1
  • 2
0
votes
1 answer

Migrating Puppet Code to Puppet 4: Issue with Classes

We are migrating our Puppet Code from 3.5.7 to 4.5.2 While applying manifests I am getting following error Error: Failed to apply catalog: Parameter unless failed on Exec[sh /home/agile/svncheckout.sh]: 'test -f /home/agile/subversion.done' is not…
Zama Ques
  • 523
  • 1
  • 9
  • 24
0
votes
1 answer

Puppet failed to copy exec catalog

Seeing the following error in Puppet 4 # /opt/puppetlabs/bin/puppet agent --verbose --no-daemonize --onetime Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Caching catalog for…
Zama Ques
  • 523
  • 1
  • 9
  • 24
0
votes
1 answer

puppet4 .erb nilClass on .each

erb $names = ['foo','boo','wee','haa'] <% @names.each do |name| %> Hello <%= name %> he is here <% end %> config.pp file {'/tmp/tester': ensure=>'present', content=>template("test/hello.erb"), } Error when running puppet agent -t …
0
votes
1 answer

Error 400 on server: Could not find class docsf

I try to include the module docsf on my Foreman/Puppet-System. I cloned the git and moved the content to the modules-path /etc/puppet/environments/production/modules. If I assign the module to a host, I'm getting this error: Error: Could not…
MyFault
  • 913
  • 3
  • 15
  • 36
0
votes
1 answer

Recurring Ansible Tasks

I've been familiarizing myself with Ansible and Puppet for use as a provisioning and configuration management tool. I may not be misunderstanding something about the way Anisble is used, but the only way I see for Ansible to ensure a consistent…
Utegrad
  • 145
  • 1
  • 2
  • 8
0
votes
1 answer

Foreman/Puppet: Cert request is signed but host does not appear

at the moment I'm having a problem adding hosts to foreman. I added a client installing puppet from repo (according to the documentation of puppet) and configuring it. The puppet.conf of a…
MyFault
  • 913
  • 3
  • 15
  • 36
0
votes
1 answer

Install apt-dater-host on CentOS-Systems using puppet

I would like to install apt-dater-host on Debian and CentOS-based systems using puppet and foreman. On Debian the package is available on the standard repos - but on CentOs this is not the case - I used RPM-search and got the following result. How…
MyFault
  • 913
  • 3
  • 15
  • 36