Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [puppet]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

Puppetserver unable to retrieve facts from nodes

When I perform puppet lookup fqdn --node <AGENT-CERT-NAME> --explain, I get the following error: Error: Could not run: No facts available for target node: agent.foo.lan My puppet agent already ...
cd4user's user avatar
0 votes
0 answers
33 views

How to change the URL for Web UI Foreman?

Hi Can I change the url link for the web UI interface? I am using Foreman 3.9 versions. I try to change url with foreman-installer --foreman-url but I get error with ssl-certificate problem. Changing ...
Иван Довгань's user avatar
0 votes
0 answers
23 views

Puppet not pulling in changes - Could not request certificate getaddrinfo: Name or service not known

I hope this is a simple fix and as background I have no experience with Puppet or Foreman. The set up: two puppet master nodes running on ec2 many other ec2 nodes running puppet modules foreman ...
user7692855's user avatar
0 votes
0 answers
154 views

Puppet agent certificate verify failure for new agents, but existing agents work fine (Puppet 7)

I have over 200 hosts presently working correctly against my puppet master (puppet agent -t applies a catalog). However, starting sometime recently I can no longer add new hosts. There have been no ...
Akom's user avatar
  • 291
0 votes
0 answers
68 views

Unable to autosign certificates for Puppet

I have a new Puppet server set up and am unable to currently get autosigning of certificates to work. I've followed the setup instructions on https://www.puppet.com/docs/puppet/7/config_file_autosign ...
Joseph Quinn's user avatar
0 votes
1 answer
72 views

Need help managing per-machine per-user sudo permissions in a research network environment using saz-sudo and Hiera with Puppet

Currently our Puppet server has an /etc/sudoers file defined with the permissions for every user on every machine in our network. This file is distributed equally to every host to provide permissions. ...
Jamie King's user avatar
0 votes
1 answer
157 views

Puppet syntax issue when configuring a Prometheus scrape on an SNMP exporter

Some context I have an SNMP exporter running as a service on a server which allows me to access the data of some PDU using the following URL: http://my.host.name:9116/snmp?target=10.0.1.200&auth=...
Patrick's user avatar
  • 105
0 votes
1 answer
116 views

How to fix puppet installation of ifupdown2 so that networking comes back up (or doesn't go down)?

I have puppet code which automatically installs ifupdown2 on newly provisioned physical servers (along with all other new host configuration). (This is Debian 11 Bullseye.) However, nearly all of the ...
Wildcard's user avatar
  • 182
0 votes
1 answer
127 views

Puppet server can not sign certificate - FileSystemException: Operation not permitted

I have a pending puppet certificate: $ puppetserver ca list Requested Certificates: intern.mydomain.com (SHA256) 3C:82:85:ED:6C:30:54:79:7A:FC:41:00:63:33:E0:52:BE:AA:3B:3F:76:21:73:1E:0B:...
Tibor Nagy's user avatar
0 votes
0 answers
75 views

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Package[ksh] is already declared in file

I have an issue in setting up ksh installation on a module where it fails saying its already declared in another module. can someone assist me on how can I fix this? my code : on a module called ...
Nanaji's user avatar
  • 1
0 votes
0 answers
91 views

puppet 5.5 issue after renewed master certificate

I currently faced issue after renewing Puppet certificate. I did a clean backup of client SSL folder and did a puppet agent ‑t. Can anyone help me? This is the code. [root@pupcltlp0001 AEST /etc/...
Dan Dela Torre's user avatar
0 votes
1 answer
172 views

Puppet install: timeout when retrieving certificate

Trying to install the latest puppet enterprise (2023.0.0) per their guide on an Unbuntu 20.04 VM in Azure. I started with the out-of-the-box pe.conf. Install proceeds for awhile until I get some ...
Chris's user avatar
  • 101
0 votes
0 answers
203 views

Continous delivery using Gitlab, Foreman and Puppet

We are using different tools to orchestrate our environment. On one side, we have Puppet and Foreman to deploy our different server applications, on the other side, we are using Gitlab in order to ...
Alexis Dufrenoy's user avatar
0 votes
2 answers
431 views

Adding users to Unix groups only if said groups exist (puppet)

I tried using the 'group' attribute of the 'user' resource like so : user { "user": group => ["docker", "www-data"] } If the groups 'docker' and 'www-data' exist ...
hamid's user avatar
  • 1
0 votes
1 answer
362 views

how to prevent puppet to override any change you made on the linux server?

i was trying to to change the timedatectl of one server from CST to EST. But everytime i made the change, puppet will override the change and bring it back to where it was after few minuite. How can i ...
felix's user avatar
  • 1
1 vote
1 answer
156 views

How to use puppet-apache mod (v8.3.0) with hiera?

Queston: Using the roles & profiles method, is it possible to use 'puppetlabs-apache', '8.3.0' with a hiera lookup? Context: I am using mod 'puppetlabs-apache', '8.3.0' to configure an apache ...
John-H's user avatar
  • 11
0 votes
1 answer
158 views

Puppet errors with cron resource

I have this in my manifest: class security::sensor_apps::arkime (....) { ...... cron { "file_maintenance": command => "$home/db/db.pl http://secesprd01.its....
Russell Fulton's user avatar
0 votes
1 answer
256 views

puppet 7: Deferred value in File.content impossible?

I'm trying to use a deferred value in puppet 7 (server 7.4.2 and agent 7.14.0) to write a file, like this: file { "/tmp/testfile": ensure => 'present', content => Deferred(&...
Christian's user avatar
  • 111
0 votes
0 answers
129 views

apt clean apt autoremove

So i would like to remove unwanted files ( /var/cache and old kernels in /boot) to free up some space using puppet script and add this script to puppet master to automatically run once every month. I ...
sameer's user avatar
  • 19
1 vote
1 answer
569 views

Puppet: Issues with Vcsrepo (git) ".... exists and is not the desired repository."

I use puppet/Vcsrepo to distribute and update software to a bunch of linux servers from a Bitbucket(cloud) server. This worked fine for years but about 6 months ago Puppet started complaining about ...
Russell Fulton's user avatar
1 vote
1 answer
328 views

Puppet Vcsrepo (git) : getting error "exists and is not the desired repository."

I am using vcsrepo with git to maintain a bunch of software on ubuntu systems. I use this bit of puppet code in a loop to keep the files up to date vcsrepo { "/usr/local/tools/$repo": ...
Russell Fulton's user avatar
1 vote
1 answer
962 views

How to sign an agent certificate in puppet?

I am using puppet 7.15.0 and when I try to puppet agent -vt, I get the below meesage: Couldn't fetch certificate from CA server; you might still need to sign this agent's certificate (my-vm....
Jananath Banuka's user avatar
1 vote
1 answer
214 views

How to add sticky bits via puppet?

I would like to make sure the files that get added to a certain directory inherits the parent directory's permission and that permission never changes. I guess it's called sticky bit but cannot find a ...
Tina's user avatar
  • 11
0 votes
0 answers
321 views

Puppet: Create user account and use its UID/GID in dependent resource

I would like Puppet to do the following on the host: Ensure a user named myuser exists. I don't want to hardcode the UID as there are several users created this way. Use the UID of myuser in a ...
Koterpillar's user avatar
1 vote
1 answer
331 views

Puppet manifest configuration for docker image verification

I’m quite new to devops/ci/cd, so bear with me. Currently, I’m getting a puppet manifest configuration set up for docker image verification. Let me try to layout it out: I have a puppet master server ...
Jorge Mauricio's user avatar
2 votes
2 answers
236 views

How to implement Continuous Integration with Puppet and multiple services

We're trying to implement a Continuous Integration pipeline in our environment. We have a lot of different services, each with its own Git repository. Deployment is done via Puppet, using an external ...
Shaul Behr's user avatar
2 votes
2 answers
2k views

DNF Enable/Disable in Puppet

I'm trying to get PHP 7.4 installed on my RHEL 8 system with Puppet, but can't get the package declaration right to disable php and enable php:7.4 with dnf. The Puppet Package documentation doesn't ...
user2857108's user avatar
0 votes
1 answer
189 views

Detecting hypervisors in Puppet

Puppet provides a fact vitual which is supposed to show what virtualization method a system is using. We use Redhat 7 and 8 for guest operating systems. We have a lot of physical systems, and also use ...
yakatz's user avatar
  • 1,243
0 votes
1 answer
224 views

Puppet/Augeas -- ins command worked on RH6, fails on RH7

I have this construct in my puppet module to add a line in /etc/sudoers after the last "Defaults" line: augeas { "sudoers.ssh_auth_sock" : lens => "Sudoers.lns", ...
hymie's user avatar
  • 424
0 votes
1 answer
2k views

How to generate certificates for (secondary) compile puppetserver?

I'm trying to scale puppetserver, in order to have redundancy, using round robin DNS. The secondary puppetserver (version 7.4.0) is configured to use the CA authority from primary puppetserver: /etc/...
Tombart's user avatar
  • 2,223
2 votes
1 answer
280 views

How to set value of ipa_hostname directive in sssd.conf using Augeas

Using Puppet versions Master: puppetserver 6.7 Client: puppet-agent 6.10 I have other Augeas code in other modules that works just fine. Example sssd.conf [sssd] services = nss, sudo, pam, ssh ...
Phil's user avatar
  • 151
0 votes
1 answer
1k views

Puppet - can I selectively notify a Service?

I have a Puppet script that handles things differently in different environments based on an if/else block. But I have a bunch of common file resource blocks at the bottom that apply to all ...
bdetweiler's user avatar
1 vote
1 answer
581 views

Puppet 5.5.22, dnfmodule reset

I've been trying to figure out how to convert dnf module reset php dnf module install php:remi-7.4 to a stanza in a puppet module for several hours without any success. Has anyone figured out how to ...
tink's user avatar
  • 1,034
2 votes
0 answers
111 views

Puppet Module File Resource Copy From Network Mount

I'm using RHEL Satellite 6.6 with puppet 5.5.12. I have a module which, among other things, copies a file from a network mapped folder to the local drive, then executes it. When I run the module ...
Derek_6424246's user avatar
1 vote
0 answers
177 views

Issue installing puppet agent on Windows Servers

I'm trying to setup a Puppet dev environment in my datacenter. I've configured the Puppet Master on Cent0S 7 along with two agents, also running RH CentOS 7. The Puppet version I am running on the ...
JoStar's user avatar
  • 11
0 votes
1 answer
304 views

Plan lookup: Could not find class

When running a Puppet plan that uses lookup{} function against Hiera I get the error: The target node: 'computer1.domain.com' errored with a message: Internal Server Error: org.jruby.exceptions....
woter324's user avatar
  • 253
0 votes
0 answers
116 views

Is there a way to communicate information between puppet classes/resources

Is there a way to communicate information between classes/resources? I have a profile that I want to include on all nodes to set them up as being monitored by Icinga which uses an exported resource : ...
Phil's user avatar
  • 3,178
1 vote
1 answer
209 views

Quickly install multiple puppet modules from directory

Is there a way to install multiple puppet modules from a directory in one command? I have a directory containing multiple puppet modules in tar.gz form downloaded from the forge, and I need to install ...
bdrx's user avatar
  • 111
0 votes
1 answer
118 views

Run "puppetserver ca" commands on a remote server

We are running a Puppet Open Source server. To sign and revoke Puppet client certificates we logon to this Puppet server and run puppetserver ca ... commands. We would like to be able to stand-up a ...
user35042's user avatar
  • 2,721
0 votes
1 answer
53 views

Puppet copy and install program on users

Trying to write module to install nomachine on every user how created on ubuntu deskop. I need assist to solve two problem: nbadmin its my user but I woluld like to write genral user second I got ...
HELLBOY's user avatar
0 votes
0 answers
125 views

Using Puppet to configure hypervisor

I am looking to use Puppet to configure a bare-metal host to spawn VMs using Vagrant/VirtualBox, whose configurations will also be managed by Puppet. I think this can be achieved by: Installing ...
Nicolas De Jay's user avatar
1 vote
1 answer
95 views

Are Puppet virtual resources auto-realized if they're auto-required?

It's documented that Puppet will auto-require certain resources, e.g. a (puppet-managed) directory that is a parent of a File resource, or a group resource referenced in a user resource. If an auto-...
Alnitak's user avatar
  • 21.4k
0 votes
1 answer
124 views

dependency loop : to deploy gitlab using awx ansible i need a repository

I want to deploy gitlab using awx and ansible ( or with puppet and rundeck ) and to do it i need a repository ( SCM : gitlab ) , the thing is i want to deploy gitlab but i need a gitlab , i can't find ...
kira1kira's user avatar
0 votes
2 answers
132 views

Using Configuration management tools to synchronize large files

We are looking into using a configuration mangement tool (like Salt or Puppet) to automate what is currently a lot of manual work. One requirement is that we have to distribute rather large files / ...
Leifb's user avatar
  • 115
1 vote
1 answer
3k views

puppet agent not able to connect to master

on master: puppetserver ca list Traceback (most recent call last): 9: from /opt/puppetlabs/server/apps/puppetserver/cli/apps/ca:5:in '<main>' 8: from /opt/puppetlabs/puppet/lib/ruby/vendor_gems/...
Uday Kiran Reddy's user avatar
0 votes
1 answer
132 views

How to manage puppet master and agent connectivity

As it is lab, we can add Ip address of agent to master hosts file.But if I have 1000 agents(partly windows and Linux machines), we can't add each and every agent to hosts file of master.How to manage ...
Uday Kiran Reddy's user avatar
2 votes
0 answers
759 views

Set YUM versionlock, but allow updating to specific versions

I am trying to control the version of puppet agent installed on our RedHat systems. Our Puppet manifest has $puppet_version = hiera('profile::puppet_agent::version', '6.12.0') class {'::puppet_agent':...
yakatz's user avatar
  • 1,243
2 votes
1 answer
558 views

Puppetserver unable to locate gems

I'm trying to use a module which adds an AWS Secrets Manager hiera backend: https://forge.puppet.com/accenture/hiera_aws_sm This module requires the aws-sdk-secretsmanager gem, which I installed via ...
Taz's user avatar
  • 147
1 vote
2 answers
169 views

How to control which version of Powershell Puppet shells out to on Windows?

Microsoft recently changed their download repository for Windows Powershell to require TLS 1.2+ which Windows Powershell 5.1 doesn't support without the runtime setting change to Net....
logicaldiagram's user avatar
0 votes
1 answer
140 views

Install openldap server wth puppet - Error: Could not prefetch openldap_database provider 'olc': Command original_slapcat is missing

i am trying to install openldap server with Puppet Version 5.5.20. For the openldap installation i use camptocamp/openldap module v 2.0.0. I try it first with minimal configuration. My puppet ...
incitynet's user avatar

1
2 3 4 5
36