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

Do I need to remove the 'include module' that already installed by Puppet?

I am very new to Puppet. I just write a code to install software via puppet node 'myweb.com' { include ntp include apache apache::vhost { 'myweb.com': port =>8080, docroot => '/var/www/myweb.com', ssl => false, …
bayou
  • 33
  • 3
1
vote
1 answer

Unable to start puppetmaster on CentOS 6

I installed puppet 2.6.12 on CentOS 6. When I try to start the puppetmaster service using the command service puppetmaster start I get the error: Starting puppetmaster: /usr/lib/ruby/site_ruby/1.8/puppet/indirector/ssl_file.rb:142:in open:…
jimcgh
  • 123
  • 1
  • 4
1
vote
2 answers

Puppet; pushing manifests to nodes without restarting puppetmasterd?

After I update a manifest for a node; does puppetmaster automatically send the configuration to the node? If it does what is the interval and how do I change it? Where can I find more information about this? I assume it's the runinterval for…
user101130
1
vote
1 answer

Puppet manifest configuration for docker image verification

I’m quite new to devops/ci/cd, so bear with me. Currently, I’m getting a puppet manifest configuration set up for docker image verification. Let me try to layout it out: I have a puppet master server with the following configuration: Puppetmaster…
1
vote
1 answer

puppet agent not able to connect to master

on master: puppetserver ca list Traceback (most recent call last): 9: from /opt/puppetlabs/server/apps/puppetserver/cli/apps/ca:5:in '
' 8: from…
Uday Kiran Reddy
  • 119
  • 1
  • 4
  • 14
0
votes
2 answers

How to use custom facts with rspec Puppet

Is there a way I can use a custom fact while using rspec? My module works fine and the custom fact exists and works as intended when I do a puppet run on my agent, but when I try to use the same fact in rspec I get the following…
AndreasKralj
  • 331
  • 1
  • 6
  • 16
0
votes
1 answer

Workaround to no `puppet module generate`?

Is there a way to continue using puppet module generate? I'm using Puppet version 4.10 and earlier I was able to make one without issue, but today when I tried to make one I got the following error: Error: This action has been replaced by Puppet…
AndreasKralj
  • 331
  • 1
  • 6
  • 16
0
votes
2 answers

Puppet - how to use different file source

I create configuration in Puppet for Nagios agent (NRPE). Now I'm trying to set different file source depending on existence of dirs.First I check if specific directory exists and then set specific file conntent. My current config files looks…
0
votes
1 answer

Puppet installation error

I am trying to install puppet enterprise for the first time, and following this documentation: https://puppet.com/docs/pe/2019.0/installing_pe.html I have downloaded the file and executed it locally in what is going to be the master server (Ubuntu…
0
votes
1 answer

Puppet 6: PuppetDB won't start because of clojure/java errors

I've searched far and wide, and I just simply can't get it to work. I've searched everything I could find which contained "puppetdb", but without success. I have followed the documentation, and I started writing a quick step to step guide for our…
0
votes
1 answer

Puppet - importing a locally written (non-installed) module's functions

Say I have two locally extant modules that don't exist on Forge or in a custom Forge-like repo. These repos will never be installed via command line as they are part of a bigger deployment that cannot use the Forge-like installation commands - they…
AndrewL
  • 191
  • 4
0
votes
1 answer

puppet syntax multiple node includes different roles

Is it possible to set multiple nodes to includes different roles? Like this node_modules.pp: node 'puppet-appserver.dev' { include role::app_server } node 'puppet-dbserver.dev' { include role::db_server }
johnsnow
  • 171
  • 1
  • 4
0
votes
1 answer

Error on Puppet Enterprise text mode install - pe.conf contains errors

I started puppet enterprise installation on CentOS image and it worked fine with guided install. Now, I am trying with text mode install with similar CentOS image and I get error to check pe.conf file. # ./puppet-enterprise-installer -c…
anuj tyagi
  • 111
  • 3
0
votes
1 answer

Puppet Master Could not request certificate Permission Denied

I have been all over the internet and tried different fixes to which none have worked. Issue: When setting up a new agent to connect to the Puppet Master I run: sudo /opt/puppetlabs/bin/puppet agent --test The output of this command is (with…
scalderoni
  • 3
  • 1
  • 4
0
votes
0 answers

Puppet Master not pulling changes to agents

I have added following code in site.pp node default { file {'/etc/motd': ensure => present, content => "Motd Updated.\n", } } But when running following command in one agent it is not updating all agents or nodes. puppet agent -t Can some one…
Tom
  • 141
  • 10