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

learn more… | top users | synonyms

2
votes
1answer
51 views

How to secure configuration management server

There are many configuration management software options nowadays (Chef, Puppet, CFEngine, Ansible...) which offer an architecture with their repository on a central server and clients communicating ...
1
vote
0answers
27 views

How to maintain empty directories recursively via Puppet

We have a puppet module which contains s class which creates a bunch of directories on a Linux filesystem: class dim_dcm::dirstruct::workflow () { file { "/opt/dirstruct/etc": ensure => '...
0
votes
1answer
48 views

PostgreSQL 9.5 via puppet module fails to install on Ubuntu Trusty

Attempting to use Puppet to install PostgreSQL 9.5 on an Ubuntu Trusty, using all the documentation I could find, with the following simple class structure: class { 'postgresql::globals': ...
0
votes
1answer
31 views

Node.js module won't reinstall using puppet / vagrant

Previously I had a similar configuration to this working but as soon as I added hiera to my puppet build I started having problems. The error I currently have after running vagrant provision is as ...
1
vote
0answers
73 views

Periodical changes in Remote Host Identification (SSH) on CentOS 6

I have this following error when I tried to connect using SSH: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@...
0
votes
1answer
14 views

Puppet class not found because of metadata.json

I just want to add my experience here. So I had this module, let's call it test for now with this directory structure : /etc/puppet |- modules |- test | |- manifests ...
1
vote
0answers
60 views

Getting puppetlabs-apt module apt::ppa working in puppet hiera

I'm using the puppetlabs-apt forge module together with hiera in puppet 3.8.5. Adding apt::sources works: apt::sources: 'ubuntu': location: 'http://server.com/ubuntu' release: "%{::...
0
votes
1answer
21 views

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

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

What replaces 'inherits' in Puppet?

The way I've done things with puppet is always to have a node specific file and a default file (or really one default per platform type). So each site would have: node "linux" { ... } node "...
0
votes
1answer
37 views

Why is apache installing when PHP module included?

I am using Debian 7.x This is such odd behavior I am invoking puppet through vagrant provisioner I am using puppetlabs/debian-7.8-64-puppet as the base image Why is Apache loading even though ...
0
votes
0answers
22 views

Unable to use config.pp in puppetserver 2.3.1(master) and puppet 4.x(client)

1 I am following this guide. So bascially in my manifests directory I have everything in here. When I run puppet agent -t in the client. I got the following error. error: Could not retrieve catalog ...
0
votes
1answer
51 views

refreshonly not working with Puppet exec resource

I am using the following user resource to create a unix user and then set an initial password for the user. I then performed an exec with chage command to force the user to change his password after ...
0
votes
1answer
224 views

Puppet: Error 400 on SERVER: Permission denied

I would like to use DOCSF-module (from github). If I try to use it I'm getting this result: Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': Error ...
2
votes
1answer
22 views

Puppet run command on master

I am trying to create a letsencrypt module in Puppet. Basically, what I am trying to achieve is the following: Adding a new node and importing my module: class { "letsencrypt": url => "example....
1
vote
1answer
35 views

Using Puppet user resource to create mutlple users

I have written the following snippet below using user resource in puppet to create unix users . node 'node2.example.com','node3.example.com'{ user { 'askar': ensure => 'present', ...
0
votes
0answers
88 views

Puppet Certificate Regeneration

Running into trouble with Puppet and cert regen Puppet Master: SUSE Linux Enterprise Server 11 - Puppet Version 2.6.4 Puppet Client: SUSE Linux Enterprise Server 11 - Puppet Version 2.6.18 I was ...
1
vote
2answers
62 views

Puppet: how to add a line to an existing file

Edit: The example below is correct and works perfectly. But for some reason it was not working for me at the first time and then I did vagrant provision and then everything worked perfectly. I am ...
0
votes
1answer
29 views

failing to look up hiera-file value from puppet

I'm in the process of upgrading an old puppet 2.7 installation to puppet 3.8, and I've also been shuffling the location of some of hiera's data. I'm not sure which is to blame here. puppet agent --...
1
vote
0answers
31 views

hiera_hash/hiera_array in foreman?

Is there a way in foreman to have puppet variables appended from parent host groups? Example of desired functionality: AllHosts: ssh_allow[10.1.1.0/32] AllHosts/publicHosts: ssh_allow[71.0.0.0/8] ...
0
votes
1answer
34 views

After change, puppet now runs as the “ubuntu” user, and auditd is freaking out

This is a very strange question and I don't even know how to Google for it, so I'm posting here to see if anyone has encountered this sort of situation before. I have multiple Ubuntu 14.04 systems ...
0
votes
1answer
40 views

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

Vagrant Puppet apply manifest with wrong environment

I use Puppet 3.7 in standard client-server mode, with environments, and using Hiera for data. I use Vagrant to test the Puppet manifests directly from my Puppet repository. I recently started to use ...
1
vote
1answer
47 views

Puppet: Restart service on package update

So you manage a package that should be always at its latest version: package { "openssl": ensure => 'latest', } Is it possible to restart a service if the package version changes?
2
votes
1answer
28 views

Getting puppet to install modules

In my current setup I have a host-up script that takes a freshly provisioned VM in a DC somewhere, issues the couple commands that I need to run puppet apply (make sure hostname is set, that puppet is ...
1
vote
2answers
70 views

How to hide “failed dependencies” logs on puppet

I would like to avoid (or hide at least) "failed dependencies" logs on puppet. I want to deploy files only if exec requirement are true. It's working but puppet shows a lot of err/warning logs : ...
0
votes
1answer
60 views

How to Use Puppet python module in manifest file

I am writing a puppet manifest file to install python and pymongo. This python module is installed on the server, link shown below https://forge.puppetlabs.com/stankevich/python Here is the ...
-2
votes
1answer
47 views

Return yaml value to puppet fact lookup

I'm trying to resolve a YAML value in a module file { '/boot/config.txt' : ensure => present, mode => '0755', content => $::hostname?{ 'serverName1.domain' => template('...
1
vote
2answers
34 views

Passphrase-less ssh keys on a puppet master?

Our puppet code lives on github, so we pull to the puppet master. But our github repository is private. Is standard (best) practice to give the puppet master ssh keys to github without passphrase (...
2
votes
1answer
54 views

Testing a puppet master with vagrant

I'm new to puppet. I read a bunch, managed to write a simple (and probably clumsy) manifest to configure a host together with a similarly simple fabric script to deal with pre-puppet setup. Great, ...
0
votes
1answer
27 views

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

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 ...
0
votes
0answers
23 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
60 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
17 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) puppet://...
1
vote
0answers
71 views

Foreman and puppet notify resource in node report status

We're using Puppet + Foreman to monitor changes in environment by checking custom facts. For example, whenever a custom fact equals 'true' puppet calls the Notify resource with a message sent to the ...
0
votes
0answers
27 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
34 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
64 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
59 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
48 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
77 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 ubuntu....
0
votes
1answer
25 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: ...
1
vote
0answers
54 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 ...
0
votes
1answer
69 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
0answers
22 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
28 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
1answer
11 views

Puppet iterate in template

In .pp file: replication => [ { name => 'local', url => xyz, push => ['refs/heads', 'refs/tags'], }, { name => 'github', url => abc, push => ['refs/...
0
votes
1answer
130 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 - ...