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

Puppet Enterprise Dashboard does not indicate a failure on some agent runs

Hi, We're using PE on a very small scale. We noticed that sometimes the PE dashboard looks all "green", but when we drill down to the report itself we're seeing errors. This makes it very difficult for...

View Article


Error: Unknown Puppet subcommand 'infrastructure'

i'm trying to install puppet enterprise on centos 7.2 deploy failed via web installation, log: 2017-03-14 21:06:14,175 - [Debug]: Received report to process from puppet.iguaz.io 2017-03-14 21:06:14,200...

View Article


Error: Could not retrieve catalog from remote server: Error 500 on SERVER:...

Gettign follwing error when I run the command "puppet agent -t " any help would be appreciated. Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin...

View Article

Linux server with puppet is dropping from windows domain after about an hour.

I have a Red Hat 6 Linux server running as a puppet client that I have connected to a windows active directory domain. When I run reconfig-puppetagent, I get good results as it is pulling all the info...

View Article

Design patterns for defined types

I was browsing through GitHub and trying to find a good example of an application that uses a defined type (we have an application that needs to get deployed to same server with different versions)...

View Article


need to reboot the agent server after installation the agent

I am very new to Puppet and please help me .I have installed puppet and puppetdb with different servers using module.Both are up and running ,please verify the below versions information puppetserver...

View Article

update hash in puppet manifest

Hello, I am using a puppet agent 3.7.1 as part of our deployment process. We also use hiera to store our configuration data. Somewhere in one of my manifest I call hiera_hash to merge my configuration...

View Article

Puppet agent stops working on network change

Hello I am running into an issue where the puppet agent won't ping back to the master when changing networks. To get it to run again I have to run the ``puppet agent --server`` command. The standard...

View Article


puppet Enterprise install failed with puppet_db service failed to start

I am trying to install PE on a RHEL 7.3 VM using the text-mode monolithic install. The only errors I am getting during the install is that the pe_puppetdb service has failed to start(error below)...

View Article


rspec-puppet custom stages

We use custom stages in our puppet setup. stage { ['custom1', 'custom2']: } Stage['custom1'] -> Stage['main'] -> Stage['custom2'] This works fine in our daily operation class { 'test1::test2':...

View Article

Verify windows feature state

How can I verify if DHCP tools is already installed before executing the script to install dhcp tools. In my add-dhcptools.ps1 I have else statement that will exit the script, however puppet will...

View Article

Puppet apply without root or sudo priviledges

Hello, I haven't been using puppet for last 1.5 year, but before I had been using it on regular bases. Now I got into situation when I need to install a lot of stuff but without root or sudo access....

View Article

[Error]: Failed to apply catalog: Connection refused - connect(2) for "" port...

I'm trying to install latest version of puppet from tar ball on an EC2 instance. The steps I followed are: -Launch a RHEL7 instance. Assign an Elastic IP address. Create a record set on Route 53 using...

View Article


How to take backup of file before changing

HI Community, i am new to puppet and just started with coding, i wrote and class to do some changes on hosts file, the code below class company-standard::hostname{ File { backup => 'true' }...

View Article

several hiera data files and resource type with many parameters

Lets say that I have a resource type with have many parameters (many could means hundred or even more). Having one resource_config.yaml file for all the resource instances of this resource type is not...

View Article


calling_class_path and inheritance of classes

In an scenario with 2 classes: pk1::claseA and pk::1claseB with claseA like: pk1::claseA { $somevariable = hiera('myvariable') notify{$variable:} } and claseB like: pk1::claseB inherits pk1::claseA {}...

View Article

hiera.yaml doubts about config files

My /etc/puppetlabs/puppet/hiera.yaml on master host looks like: --- :backends: - yaml :hierarchy: - "fussion/common" - "nodes/%{::trusted.certname}" - common :yaml: # datadir is empty here, so hiera...

View Article


Can I use a package resource here instead of exec?

Hi, I have a system where the admins do not manage the YUM repos very well and yum installs have to specify the entire URL to a given RPM I need to install. So the command line would look this this...

View Article

What is the difference between puppet open source and puppet enterprise ? are...

What is the difference between puppet open source and puppet enterprise ? Are there any additional modules present in Puppet Enterprise..?Can I have Provision module (razor) and Puppet Orchestrator...

View Article

How do I define a resource only if it is not already defined?

I am attempting to create a puppet module for managing secure configurations for CentOS. As part of this I want to manage different resources such as files, packages, and services, but only if they...

View Article
Browsing all 6104 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>