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

learn more… | top users | synonyms

1
vote
0answers
27 views

Puppet missing deprecation warnings

I'm running a Puppet 3.4.3 master which I use to provision VMs. I noticed that a lot of deprecation warnings I can see when provisioning locally are missing when using the server as master. (For ...
1
vote
2answers
995 views

Problem getting puppet to sync custom fact

I am having trouble getting puppet to sync a custom fact. I am using puppet version 0.25.4. The fact is inside a module as described in http://docs.reductivelabs.com/guides/plugins_in_modules.html If ...
0
votes
0answers
18 views

Is it possible to install puppet recipe on an existing system manually?

I have a Vagrant/Puppet Box configuration installing ubuntu, PHP, nginx, redis, etc ... I would like to apply same software on my current ubuntu vm with my working enviroment. I could Install the ...
1
vote
0answers
15 views

Permission error when puppet-agent requesting ssl certificate on fedora 23

I recently set up puppet server/agent instances on separate vm both running fedora 23 workstation. When requesting a certificate from agent I get the following error: Error: Could not request ...
0
votes
0answers
12 views

Pluginfacts error while running Puppet

While running puppet on agent i am getting: "Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve information from environment production source(s) ...
4
votes
2answers
1k views

How to update grub with puppet?

I would like to change a line in /etc/default/grub with puppet to this: GRUB_CMDLINE_LINUX="cgroup_enable=memory" I've tried to used augeas which seems to do this magic: exec { "update_grub": ...
0
votes
0answers
12 views

puppet Error 400 could not find class

I am new to puppet but keep getting an error I cannot get passed. Any help would be much appreciated!! Puppet version: 3.8.1 Redhat version: 6.6 I want to install Python version 3.3 (default ...
1
vote
1answer
462 views

Sensu/Uchiwa - No 'checks' listed

I've configured Sensu and Uchiwa using Puppet. I have clients reporting in, and raising events when checks fail. I have checks in my server's /etc/sensu/conf.d/checks/ folder, created by Puppet, for ...
0
votes
0answers
6 views

Puppet and Bacula: Add Client to Director

I'm using netmanagers/puppet-bacula to deploy bacula to a backup-system and different clients. Now I'm having some trouble on adding a new client to the director. The clients.d-directory is empty and ...
5
votes
1answer
3k views

Loop through hash in puppet define

I'm passing a hash to a define like so: nodes.pp net::addr { 'routes': ipr => { ipr1 => { address => '192.168.34.38', netmask => '255.255.255.0', ...
0
votes
0answers
16 views

Puppet not recognizing modules installed to directories in its path

When I try to install basic windows modules (new to puppet) they are not recognized when i try to add their classes to a new group. When I list the modules I can see them, when i checked the ...
0
votes
1answer
15 views

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 client: ...
0
votes
1answer
15 views

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 ...
0
votes
0answers
22 views

Using elasticsearch-logstash puppet module

I know this might be a trivial question, but I'm very new to puppet so please bear with me. I have a working puppet master/client setup on two vms. I need to use elasticsearch-logstash puppet module ...
0
votes
2answers
28 views

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 ...
-1
votes
0answers
4 views

Not authorized to call search on /file_metadata/sudo/conf

I tried to include a conf-directory to my puppet-sudo-module. Now I'm getting this error: Error: /Stage[main]/Sudo/File[sudo.dir]: Failed to generate additional resources using ...
12
votes
3answers
702 views

Notified when a file controlled by puppet is going to be changed by yum

Is it possible to receive a notification on the console when a package containing a file that is controlled by puppet is about to change that file? Meaning, in yum when doing yum update, is it ...
1
vote
1answer
330 views

Can Puppet be configured like this?

This entire set-up is in INTRANET. I am working on SuSe Linux Platform (SLES/SLED). Recently there was package which had to be updated because of some problem. So this time we could manually go to ...
4
votes
3answers
11k views

Sample puppet manifests for setting up a web server

Just getting my feet wet with puppet (just reading so far), and was hoping there were some sample (real life) manifests/recipes that setup a typical web server with things like apache/mysql/php etc. ...
-1
votes
1answer
2k views

Error 400 on SERVER: The environment must be purely alphanumeric, not 'puppet-ca'

I would like to share this mistake as i have waste for one day on this. So I think i might be useful for other There is a puppet server setup by my colleague in infrastructure team. They provide me ...
0
votes
1answer
17 views

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: ...
0
votes
1answer
21 views

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

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 ...
0
votes
0answers
11 views

parse_failed error occured in augeas,why this error occur and how to fix this issue?

I want to edit file "myfileDB.properties" using augeas. so used Properties.lns. but it made error "parse_failed"and some time "parse_skel_failed". explain the root cause of this error and solve this ...
0
votes
1answer
10 views

Puppet iterate in template

In .pp file: replication => [ { name => 'local', url => xyz, push => ['refs/heads', 'refs/tags'], }, { name => 'github', url => abc, push => ...
1
vote
3answers
969 views

Puppet client not connection to master - SSL connect Error

I installed the puppet master and agent on the same machine. When the client is started, I got the following error message. puppet agent --server=agent.com --no-daemonize --debug err: Could not ...
1
vote
1answer
11 views

Use defined resource to populate template file

I am working on making our puppet infrastructure more dynamic where I can add any number of nodes and these will automatically be applied in another nodes configuration. An example: I have X number ...
0
votes
1answer
35 views

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

Puppet relationships with nested functions

I use the official Puppet apt module to add this Java launchpad and to install Oracle Java 8. apt::ppa{ 'ppa:webupd8team/java': } package { "oracle-java8-installer": ensure => ...
2
votes
2answers
31 views

In Puppet, what is the difference between 'include' and 'class'?

I can either write include '::ntp' or I can write class { '::ntp':} What is the difference between them, or do I need both?
0
votes
1answer
17 views

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

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 ...
1
vote
2answers
9 views

How to puppetize gem install specific to puppet's ruby?

The Puppet Azure module requires specific gems to be installed. The directions https://github.com/puppetlabs/puppetlabs-azure show the following example: /opt/puppetlabs/puppet/bin/gem install azure ...
6
votes
2answers
2k views

How to manually create Puppet CA and certificates?

I am wondering how to manually (using openssl instead of puppet ca command) create CA that would be usable by Puppet? The goal would be to script creation of such CA's to deploy them on multiple ...
4
votes
3answers
8k views

Can I run a shell built-in command with Puppet?

I want ~/.bashrc will be source whenever changing its content. I created a bashrc class with something like this: file { "/root/.bashrc": ensure => present, owner => root, group ...
2
votes
2answers
39 views

How do I downgrade puppetdbquery?

I'm getting an error on puppet runs which use puppetdb queries: Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error ...
2
votes
1answer
95 views

Puppet, changing multiple properties file with augeas

I'm using puppet and augeas tool quite a lot to configure property files. My latest requirement is to apply the same fixed set of changes to quite a long list of property files. So, I would like to do ...
0
votes
1answer
43 views

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 ...
1
vote
1answer
34 views

Duplicate host records in Foreman when VM is created by Foreman in OpenStack

I managed to connect Foreman and OpenStack, so that I can create VMs in OpenStack using Foreman web interface. I am using cloud-init, or how Foreman calls it, user data provisioning template in order ...
0
votes
0answers
36 views

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 ...
1
vote
3answers
52 views

Deploying SSH-configuration via Puppet: Execution of '/etc/init.d/ssh start' returned 1:

I'm deploying a ssh-default-config via Puppet to my servers. This works fine in most cases. But now I tried to deploy it to an OpenVZ system which was freshly upgraded from Debian 7 to 8. Now I ...
1
vote
1answer
26 views

Puppet remove log if all goes fine

Is there a way to remove the log file generated Puppet while executing if it returns an exit code of 0 (all ok and no changes applied) or 2 (all ok and some changes applied)? The use case is since I ...
1
vote
2answers
1k views

What is required to transition a puppet installation to use directory environments?

I am currently running a small puppetmaster + client configuration that is not utilizing Puppet's directory environment feature. My puppet version is 3.6. I have tried the following: On the ...
0
votes
1answer
2k views

How to add a puppet module to Gepetto, when using git?

I followed some "best practices" from Puppet 2.7 Cookbook and created agent - puppet master framework, with git cvs. Unfortunately, the book doesn't cover Gepetto, so I am forced to improvise that ...
3
votes
3answers
1k views

Puppet doesnt sign certs

I have build an testlap for puppet, but it doesnt work. I start the Puppet Agent on the Node and he waits for the Certificate. root:~# puppet agent --server xxxx --waitforcert 60 --test warning: ...
0
votes
1answer
28 views

Invalid resource type in puppet

I am having the following issue: Invalid resource type msql::db at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/db.pp:6 My manifest (db.pp) is: include mysql::server msql::db ...
2
votes
1answer
41 views

Puppet: Node “default”-content is not pushed to all nodes

maybe I do not understand it correctly: I would like to define some tasks via puppet that are applied on all connected hosts. This is my site.pp: node default { ## Add default user ## user ...
0
votes
0answers
20 views

Use puppet to deploy bareos/bacula to server and clients

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. To do this I'm using netmanagers/bareos. I'm using this profile to install bareos ...
1
vote
2answers
28 views

Puppet: Could not retrieve information from environment production

I followed the video tutorial at https://www.youtube.com/watch?v=Lm6wsc8FjC8 to get a basic example of using puppet to deploy sshd_config to different hosts. This is my "module": ssh_config/ |-- ...
0
votes
0answers
16 views

How many nodes does Puppet Open source and Puppet Enterprise Support [duplicate]

How many Client nodes does Puppet Open source and Puppet Enterprise Support I mean How many can we connect to the Puppet Server