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.

learn more… | top users | synonyms

1
vote
1answer
35 views

File Copy failing using Puppet File resource

I am trying to copy files using file resource . My code is as follows: node 'Node-002' { file { "/root/helloworld.txt": ensure => file, owner => "root", group => "root", mode => "...
0
votes
1answer
17 views

Migrating Puppet Code to Puppet 4: Issue with Classes

We are migrating our Puppet Code from 3.5.7 to 4.5.2 While applying manifests I am getting following error Error: Failed to apply catalog: Parameter unless failed on Exec[sh /home/agile/...
0
votes
1answer
12 views

Puppet failed to copy exec catalog

Seeing the following error in Puppet 4 # /opt/puppetlabs/bin/puppet agent --verbose --no-daemonize --onetime Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: ...
1
vote
2answers
20 views

How to identify which Puppet master was used in an agent run?

I'm currently running multiple load-balanced masters and need to debug some differences between them. Is there a good way to include the hostname or some other ID of the puppet master in the agent ...
1
vote
1answer
17 views

Different manifest location on Puppet Server/Agent

My Puppet Server Environment setting is as follows [master] vardir = /opt/puppetlabs/server/data/puppetserver logdir = /data/log/puppetlabs/puppetserver rundir = /var/run/puppetlabs/puppetserver ...
0
votes
0answers
21 views

Disabling a particular environment in Puppet

We are using a shared puppet+mcollective setup to manage our deployments in both our DEV and QA environments. We are mco puppet runonce for doing the deployment with proper working manifests being ...
1
vote
1answer
22 views

Creating new environments in Puppet Server

We are using a shared Puppet Server to manage both QA and DEV environments . The default configurations Puppet Server uses is Production environment # puppet master --configprint all | grep ...
1
vote
1answer
34 views

Puppet Server not applying manifests

I did a Puppet/MCollective setup using four nodes. # mco ping Node-010.test.com time=107.58 ms Node-003.test.com time=110.68 ms Node-009.test.com ...
1
vote
0answers
8 views

mcp puppet runonce not executing manifests

I am using mcollective with puppet . The setup is successful . But when I apply manifests , the manifests is not getting executed . My manifests is as follows: node default{ } node 'Node-009....
0
votes
1answer
20 views

puppet4 .erb nilClass on .each

erb $names = ['foo','boo','wee','haa'] <% @names.each do |name| %> Hello <%= name %> he is here <% end %> config.pp file {'/tmp/tester': ensure=>'present', content=&...
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
1answer
244 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 ...
0
votes
0answers
45 views

Puppet Server throwing load module error on `/etc/init.d/puppetserver start`

Getting the following error one a clean yum install of puppet LoadError: no such file to load -- jar-dependencies require at org/jruby/RubyKernel.java:1072 (root) at <...
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
55 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
0answers
9 views

Puppet agent , empty data set message

I am getting the following message when i run puppet agent -t on the client. Fact file /etc/facter/facts.d/roger_update_time.rb was parsed but returned an empty data set What could be the problem?
0
votes
0answers
16 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
36 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
67 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
0answers
16 views

Puppet: Client is not connected to master - cert sign request does not appear

at the moment I'm having trouble with a new host that should be connected to the puppet-master. The cert-sign request does not appear: [root@puppet sudoers.d]# puppet cert list [root@puppet sudoers....
0
votes
1answer
61 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
1answer
134 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
151 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
146 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 ...
0
votes
1answer
116 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
0answers
55 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 ...
2
votes
1answer
62 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 ...
1
vote
2answers
75 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/ |-- ...
2
votes
2answers
121 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 ...
0
votes
2answers
37 views

More that one Puppet agent stopped connecting to the Master

Puppet Master version 3.7.1 Puppet Agent version 0.25.4 Hi there Guys, I'm still in the beginning stages of using puppet running at lease 10 agents. I have written 20 odd modules and all worked fine. ...
0
votes
3answers
425 views

Puppet error : Could not create master.pid

I've configure puppet server and client, when I run puppet master --verbose --no-daemonize on puppet server, I get following message, Notice: Starting Puppet master version 3.8.4 Error: Could not ...
1
vote
2answers
64 views

Using exec with puppet device management?

I'm trying to use puppet's network device management feature to configure Cisco routers. I know its just running ios commands so how can I extend it by having it run my own ios commands? I want to ...
1
vote
1answer
115 views

What services do I have to restart to effect config changes in puppet.conf when using foreman?

I have puppet 3.8.4 installed via the latest foreman installer. I enabled the $facts['fact_name'] hash by putting these lines in my puppet.conf: trusted_node_data = true trusted_server_facts = true ...
0
votes
1answer
361 views

After initial setup cannot sign in to Foreman web console with admin account

Edited post to show how I installed foreman I'm new to ruby and I am trying to install Foreman on CentOS 7. I followed the install guide for my distro to do this: sudo yum -y install epel-release ...
1
vote
0answers
81 views

Puppet enterprise installation Issue in CENTOS

Puppet enterprise Installation issue on CENTOS7(Vmware) While running the monolithic installation i encountered the following issue " "Error: Could not start Service[pe-puppetserver]: Execution of '/...
0
votes
1answer
1k views

Puppet Device unable to get local issuer certificate

I installed puppet 4.3 and centos7 to use Puppet Device to manage Cisco routers. The server hostname is "puppetmaster" (by running hostnamectl puppetmaster) The centos server is running puppet master ...
1
vote
1answer
109 views

Can't run puppet device (Could not request certificate: Could not write to… privatekeydir)

I setup puppet 4.3 on a Centos 7 server. This is a puppet master that is also running puppet agent. I am attempting to setup Puppet Device to configure a router. when I attempt to run puppet device I ...
1
vote
1answer
53 views

Copy folder and its subfolders from puppet master to agent

I'm trying to copy folder /vagrant/scripts and its sub-folders located on puppet master into the agent. I use the following config in the init.pp: file { '/home/vagrant/scripts': ensure => '...
3
votes
2answers
43 views

Is it possible to get puppet to combine recursive and non-recursive changes to a given directory

I am using puppet 3.8.4 on debian. I want to recursively set the owner and group on a set directory, but only set permissions on the directory itself ie. I don't want to chmod anything in the dir only ...
0
votes
0answers
17 views

Puppet master reverts back to older state and installs incorrect config/software

Has any one seen an issue with Puppet where we deployed some new configuration changes in the morning, but much later in the day it looks like the configuration was reverted. At least one package had ...
0
votes
1answer
125 views

AWS - ELB - Puppet - Must not contain unprintable characters

I am setting up a miscellaneous server cluster behind an internal AWS ELB which will serve NTP, centralized Rsyslog, and Puppetmaster. I configured the listener on the ELB to use https (8140) which ...
1
vote
1answer
64 views

Puppet agent apply default configuration but doesn't apply node configuration

Puppet master version: 3.3.1 Puppet agent version: 3.3.1 Content of site.pp import '*/*.pp' node default { include 'auth' } In the folder where site.pp is located there is folder called '...
-1
votes
1answer
133 views

runinterval not working for Puppet Agents

I am running puppet agents on windows. I am trying to change the interval of Puppet Agent check-in with the Server. on puppet master, i modified puppet.conf file and added runinterval = 5m under ...
1
vote
1answer
118 views

Puppet - Custom Function - Statement - Error - “Must be the value of a statement…”

Seems simple enough... # /path/to/puppet/modules/custom/lib/puppet/parser/functions module Puppet::Parser::Functions newfunction(:release_check) do |args| raise(Puppet::ParseError, "...
0
votes
2answers
54 views

Puppet agent fails to find test module

I'm setting up a puppet master and agent. They are running on the same host, as I want puppet to manage this host, too. The agent fails to find the convenient test module that the package provides. ...
1
vote
0answers
28 views

Debugging Puppet File Server

I'm attempting to retrieve a file from puppet using the following: file { '/etc/shibboleth/attribute-map.xml': ensure => 'present', source => file( "puppet:///private/etc/shibboleth/...
1
vote
2answers
848 views

Check directory before creating file in puppet?

I'm trying to make a function which directory/file will be created only when the first directory exists, of not it must be skipped because of failed dependence. I've tried this "onlyif" workaround, ...
1
vote
1answer
43 views

puppet ignoring configuration

I've set up a puppet (3.7.2) master server on a Debian 8 Jessie box, but somehow the config directives I've written get ignored: [14:24:43|root@puppetmaster:~] cat /etc/puppet/puppet.conf [master] ...
1
vote
2answers
273 views

Puppet HTTP 400 error With Environment Configuration

I have reconfigured my puppet (v3.6.2) server (RHEL 7.1) into supporting environments as shown below. /etc/puppet puppet.conf auth.conf environments ...