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

Build a new Array from an array

Hello I have an array. Its dynamic and i'll never know for definite how many elements there'll be in that array - all i know is that each element will be a set of characters separated by dashes. Here's...

View Article


RSpec validate that a function gets called

I'm attempting to test some of our profile classes. One of the common patterns is that the class will call a statement function, and I want to be able to validate that it actually gets called. I've...

View Article


docker run multiple container

using docker_platform module i have this manifest: class { 'docker': version => '1.12.1' } #docker::image { 'alpine': image_tag => 3.4 } docker::image { 'uifd/ui-for-docker': image_tag =>...

View Article

How to change VirtualBox network card in a Beaker nodeset?

I need Beaker-RSpec to use the line ``` vb.customize ['modifyvm', :id, '--nictype1', 'Am79C973'] ``` in the generated `Vagrantfile`. The `VagrantVirtualbox` provider sure has a `customize` function,...

View Article

Puppet Apache module : template for /etc/apache2/conf-available/security.conf

Hello, even after reading the full https://github.com/puppetlabs/puppetlabs-apache page and googeling around i did not find answer to my questions and therefore i hope some of you could help. On Ubuntu...

View Article


checking a configuration file before updating a setting in another file

I am trying to implement automatic home directory creation on our server estate everywhere except where autofs has been configured to provide a home directory: ***if $lsbmajdistrelease == 5 { exec...

View Article

Can I use puppet as an Intermediate CA?

I have installed an Internal-Root signed certificate on my Puppet Master under `$ssldir/ca/ca_crt.pem` in hopes that my Puppet managed nodes will have a certificate chain that can be resolved by...

View Article

Hi, I have been trying to install the Puppet Enterprise 2016.2.1. below is...

04-amd64.tar.gz]/returns: tar: Error is not recoverable: exiting now 2016-08-29 12:26:35,117 - [Error]: tar xzf /opt/puppetlabs/server/data/staging/p...

View Article


Hi, i have been trying to install Puppet Enterprise 2016.2.1. but it's giving...

tar: Error is not recoverable: exiting now 2016-08-29 12:26:35,117 - [Error]: tar xzf /opt/puppetlabs/server/data/staging/p e_repo-puppet-agent-1.5.3/puppet-agent-ubuntu-16.04-amd64.tar.gz --strip=3...

View Article


MySQL Package Name with different versions

Hi, MySQL package names are different with different versions(5.1,5.6,5,7,mariadb...). How to handle this efficiently ? Do we write this on params.pp or init.pp ? Current forge module doesn't handle...

View Article

cannot load puppet_x/eos/utils/helpers

Hi all I am a network engineer trying to learn puppet playing with Arista switches so I am quite newbie here. I have installed the puppet entreprise agent and rbeapi into my virtual EOS switch...

View Article

How to hide default notices in the log.

I have a situation where I need to hide the passwords while printing the log. In the heira yaml file the passwords are encoded using eyaml but while reading them as a newproperty they are written in...

View Article

puppet hiera.yaml loading

Hi all! Iam a newbie to puppet and had a question regarding hiera. We have puppet and hiera already setup with many nodes. I have followed some instructions on signing the puppet node and restarting...

View Article


puupet not loading hiera data.

Hi all! Iam a newbie to puppet and had a question regarding hiera. We have puppet and hiera already setup with many nodes. I have followed some instructions on signing the puppet node and restarting...

View Article

require dir fails BUT dir does exist

Error: Failed to apply catalog: Could not find dependency File[/var/www/html] for Vixiecron[postgres91_nslb] at /etc/puppetlabs/code/environments/prod/modules/pgsql/manifests/classes/monitoring.pp:3...

View Article


Service class working differently on ubuntu and debian

I have written a simple service class which looks like the following:: class nginx_generic::nginx_ssl { service { 'nginxssl': start => "service nginx start", stop => "service nginx stop", status...

View Article

Service class working differently on ubuntu and debian

I have written a simple service class which looks like the following:: class nginx::nginx_ssl { service { 'nginxssl': start => "service nginx start", stop => "service nginx stop", status =>...

View Article


librarian-puppet fails to run

Hello, I what to initialize librarian-puppet and it fails with following error: /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- io/console...

View Article

policy-based autosigning not working

Hi, I'm trying to get autosign to work on Puppet 4. This is - among other things - what I've tried so far: root@puppet:~# puppet config set --section master autosign /opt/puppetlabs/bin/autosign...

View Article

Policy-based autosign not working

Hi, I'm trying to get autosign to work on Puppet 4. This - among other things - is what I've tried so far: root@puppet:~# puppet config set --section master autosign /opt/puppetlabs/bin/autosign...

View Article
Browsing all 6104 articles
Browse latest View live


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