Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 answers
23 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': ...
user avatar
0 votes
1 answer
35 views

Most Stable/efficient method for OpenStack Deployment using Debain

I was wondering witch method to use for deploy openstack I read guides of openstack but there is no focusing on Debian. so what it's most stable method to deploy openstack on Debian? Thanks
user avatar
  • 101
1 vote
0 answers
173 views

Puppet agent hans 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@...
user avatar
1 vote
0 answers
26 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 ...
user avatar
0 votes
1 answer
318 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 ...
user avatar
0 votes
0 answers
67 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: ...
user avatar
0 votes
2 answers
40 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 ...
user avatar
-1 votes
1 answer
240 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 ...
user avatar
  • 439
0 votes
0 answers
301 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 ...
user avatar
  • 1,710
0 votes
2 answers
176 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 ...
user avatar
0 votes
1 answer
446 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 ...
user avatar
  • 784
0 votes
1 answer
737 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 ...
user avatar
  • 445
0 votes
1 answer
59 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 ...
user avatar
0 votes
1 answer
24 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?
user avatar
0 votes
1 answer
159 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 ...
user avatar
  • 101
0 votes
0 answers
47 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 - ...
user avatar
  • 335
1 vote
0 answers
232 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 ...
user avatar
  • 106
1 vote
1 answer
39 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 ...
user avatar
1 vote
1 answer
58 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 |...
user avatar
  • 79
1 vote
1 answer
528 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 ...
user avatar
  • 46.9k
0 votes
1 answer
583 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 ...
user avatar
0 votes
1 answer
293 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
1k 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-\...
user avatar
  • 393
3 votes
1 answer
3k 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 ...
user avatar
  • 393
0 votes
1 answer
31 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::...
user avatar
  • 393
0 votes
1 answer
37 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 ...
user avatar
  • 11k
0 votes
1 answer
64 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....
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 ...
user avatar
0 votes
1 answer
73 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 ...
user avatar
1 vote
0 answers
254 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: ...
user avatar
1 vote
1 answer
484 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/...
user avatar
  • 131
2 votes
0 answers
35 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 ...
user avatar
  • 4,049
1 vote
3 answers
3k 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 ...
user avatar
  • 349
1 vote
1 answer
805 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 ...
user avatar
0 votes
2 answers
223 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, ...
user avatar
  • 1
0 votes
1 answer
219 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 ...
user avatar
1 vote
1 answer
457 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 ...
user avatar
  • 46.9k
1 vote
1 answer
781 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, } ...
user avatar
  • 46.9k
1 vote
0 answers
75 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 "...
user avatar
  • 33
1 vote
1 answer
45 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 ...
user avatar
  • 257
1 vote
0 answers
19 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 ...
user avatar
  • 46.9k
0 votes
0 answers
88 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 ...
user avatar
1 vote
1 answer
2k 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@...
user avatar
1 vote
1 answer
673 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. |-...
user avatar
  • 1,530
2 votes
1 answer
411 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] ...
user avatar
  • 25.4k
1 vote
1 answer
5k 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[/...
user avatar
  • 325
0 votes
1 answer
551 views

Unable to install puppet

I am new to puppet,Have tried to install puppet enterprise 2016.2 in my local machine(monolithic method) downloaded tar file and extracted it gave the option as Guided install option It popped out ...
user avatar
  • 145
2 votes
0 answers
164 views

Why is a variable in a `require`d module not always available?

I've got three module manifests in separate files (stripped down to bare essentials): class users { $user = 'foo' user { $user: ensure => present; } } class dvcs_cli { require users ...
user avatar
  • 46.9k
-1 votes
1 answer
3k views

Puppet: command not found in Debian 8

I have just installed puppet master package in Debian 8 using apt-get but my puppet command is not working. root@admin:/etc/puppet# puppet -bash: puppet: command not found root@admin:/etc/puppet# pwd ...
user avatar
2 votes
2 answers
16k views

How to check and run a script if it's not running?

I created a pretty simple script called main_start_script that will run 2 python programs in background, code is: python /opt/cuckoo/cuckoo-2/cuckoo.py 1>cuckoo_script/cuckoo_start.txt 2>&1 ...
user avatar
  • 21