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
1
vote
1 answer

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 every repository Error: Path /usr/local/tools/...…
Russell Fulton
  • 201
  • 1
  • 3
  • 17
1
vote
1 answer

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": ensure => latest, provider => git, …
Russell Fulton
  • 201
  • 1
  • 3
  • 17
1
vote
1 answer

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…
Jananath Banuka
  • 151
  • 2
  • 6
1
vote
1 answer

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 way to do this via puppet. Any info would be…
Tina
  • 11
  • 1
1
vote
1 answer

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 with the following configuration: Puppetmaster…
1
vote
1 answer

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 do that? The doco on the puppet website is…
tink
  • 1,035
  • 11
  • 20
1
vote
0 answers

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 systems is Open Source Puppet 7.3. When I try to…
JoStar
  • 11
  • 2
1
vote
1 answer

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 all the modules. However puppet module install…
bdrx
  • 111
  • 3
1
vote
1 answer

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-required resource has been declared as a virtual…
Alnitak
  • 21,191
  • 3
  • 52
  • 82
1
vote
1 answer

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 '
' 8: from…
Uday Kiran Reddy
  • 119
  • 1
  • 4
  • 14
1
vote
2 answers

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.ServicePointManager. Can I change Puppet to use Pwsh (7.x) as the…
1
vote
1 answer

Puppet Class Lookup from Hiera with Automated Chaining

I am using hiera with puppet and have a puppet role/profile setup, where 1 role includes multiple profiles (as shown below). My build role includes hardcoded profiles with a number of chains at the bottom. # build.pp - Current Role class role::build…
douggdx
  • 11
  • 1
1
vote
0 answers

Puppet keeps pushing .swp files

Our current setup has a manifest/site.pp that include the following for all of our modules File { ignore => ['.swp'], } However when running puppet on the client side, it still tries to push the .swp file. Info: Using configured environment…
Tolsadus
  • 1,183
  • 11
  • 23
0
votes
1 answer

Ensure Puppet performs procedural steps as part of deployment

I know using procedural steps in Puppet is generally frowned upon, but since we are using it to deploy Veritas-managed clustered applications, there is a specific set of steps that must happen before the rpm install is called. Currently, we manually…
bdetweiler
  • 137
  • 5
0
votes
1 answer

Puppet : call define type in class from hiera

I would like to create install_package module which can be called multi times, where packages are defined in hiera. I know class is skelton (can be called one time), and define type is designed for my purpose. I have developped the following…
Colas06
  • 1
  • 1