Skip to main content

Questions tagged [puppet]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
103 views

Error during "apt-get full-upgrade": Missing libcrypt.so.1 library preventing libc6 configuration

When I try to do an apt-get full-upgrade, I get this error message: Setting libc6:amd64 (2.36-9+deb12u7)... /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared ...
valentingrosse's user avatar
0 votes
1 answer
32 views

Where is "--localcacert" in Puppet man page?

I am new to Puppet. We have a command and it uses the --localcacert option. The command looks like this: puppet agent -t --localcacert <path to CA cert> --ca_server <CA server hostname> --...
Noob_Guy's user avatar
  • 224
1 vote
1 answer
195 views

Unable to locate package pdk on debian

I am trying to install the external package pdk on debian bullseye. Following the official instructions I executed the following: wget https://apt.puppet.com/puppet-tools-release-bullseye.deb dpkg -i ...
pascalre's user avatar
  • 113
4 votes
1 answer
301 views

Are any large-scale services based on NixOS or Guix System?

Following the permeation of virtualization and containerization through world of network services, various tools and systems have emerged for provisioning and orchestrating such systems from ...
brainchild's user avatar
0 votes
1 answer
182 views

Convert puppet manifest config to hiera

I installed corosync-pacemaker cluster via puppet. Now I would to like keep my data into hiera file. How should I convert cs_primitive section into yaml file? cs_primitive { 'nfsshare_fs': ...
fortunate1357's user avatar
0 votes
1 answer
225 views

Most stable/efficient method for OpenStack deployment using Debian

I was wondering witch method to use to deploy OpenStack. I read guides of OpenStack, but there is no focusing on Debian. What is the most stable method to deploy OpenStack on Debian?
Zaman Oof's user avatar
  • 123
1 vote
0 answers
1k views

Puppet agent hangs on Loading facts from

Info root@slx04c-8odu:/home/xiaojguan# which puppet /usr/share/rvm/rubies/ruby-2.3.8/bin/puppet root@slx04c-8odu:/home/xiaojguan# puppet -V 3.8.6 root@slx04c-8odu:/home/xiaojguan# facter -v 1.7.5 root@...
xiaojueguan's user avatar
1 vote
0 answers
135 views

Do I only need to run command at once on puppet

I would like to run below command in puppet at one time for example if i had a one directory(/tmp/example) which contains example-releases-88.99.05-rc1.tar.gz file only coming at certain point. Only ...
Vasanth M.Vasanth's user avatar
0 votes
1 answer
631 views

Puppet Bolt not Passing Parameters into Bash Script Running as Task

When trying to use Puppet Bolt to run Bash scripts on remote machines, I kept having scripts fail to work properly because they weren't receiving the parameters passed by the Bolt command. If a ran a ...
unchainched's user avatar
0 votes
0 answers
68 views

Unexpected Bash Output [duplicate]

Can someone explain why I got error messages related to puppet when I type foo at the bash prompt as shown below: [root@centos8 ~]# foo bash: foo: command not found... Failed to search for file: ...
stackoverflowpro's user avatar
0 votes
2 answers
360 views

Puppet not reflecting changes made in manifest

I have a module manifest, let's say it is named as work.pp. I added a custom fact has_work in /lib/facter/work.rb. When I run puppet agent -t, and check facter -p has_work, the fact has appropriate ...
Yong zhu's user avatar
-1 votes
1 answer
794 views

Puppet - No Listener on 8140: Job for puppetserver.service failed because a timeout was exceeded

I have a Puppet setup that was working at one point in time. Now when I run a netstat -lnp I do not see the Puppet Server listening on 8140. In troubleshooting I've tried to manually start the puppet ...
Doug's user avatar
  • 449
1 vote
0 answers
940 views

using powershell on Linux with Ansible

In looking at powershell, the general assumption is that it's being used either for or on Windows machines in a homogeneous network. Strictly within Linux, and only using "core" powershell, looking ...
Thufir's user avatar
  • 1,910
0 votes
2 answers
634 views

rpm package libpng12-1.2.50-10.el7.x86_64 is missing . server is deployed using puppet

I have two remote sites on which i have CentOS 7.4 based servers. I have deployed the servers using puppet and both sites have same configuration. On one site the one of my server is missing this ...
Niksa Kovacevic's user avatar
0 votes
1 answer
1k views

How to prevent my additions to authorized keys from being overwritten by puppet?

At my company all employees are given a private key, which get's renewed each year, that they should use to connect to VMs. The SA here have a puppet script which will look up my public key and save ...
dsollen's user avatar
  • 794
0 votes
1 answer
1k views

What does puppet do to fix a 'stuck' systemctl service where systemctl would refuse to start a service?

We had a scenario where on RHEL we couldn't start an application that had been running and we had just stopped. sudo systemctl start myservice We didn't have access to the journald logs on this ...
hawkeye's user avatar
  • 495
0 votes
1 answer
86 views

puppet agent environment

I was reading puppet doc for environment and want clarification in this particular statement: When that node requests a catalog from the master, it requests that environment. If you are using an ...
Rajnish Kumar Soni's user avatar
0 votes
1 answer
31 views

Clarity on puppet agent utilization of catalog file at node side

I want to know once the catalog is compiled and sent to the agent node, how the agent node uses it. Does it use providers to read the catalog file?
Rajnish Kumar Soni's user avatar
0 votes
1 answer
251 views

puppet module not doing anything

I successfully installed the puppetlabs java module using command puppet module install puppetlabs-java. I created a puppet module using command puppet module generate ... I have two manifest files ...
arnonuem's user avatar
  • 101
0 votes
0 answers
56 views

puppet on debian

I run debian 9, and have installed packages puppet and puppet-master; they are listed as version 4.8.2. In the learning material I have found so far, I come across commands puppetd and puppetca - ...
j4nd3r53n's user avatar
  • 717
1 vote
0 answers
501 views

yum: unable to update puppet-agent due to missing dependency

I am trying to update a package with yum (puppet-agent) but this is failing due to a lack of dependencies - error output below. I think I know why this is: the old version (1.10.9-1) of the package ...
alnx's user avatar
  • 116
1 vote
1 answer
59 views

Access fact of a system from another

Is it possible to access facts of one system from another system via any built-in puppet command? I tried to do that with puppet facts find "node_certificate" but its not working (instead I get facts ...
Rajnish Kumar Soni's user avatar
1 vote
1 answer
191 views

How to remove old client keys in Puppet

I am trying to install puppet 6 on the agents and add them to the new puppet 6 master. As a part of this task, I a need to remove old client keys on the agent nodes: find /var/lib/puppet/ssl/ -type f |...
Irina I's user avatar
  • 99
2 votes
1 answer
761 views

How to ensure that a user is a member of a group using Puppet

Importantly, I want nothing more or less than this. I want to manage only a limited set of groups for a limited set of users, without ever changing any of their main groups or removing any other group ...
l0b0's user avatar
  • 52.1k
0 votes
1 answer
820 views

use regex inside puppet file resource

I want to delete a file using file resource. File name is AA_BB_CC_11.22.33.7z . Problem is file resource does not support regex and the numbers in the can be changed. I am using variable inside my ...
Rajnish Kumar Soni's user avatar
0 votes
1 answer
359 views

What's the difference between CMs "push" method (Ansible) to "pull" method (Chef/Puppet)?

I know that some of the advantages of Ansible over many other CMs are these: Ansible's scripts being written in YAML, a simple serialization language. The fact that one doesn't have to install it on ...
user avatar
-1 votes
4 answers
2k views

How should I use quoting with echo in Puppet?

I'm trying to use echo inside a Puppet rule to add a line to .bashrc, but I can't seem to get the quoting right. '/usr/bin/echo -E PS1=\"[\t--------------------------------------------------------\n-\...
iamAguest's user avatar
  • 503
3 votes
1 answer
4k views

Command not found when run as sudo

I'm running centos7. I installed puppet. if I write puppet as a user, I get a proper output. If I write sudo puppet I get command not found. The really weird thing is, if I do sudo su - and become ...
iamAguest's user avatar
  • 503
0 votes
1 answer
54 views

Puppet agent doesn't run manifest from regexp

node 'node-slave01' { include repo::git include fun::cmatrix } node 'node-slave02' { include repo::hg include fun::toilet } node 'node-slave03' { include fun::...
iamAguest's user avatar
  • 503
0 votes
1 answer
43 views

Puppet: what's wrong with my configuration?

I want to learn puppet. Installation on Suse ok. The CA and SSL works fine puppet cert list --all Return my master and my client. On client puppet agent -t Return OK,no problem. I start a very ...
elbarna's user avatar
  • 13k
0 votes
1 answer
77 views

What is the scope of lens in saltStack?

I am working on Salt related stuffs, here I found lens inside the augeas module.I have been looked into the saltStack documentation but I could not able to figure out what it actually does ? augeas....
Abdulvakaf K's user avatar
0 votes
1 answer
1k views

Puppet exec command runs successfully but doesn't make the needed changes

I am trying to make some changes on my Ubuntu 16.04 server using puppet exec to run commands to make those changes. When I run puppet, the command is executed successfully but puppet exec doesn't make ...
TeNaJ Systems's user avatar
0 votes
1 answer
97 views

Puppet Gluster Volume Error

I am getting this error when I add a gluster volume and run puppet agent -t: Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while ...
TeNaJ Systems's user avatar
1 vote
0 answers
302 views

Error: Systemd start for glusterfs-server failed

I keep getting the error below when I run puppet agent -t but when I check the gluster service, the service is already running. What do I need to do to fix this error that I keep getting? Error: ...
TeNaJ Systems's user avatar
1 vote
1 answer
538 views

java.net.BindException: Address already in use when running puppetdb and jira

I'm trying to run both jira and puppetdb both on the same server using the same postgresql database. When I enable jira first, puppetdb throws the following error: $sudo /opt/puppetlabs/puppet/bin/...
Andrew's user avatar
  • 131
2 votes
1 answer
47 views

When you use puppet, how do you separate the provisioning and maintenance code?

So say you're using puppet. Initially you might use the puppet server to set it up with a puppet agent to setup your server (you might, then again you might use images, but I'm using puppet). Let's ...
leeand00's user avatar
  • 4,705
1 vote
3 answers
5k views

Puppet Recursive File Permissions

When using a Puppet file resource with recurse=>true is it possible to have directories and files get different permissions? That is we generally want to remove read/execute permissions from group ...
LJKims's user avatar
  • 459
1 vote
1 answer
1k views

Disabling mtu_bypass on AIX in file

I would like to disable mtu_bypass from within a file. I saw that you can use chdev to do it with a command, but I would rather specify the setting within a file using puppet. Does anyone know which ...
jacksonecac's user avatar
0 votes
2 answers
333 views

puppet resource dependency

When I do puppet apply, I get the error: Warning: Scope(Mod::Cl[title]): Can't load '/tmp/file.yaml' File does not exist! Error: Evaluation Error: Error while evaluating a Resource Statement, ...
souf's user avatar
  • 1
0 votes
1 answer
332 views

how to define user who run puppet script as variable

I am using puppet, what I am trying to write script that create file related to the user who run it. lets say I want to create the file/soft link if not exist so other application can edit it, then ...
Ahmad Abuhasna's user avatar
1 vote
1 answer
574 views

How to set file contents but leaving permissions alone using Puppet?

I'm using the file directive to set the contents of many configuration files. Some of the applications have their own configuration interfaces which are the preferred way to modify these files (before ...
l0b0's user avatar
  • 52.1k
2 votes
1 answer
1k views

Can I log and drop a packet in one iptables rule?

I've currently got the following Puppet firewall setup: firewall { '100 drop insecure outgoing HTTP traffic': chain => 'OUTPUT', dport => 80, proto => tcp, action => reject, } ...
l0b0's user avatar
  • 52.1k
1 vote
0 answers
99 views

Trying to install Puppet Enterprise on Linux 7 and getting Certification error

This is what I get as root on my Linux 7: sudo rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm Retrieving ... curl performs SSL certificate verification by default, using a "...
Moez's user avatar
  • 33
1 vote
1 answer
55 views

How to capture all system configurations and apply to remote machines?

I have bunch of raspberry pies that I have installed arch-linux on. On regular basis, I make changes to the system configurations. For instance I install services, change connection settings, move ...
kaptan's user avatar
  • 307
1 vote
1 answer
30 views

How to enforce that group X membership implies group Y membership in Puppet?

I'd like all users who are members of the 'users' group to also be members of the 'audio', 'lp' and 'video' groups. How can I enforce this in Puppet without specifying any of the usernames? The goal ...
l0b0's user avatar
  • 52.1k
0 votes
0 answers
96 views

Class declaration in puppet

I have created a module in puppet named patchmgmt and inside my init.pp file, i have defined my class name same as my module name. Do i need to declare my class or having the class name same as ...
Rajnish Kumar Soni's user avatar
1 vote
1 answer
3k views

Puppet shows a different version to the puppet-agent package version

Why puppet showing different versions in system: [root@localhost ~]# puppet --version 4.7.0 [root@localhost ~]# puppet agent --version 4.7.0 But rpm shows diff version for agent and server [root@...
Rajnish Kumar Soni's user avatar
1 vote
1 answer
736 views

Multiple puppetmaster behind load balancer

We build two puppet master on openstack cloud and put them behind LBaasV2 (haproxy) load balancer, also we have separate puppetDB and PuppetCA server to handle certificate. |-...
Satish's user avatar
  • 1,652
2 votes
1 answer
492 views

Remove "ipv6only" option from Puppet nginx module

My nginx server (which serves multiple vhosts) fails to start: Nov 08 23:54:43 foo systemd[1]: Starting nginx - high performance web server... Nov 08 23:54:43 foo nginx[3830]: nginx: [emerg] ...
dr_'s user avatar
  • 30.4k
1 vote
1 answer
6k views

Failed to open TCP connection to plugins:8140

I am deploying several vm's in ganeti with open source puppet, when I run puppet agent in this specific host I keep get this error: Info: Retrieving pluginfacts Info: Retrieving plugin Error: /File[/...
Max's user avatar
  • 335