Questions tagged [puppet]

Puppet is IT automation software that helps system administrators manage infrastructure throughout its lifecycle, from provisioning and configuration to patch management and compliance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
63 views

Can't run vagrant, getting 'Could not find class php for vagrant.vm on node vagrant.vm'

I've inherited a web project from another developer, it is built in Laravel and was set up to use Vagrant. I've installed the latest Vagrant, and when I run vagrant up it runs through the usual steps, ...
Al_'s user avatar
  • 111
0 votes
1 answer
476 views

BIND9 configuration, which allows DDNS updates and configuration-mgmt updates in the same time?

Not sure if it is possible at all, but I am trying to find solution for such setup: BIND9 server, managed by Puppet(https://github.com/ajjahn/puppet-dns), Puppet populates zone files for all static ...
Aleksandr Smirnov's user avatar
-1 votes
1 answer
318 views

Puppet module missing dependency

puppet module install $module does not seem to work properly in Centos 7. [root@client modules]# puppet module install spacepants-ds_389 Notice: Preparing to install into /etc/puppet/modules ... ...
azzid's user avatar
  • 403
2 votes
1 answer
436 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
  • 131
0 votes
0 answers
97 views

Puppet - Agentless Proxy for cisco_ios devices

I need Help with my puppet agentless proxy scenario. In a fully isolated environment I installed all the modules, dependencies and ruby gems to use the puppet - puppet agent as a puppet agentless ...
Thorben Brakel's user avatar
0 votes
1 answer
455 views

Puppet db certs dissapear?

Nothing in the configuration has changed since the launch of the service, only the license key. The "cacerts" file itself is a symbolic link. Someone faced a similar problem? root@puppet:/home/user# ...
Krama's user avatar
  • 1
1 vote
1 answer
153 views

Send e-mail when a Puppet service stops

In the company where I work, we have Puppet running in some servers to ensure that all the computers are well configured. But we had some trouble where some people were deactivating Puppet without ...
Gabriel Bartholomeu's user avatar
0 votes
1 answer
283 views

How to properly install a repository with Puppet

I'm struggling to install a repository with Puppet, specifically the zabbix repository. I got the zabbix repository for CentOS 7 from here, and am using the following: http://repo.zabbix.com/zabbix/3....
AndreasKralj's user avatar
1 vote
0 answers
101 views

Puppet doesn't recognize the resource type "gauth_credential"

I was trying to create a Google Cloud Platform instance. I installed Puppet the google cloud module and the required gems with the command - sudo /opt/puppetlabs/puppet/bin/gem install googleauth ...
Стефан Бабуков's user avatar
0 votes
1 answer
184 views

Puppet: Ensuring a Specific Configuration Line Exists in the "ssh" Section of /etc/sssd/sssd.conf

We have a cluster of nodes whose configuration is maintained by Puppet. Puppet ensures that sssd is installed via: service { 'sssd': ensure => running, enable => true, require => ...
Dave's user avatar
  • 1,009
0 votes
1 answer
38 views

Puppet beaker docker acceptance dnsmasq

I am trying to migrate code from puppet 3 to puppet 5 with beaker and acceptance tests. The following output is given: journalctl log for dnsmasq: -- Logs begin at Thu 2018-11-29 17:11:40 ...
metanerd's user avatar
  • 101
1 vote
1 answer
449 views

/etc/profile.d script interfering with a service starting, and considerably delaying ssh availability after reboot

I have created a script in /etc/profile.d (centos6), not related to puppet in any way, instead it just copy's some files to a users dir. Somehow, on a puppet enterprise master server, this script is ...
Brian Thomas's user avatar
1 vote
1 answer
121 views

Which tool is suitable for synchronizing 40+ machines [closed]

I have approximately 40 arm devices running debian on the internet with known - dynamic - ip addresses. They have limited bandwidth (on 3g mobile, with a piad data plan) I do have ssh access. ...
jsaak's user avatar
  • 133
0 votes
1 answer
159 views

Puppet selboolean module

I have the following puppet module: selboolean { 'scan system': name => 'scan system', persistent => true, provider => 'antivirus_can_scan_system', value => ...
Taleeb's user avatar
  • 63
1 vote
1 answer
642 views

Is it possible to create tmpfs inside lvm puppet module?

we have autoprovisioning of linux machines (using trusty and xenial) and we are using puppet for it. We are using LVM in puppetlabs/lvm and specifying it in hiera. Example: lvm::volume_groups: ...
user3337015's user avatar
0 votes
1 answer
34 views

How to make Puppet join specific group and environement?

I am wondering is there is a way to make a Puppet agent join a specific Host Group and a specific Environment? This should be done from the Agent without the need to run this from Puppet master.
Taleeb's user avatar
  • 63
1 vote
1 answer
556 views

Puppet Master Error 400 on SERVER: Invalid parameter path at /etc/puppet/manifests/site.pp

How do I pass file name as arguments to puppet class? My manifest file is class new_file ($my_filename){ file { $my_filename: ensure => present, content => "I got it, Hello, ...
Bhagavan's user avatar
0 votes
2 answers
2k views

How to read entire files in Puppet verbatim (without parsing like template)?

I need to create a bunch of ssh_authorized_keys resources. The resource expects its key-attribute to be the public key itself -- there is no way to refer to a file containing the key. Because the ...
Mikhail T.'s user avatar
0 votes
1 answer
240 views

how does puppet server selects the manifests to run on an agent

From the documentation of puppet server I understand that you can configure a manifest directory on the server to store the puppet scripts. Then each agent contacts the server to update its ...
dlsa's user avatar
  • 103
0 votes
1 answer
254 views

How to load predefined docker image using puppet..?

I am having an docker image named image.tar, which was created by using 'docker save' command from another machine and copied to puppet master. I am using 'garethr-docker' module to configure nodes. ...
fuad's user avatar
  • 1
2 votes
2 answers
3k views

Puppet Master and Puppet Server Confusion (What is the difference?)

I recently started learning puppet after I joined my organisation a month ago. My organisation uses puppet 3 and is in the phase of moving to puppet 4. I am currently playing with puppet 3.8. Though ...
Aditya Pednekar's user avatar
0 votes
1 answer
59 views

puppet - what lines get executed?

(puppet n00b) How do I check what lines get executed in a puppet run? We have a large codebase with many manifests and not all manifests get applied depending on the role of the computer. How can ...
barrrista's user avatar
  • 1,729
3 votes
1 answer
775 views

Centralized management of app.config parts for self-hosted .NET services

What will be the best way to handle these scenarios, if they are not one-time, but regular: Self-hosted services on a quite a bunch of machines are needed to be repointed to different database in a ...
Andrey Ershov's user avatar
1 vote
1 answer
3k views

Puppet: how to add a line to an existing file

I am trying to add a line to an existing file /etc/fuse.conf. I tried this added a folder two folders under modules directory sudo mkdir /etc/puppet/modules/test sudo mkdir /etc/puppet/modules/test/...
user1670773's user avatar
0 votes
1 answer
484 views

Puppet class with parameter

I am trying to get a puppet class with parameters, Here is what I've tried class testing ( String $file = 'testing' ) { file { "/tmp/$file": ensure => present, mode =&...
Tim Holum's user avatar
  • 163
1 vote
1 answer
413 views

I can't stop puppet by using Ctrl+C

After upgrading to puppet 3.8 I can't stop a puppet run by pressing Ctrl+C. At first I thought that maybe they capture SIGINT and ignore it. But if I do a puppet run from inside a docker container, ...
cristi's user avatar
  • 571
1 vote
2 answers
113 views

Does restarting a Puppet Master service require regenerating for the SSL certificates of the servers it controls?

Do I have any special extra work I need to do, afterward, if I have to restart the Puppet Master service? Specifically, does this affect SSL certificates?
Nathan Basanese's user avatar
2 votes
1 answer
692 views

Why does the Puppet Deployment of an RPM fail even though the package is available?

We made sure the package was available, and even manually downloaded it and installed it on one of the target servers. However, when we run Puppet to install our updated REST packages, we get the ...
Nathan Basanese's user avatar
0 votes
1 answer
259 views

Running puppet script on remote machine

I am working on a vagrantfile which uses puppet script to do the provisioning. As a part of provisioning a lot of packages are installed and configured. Since the work is still in progress, i would ...
CodeRain's user avatar
  • 101
0 votes
1 answer
1k views

Offline puppet agent installation from puppet master- Opensouce Puppet

I need to perform offline installation of puppet agents on 300+ servers. Servers vary in architecture and design and have no access to internet. Kindly suggest the best way to achieve this given ...
Gautam Jose's user avatar
0 votes
1 answer
2k views

Puppet 3.8 recipe for installing package via Python pip

Since I don't have Puppet 4.2 or later for the pip3 provider, what is an alternative approach to installing Python packages by hand via the 'pip3' command? If I use the 'exec' approach, how do I ...
tgharold's user avatar
  • 187
0 votes
1 answer
470 views

Change service startup "sequence" with puppet

When using service { 'ntp': ensure => running, enable => true, # [...] } puppet will make sure, that the service will start on boot. Therefore it is creating links for several ...
ITL's user avatar
  • 249
0 votes
1 answer
437 views

Error in starting puppetmaster while upgrade

I am trying to upgrade my system (Linux mint 17): $ sudo apt-get upgrade And this is the output, (I have tried this more than once so I am copy+pasting the latest output) Reading package lists.....
niladri chakrabarty's user avatar
2 votes
1 answer
1k views

Specific version checking + if and else loop

just start puppet. As everyone else knows, starting something is always the most difficult. Well for practice I wanna do the following: I assume I am to put it in init.pp. if 'openssl' version == '...
user3331457's user avatar
1 vote
1 answer
149 views

Script/program that listens for user input, reads logs for output and sends broadcast

During code deployments there is a risk of service/system failures. The Network Operations Center monitors alerts from servers. If the alert comes as a result of a code deployment then it might not be ...
Wings's user avatar
  • 115
0 votes
1 answer
728 views

Agent limit in Puppet opensource

Is there any agent limit in Puppet opensource version? One of my colleagues suggested to double check. I did notice a 10 agent limit in evaluation version of enterprise version. Couldn't find any ...
Gautam Jose's user avatar
0 votes
1 answer
632 views

Vagrant Networking - can ping IP but not a FQDN

I have a CentOs vagrant machine and I have no problem pining an IP address such as: 216.58.223.4 When I try and ping: www.google.com, it is unable to find the network. /etc/resolv.conf This file ...
HappyCoder's user avatar
0 votes
1 answer
3k views

How to fix when installing puppet client on centos 7 with dockerfile getting Error: Package: ruby-augeas-0.4.1-3.el6.x86_64

I'm trying to install puppet-client on docker centos-latest with this dockerfile # Base OS FROM centos # Install puppet ENV PUPPET_VERSION 3.7.3 RUN rpm --import https://yum.puppetlabs.com/RPM-GPG-...
Jas's user avatar
  • 678
0 votes
1 answer
1k views

Install Postgresql 9.4 with Puppet

I would like to let Puppet manage Postgresql 9.4 on Ubuntu 14.04.2 LTS. I have install the https://github.com/puppetlabs/puppetlabs-postgresql module and configured it like this for 9.3: class { '...
madflow's user avatar
  • 270
0 votes
1 answer
1k views

installing jenkins with puppet

I did google search for "install jenkins with puppet" and found this so i followed the first instruction: puppet module install rtyler/jenkins and it installed it. now I saw the next instruction, is ...
Jas's user avatar
  • 678
1 vote
1 answer
2k views

Installing packages with dependencies using puppet

I am new to puppet, for the process of learning it I created Puppet Master and Puppet Slave setup and configured a mysql module to install mysql on Puppet client. Below is the manifest file. class ...
Yaalie's user avatar
  • 13
1 vote
1 answer
410 views

Interpolate File Contents Into Command Argument Used in Puppet Manifest

I have a SQL command that I would like to use as the value of a JSON node, which is a part of an index definition. All of this is passed as a command in a puppet manifest. I would like to ...
Benny's user avatar
  • 197
0 votes
0 answers
426 views

Allow user to install packages using puppet

I need to allow some users to install packages on their systems, and the whole system is being managed by puppet. I have this file: #modules/polkit/manifests/init.pp define polkit( # ...
adrin's user avatar
  • 429
0 votes
2 answers
395 views

Vagrant/Puppet/MySQL localhost issue

I have a vagrant file using puppet to configure mysql. Here is the relevant code in default.pp: class { '::mysql::server': override_options => { 'mysqld' => { 'bind_address' => '0.0.0.0'...
phil swenson's user avatar
  • 6,469
0 votes
1 answer
107 views

What is the default web server in Puppet enterprise

I have a question, it might be trivial, but I needed to check as I did not see an explicit information so far. What is the default web server in Puppet Enterprise 3.3.2? In all puppet lab ...
schow's user avatar
  • 41
4 votes
0 answers
1k views

puppet dashboard installation with passenger shows default apache page

I am trying to install puppet on my CentOS 6.5 64 bit machine. The installation of puppet-server goes through fine and I am being able to install apache2.2.15 and passenger 4.0.53. I have installed ...
schow's user avatar
  • 41
0 votes
1 answer
56 views

How enterprise versions of Puppet map to community versions?

In particular, which 'community' version corresponds to the current 'enterprise' one, 3.3? I remember there was some magic involved: 'enterprise' 2.5 was 'community' 2.7 plus some GUI bells and ...
badbishop's user avatar
  • 202
0 votes
1 answer
430 views

Proper way of importing many manifest files with vhost definitions

I have the following simple puppet recipe: # Apache class { 'apache': mpm_module => 'prefork', # Determines which MPM is loaded and configured for the HTTPD process (event, itk, peruser, ...
kenorb's user avatar
  • 25.1k
0 votes
1 answer
602 views

Can I use puphpet files to deploy a vps server without vagrant

I'm using puphpet/vagrant in local to work with symfony but I wanted to know if I can use puphpet's scripts/files to deploy it on my vps server if Im using the same OS.
Ugo Mare's user avatar
  • 103
0 votes
3 answers
2k views

Error: Unknown Puppet subcommand 'module'

It seems there is a problem with puppet on Ubuntu 12.04 LTS as its missing the module subcommand as follows: Installed puppet in version 2.7.11 $ puppet module install rafaelfc-pear Installing ...
kenorb's user avatar
  • 25.1k