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

How to setup a puppet master in beaker-rspec

I have a requirement wherein i need to spin up a docker image from my Centos 7 VM to build a puppet master with hiera data and to run puppet agent which has a catalog with role and profile modules. I...

View Article


Where is the proper place to put templates using roles and profiles practices?

I'm trying to create a template for use by the motd class in my base profile. I'm not quite sure where I should put it though. I'm also having trouble referencing the path from with the class. Here is...

View Article


How to use role custom fact in Puppet

I'm using a control-repo for my puppet master profiles/roles. I'm using Hiera and I would like to add role as hierarchy my hiera.yaml looks like : :backends: - yaml :yaml: :datadir:...

View Article

How to use role custom fact in Puppet

I'm using a control-repo for my puppet master profiles/roles. I'm using Hiera and I would like to add role as hierarchy my hiera.yaml looks like : :backends: - yaml :yaml: :datadir:...

View Article

Error: Could not request certificate: Failed to open TCP connection to...

Hello everyone, Hello, Here I am trying to learn to use Puppet to a future job and so I decide to mount a Lab in Vbox . So I have two bridge machine - Ubuntu puppet agent 192.168.0.5 - Debian puppet...

View Article


Puppet Powershell execution

I have an application which requires a local account to be required for the configuration. I have created a module inside that I have 2 folders : i. files ii.manifests under manifests init file I have...

View Article

How to call Teamcity API through Puppet Module

Hi All, I have Puppet Master and Windows agent server. I have installed Teamcity CI application, I have to make the Teamcity below REST api automation through Puppet . Below are the API that I want to...

View Article

How do you make multiple *ix installs available in puppet enterprise's...

This environment does not have internet access and I'd like to be able to install all *ix agents with a curl command method. The documentation at https://docs.puppet.com/pe/latest/install_agents.html...

View Article


Problems with each loop and future parser

Hey there, I am writing a small init puppet config to configure my servers without puppet master. For creating user accounts I want iterate via an each loop over a array of user names defined in a...

View Article


How do I express an empty array in Hiera?

I need to override the default value of class parameter for a module which expects an array. I can do this easily enough with traditional Puppet code: class { 'foo': bar => [] } However, I would...

View Article

failed: DataBinding 'hiera': undefined method `empty?' for nil:NilClass

Hello, we just restored puppetserver from backup but after restoration puppet server is not entirely happy. It gives this error: /opt/puppetlabs/bin/puppet agent --test Info: Using configured...

View Article

test Puppet enterprise upgrade

Hi friends, I want to upgrade my puppet enterprise 3.7.2 to 3.8.6 version. I want to make sure that all modules should able to run properly after upgrade. Is there any tool or specific method to test...

View Article

Set File content via Hiera

Hi, I am looking for the syntax to set the content for a File resource from hiera. Specifically I want to set the template being used: # Puppet class test ( $file_content = undef, ){...

View Article


Is there a way to declare declare a custom type by it's fully qualified name?

I'm currently using 2 puppet modules, and they both have custom types, which happen to have the same names: https://github.com/fiddyspence/puppet-zabbix/tree/master/lib/puppet/type and:...

View Article

Removing a Package if files are absent

Hello, I have a package that I have in as an rpm. It installs the package initially and then checks to make sure it is installed. However if someone deletes important files within in this package then...

View Article


How to Install same package with both pip and pip3 provider

Hi everyone, I have both Python 2x & 3x scripts running on my server. I have several packages where I need to install both the versions of a package. How can I install the same package name with...

View Article

How to map an array within a resource

I've got stuck trying to use Puppet 3.8 to tackle what seems like it should be a simple problem. My nodes have a number of independent installations of a single system. I have defined a top-level type...

View Article


What is the Export Control Classification Number (ECCN) for Puppet

Hi, I need to know the ECCN for Puppet for TCC certification of our product. Can you let us know what that is? Our understanding is that Puppet has encryption capabilities. Can you please also confirm...

View Article

Error when a node tries to connect to puppetserver

Hello guys, I'm trying to connect a node to my puppet server, all certificates are good but when it tries to retrieve his catalog, i got this error in the puppetserver foreground console : "...

View Article

how to resolveConnection time out Error when running nodejs app using puppet

I am cloning my repo and running my nodejs application using puppet. please find the code below: package { 'git': ensure => 'latest', } vcsrepo { "/nodejs-helloworld": ensure => latest, provider...

View Article
Browsing all 6104 articles
Browse latest View live


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