Questions tagged [puppet]

Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language.

Puppet is a configuration management tool for Unix and Windows. It works either standalone mode (puppet apply) or in client-server mode (puppet agent) with puppet agents running on client systems checking in with the master daemon on the server on a regular basis. Puppet's written in ruby, and puppet source code, i.e. puppet manifests, uses its own domain-specific language that focuses on declaring the system resources and it's intended state.

Combined with system provisioning tools (PXE, kickstart, FAI, etc), puppet can fully automate any software installation and configuration process that doesn't require a GUI interface.

More info:

Related:

1792 questions
0
votes
1 answer

Encrypting properties with "eyaml edit" without a private key?

I would like to use eyaml edit to edit my Puppet/Hiera configuration files. My configuration files are a mixture of encrypted and plain text content. I want to use eyaml edit to encrypt certain properties. So initially my files will contain…
0
votes
1 answer

Cannot run an "initialise" function in Puppet after installing package

OK I have been working on puppet for 12 months, I am deploying a manifest to install the "aide" package, but I cannot see any option to trigger the 'initialise' of aide after install of the package. There is no "notify" function on the "package"…
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

Debugging connection between Puppet and PuppetDB (in seperate containers)

Recently the servers hosting our puppet server went down. After redeploying the containers there seems to be an SSL issue. 2018-01-16T14:36:49.770274413Z Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30
0
votes
0 answers

Puppet manifest for module not running

I'm trying to create a simple module which sets settings based on hiera data. I have the file modules/settings/manifests/init.pp I've tried: class settings { ini_setting { 'set check-in frequency': ensure => present, path =>…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30
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

Collecting exported resource multiple times

Is it possible to use the same exported resource in two different classes? https://puppet.com/docs/puppet/5.2/lang_exported.html#exported-resource-collectors For example, this will exports its own SSH host key and then collect the SSH host key of…
romedawg
  • 1
  • 1
0
votes
0 answers

puppetdb fails to start with no clear error message

Our puppetdb instance failed after a long time running just fine. After restarting the server and trying to start puppetdb using service puppetdb start We are seeing all the normal output of a successful db bootstrap yet the service stays in a not…
Yaron Idan
  • 187
  • 1
  • 6
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
0
votes
1 answer

Puppet apache module removes symlink of documentroot

My documentroot is a symlink. When puppet agent runs, the symlink gets removed. Any ideas? My code: 'qsu.mydomain.de:443': ssl: true port: 443 ssl_key: '/etc/apache2/ssl/qsu.mydomain2.de.key' ssl_cert: …
0
votes
1 answer

dynamic values inside hiera classes

below is my common.yaml file --- classes: - home_setup::falcon_logical_name home_setup::falcon_logical_name::user: 'falcuat' home_setup::falcon_logical_name::group: 'falcgrp' home_setup::falcon_logical_name::env:…
Sam S
  • 21
  • 1
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

What does Puppet indicate with notice "altered - with untracked files"

I receive the following notice from a puppet agent -t run that does (or at least should) not effect any changes: Info: Applying configuration version ' - altered - with untracked files' What is the meaning of the clause altered - with untracked…
rookie09
  • 623
  • 1
  • 6
  • 17
0
votes
1 answer

Puppet how to access files in /etc/puppetlabs/code

I have some files I want to make accessible to all my R10K branches. I put them in the folder which contains my environments folder at /etc/puppetlabs/code: -/etc/puppetlabs/code - environments/ - modules/ - files/ - file I'm trying to…
Philip Kirkbride
  • 279
  • 2
  • 10
  • 30