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

Puppet Duplicate declaration: Class

I'm bit new to puppet, but I'm not sure how this would become a duplicate declaration, can someone please give me some direction whether this is a correct usage of class passing params or not? Error: Duplicate declaration: Class[Jenkins_dotfiles] is…
samxiao
  • 101
  • 3
0
votes
1 answer

How does puppet decide if a node is active? (Changed)

I'm trying to change default behavior in puppet when a Notify resource is applied to a node. Current state (puppet version 3.8) is that whenever the client is applying a simply Notify message, the client will send a report with state "Active". This…
amirb
  • 121
  • 5
0
votes
1 answer

Puppet client source class files

Is it possible to somehow find the source files of the applied Puppet classes of a client? I have access to a server that is managed by Puppet and would like to take a peek inside the source class files to learn from them. I already managed to get a…
EsTeGe
  • 271
  • 1
  • 5
  • 14
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
0
votes
2 answers

Can't create certificate for puppet agent

I'm trying to run both puppetmaster and agent on an Ubuntu Mate 15.10 vm. My /etc/hosts contains the following relevant entries 127.0.0.1 localhost 127.0.1.1 ubuntu 127.0.1.1 ubuntu.localdomain My /etc/puppet/puppet.conf contains the…
Bitswazsky
  • 121
  • 1
  • 6
0
votes
1 answer

override value in puppet user account module

I've got a puppet module that creates user accounts on linux machines. I'm trying to override a couple settings in my config for the user's shell and home directory. And I'm getting this error: Error: Could not retrieve catalog from remote server:…
0
votes
1 answer

Puppet agent error

I am getting this error message when i am tryin to ryn puppet agent --test on my graylog server(centos 7), I am pretty sure it is super simple to fix but I do't know how? Warning: The package type's allow_virtual parameter will be changing its…
0
votes
1 answer

Update Puppet agents with last manifests changes automatically

I have a Puppet server with 10 agents on CentOS 6.6. To update agents with last manifests changes I use this command on agents: puppet agent --no-daemonize --onetime --verbose So when I make a change in puppet server I need to access all agents and…
antiks
  • 223
  • 3
  • 8
0
votes
1 answer

Puppet iterate in template

In .pp file: replication => [ { name => 'local', url => xyz, push => ['refs/heads', 'refs/tags'], }, { name => 'github', url => abc, push => ['refs/heads', 'refs/tags'], }, ] How to define template to output the…
user1536782
  • 71
  • 1
  • 2
0
votes
1 answer

Foreman/Puppet: Add User to sudoers with a module

I would like to improve my skills in Foreman and Puppet. To do so I would like to get some easy tasks done. In my configuration all servers belonging to host group "Basic" should get a basic setup - including adding a new user and adding this to the…
MyFault
  • 913
  • 3
  • 15
  • 36
0
votes
1 answer

Puppet/Foreman - Hostgroups and classes

I successfully set up foreman and puppet. Now I'm trying to configure host groups which should contain a specific configuration. My example: Host group "Basic" should get a special MOTD. I installed a MOTD-module for puppet: puppet module install…
MyFault
  • 913
  • 3
  • 15
  • 36
0
votes
2 answers

Puppet and The Foreman: Can not import classes

I followed the Digitalocean-Tutorial to set up Puppet and The Foreman. At the moment I'm on the point Add NTP Module To Foreman - I would love to import the class to the foreman Click on the Import from foreman.nyc2.example.com button But the…
MyFault
  • 913
  • 3
  • 15
  • 36
0
votes
1 answer

Use puppet to deploy bareos (bacula-fork) to my nodes

I'm not sure if this is the right place to ask, but I would really love to use puppet to deploy bareos on my servers. Bareos is a fork of Bacula and is used for backing up remote systems. To do that bareos uses a server-instance and different…
MyFault
  • 913
  • 3
  • 15
  • 36
0
votes
1 answer

Puppet fails on icinga2 using puppet-icinga2 module

I am trying to bring up a box for icinga2 using vagrant and I am using puppet-icinga2 from https://github.com/Icinga/puppet-icinga2/tree/v0.6.2 so I have a role as shown below class role::icinga2_server { class { 'postgresql::server': …
PoX
  • 258
  • 2
  • 11