Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Browsing all 6104 articles
Browse latest View live
↧

External CA configuration with puppet agent

I am trying to configure the puppetserver and agent to use external CA with - Root self-signed CA & - Master and Agent having its own ssl certificate After configuring puppetserver (in...

View Article


Make a resource wait for something else to finish before editing a file

I'm trying to use the domain_join module from Github to join a RedHat box to an active directory domain. This module creates sssd.conf among other files. The module doesn't provide the...

View Article


couldn't find class

Hi, I have installed pe 2015.3.1 and I am doing testing with sample custom modules test1.pp class test::test1{ enbl = "running" } include test::test1 test2.pp class test::test2{ include 'test::test1'...

View Article

Getting "rescue in all_get_vms" while trying to create an Azure VM(ARM) using...

Here is the log: [root@puppetmaster ~]# puppet apply azure1.pp Notice: Compiled catalog for ec2-174-129-202-34.compute-1.amazonaws.com in environment production in 0.85 seconds Error: Could not run:...

View Article

Unit pe-puppetserver.service has failed

[root@ip-172-31-42-247 puppet-enterprise-2016.1.2-el-7-x86_64]# /bin/systemctl start pe-puppetserver Job for pe-puppetserver.service failed because the control process exited with error code. See...

View Article


Job for pe-puppetserver.service failed because the control process exited...

[root@ip-172-31-42-247 puppet-enterprise-2016.1.2-el-7-x86_64]# /bin/systemctl start pe-puppetserver Job for pe-puppetserver.service failed because the control process exited with error code. See...

View Article

how to unzip a compressed file

I am trying to unzip the tomcat installation folder and extract it in a desired path. help me. also any other help to configure the installation i.e. configuring the java home . creating the...

View Article

consul watch puppet

Hello, I'm trying to setup a consul watch for a particular key and whenever it changes, i would like to invoke a puppet agent run. Are there any examples available for this? Can you please provide some...

View Article


check if the package is installed and compare the version

Hi, I'm not an expert on puppet and I have some syntax problems I would check if the package is installed and compare the version of the package with the version I would like to see installed IF the...

View Article


Last run metrics from _old_ versions of puppet.

Backstory: We have a totally fragmented system, and are running a number of really ancient versions of puppet. There are apparently reasons not to upgrade these instances. We have some 2.6.4, some...

View Article

How to pass the parameter inside puppet script in python file ?

How to pass the parameter inside puppet script in python file ?

View Article

what would be the command for restarting my test puppet server

Hi all, I've tried a lot: service puppet-master restart service puppet master restart service puppet restart service pe-puppet restart but they are all not working... What should be the service name?

View Article

puppet agent startup error

My test puppet master is running, when I was trying to start up test puppet client container, everything showing on screen seems fine when starting, except this one at the end of the info showing on...

View Article


Mcollective with Puppet : Manifests not getting applied

I did a setup of `puppet` with `mcollective` for five nodes. The setup seems to be successful $ sudo /opt/puppetlabs/bin/mco ping Node-002.test.com time=112.18 ms Node-010.test.com time=115.04 ms...

View Article

hiera lookup failure

Given this /etc/puppetlabs/code/hiera.yaml --- :backends: - json :hierarchy: - "%{hostname}.%{nt_environment}.%{nt_location}" - "%{nt_type}.%{nt_environment}.%{nt_location}" -...

View Article


puppet module upgrade puppetlabs-apache error

I get the following error puppet module upgrade puppetlabs-apache Notice: Preparing to upgrade 'puppetlabs-apache' ... Notice: Found 'puppetlabs-apache' (v1.7.0) in /etc/puppet/modules ... Notice:...

View Article

Mac OS X Puppet version 3.8.7 - automatic start on logon

Hi, Is there a way to make the puppet agent start on startup on Mac OS X? I am currently using crontab which is not always working. In ubuntu it's easy just change the default/puppet from NO to YES and...

View Article


How to join the content of an array in an EPP template ?

Hello, according to the following documentation page : https://docs.puppet.com/puppet/latest/reference/lang_template_epp.html I should be able to use the join function to merge the content of an array....

View Article

How can i bring docker image to node from a .tar file ?

Is there any way to bring docker image to my node from a **.tar**. I am having **image.tar**, that was copied from another machine and built using **'docker save'** command. I tried different ways to...

View Article

how to make one resource run after the previous one is executed?

I have a class that unzips a file first and then looks for a file in the extracted folder to replace it. however, when I run it. it executes the find file before unzipping the file and hence produces...

View Article
Browsing all 6104 articles
Browse latest View live