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

difference between a !~ b and !(a=~b)

Hi all, I wrote a conditional like this: `if !( A =~ B )`. It is not working, because I should have written `if A !~ B`. Fine. However, I wasn't getting any syntax error or anything, so it must have...

View Article


puppetlabs-apt proxy settings for apt::key

I have some trouble with an apt::key deployment from this module : https://github.com/wazuh/ossec-puppet The code is apt::key { 'puppetlabs': id => '9FE55537D1713CA519DFB85114B9C8DB9A1B1C65', source...

View Article


Reorganize nested hash

I have a puppetdb query: "resources[certname,parameters]{type = 'my_special_type'}". The result looks like this: [ { "certname": "server1", "parameters: { "port": 1234, "job": "job1" } ] Imagine a few...

View Article

How to reorganise a hash

I have a puppetdb query: "resources[certname,parameters]{type = 'my_special_type'}". The result looks like this: [ { "certname": "server1", "parameters: { "port": 1234, "job": "job1" } ] Imagine a few...

View Article

how to add external fact as hash in puppet 4

I want to provide below hash as an external fact fact_dbmode_array={cdq0232a1 => primary} when i validate it, it is failing with Error: Could not retrieve catalog from remote server: Error 500 on...

View Article


How to loop trough nested hash in epp?

Hi, At the company I'm working at we have a script to automate the creation of symbolic links. This script is fed it's input from a puppet module. The current version of the module uses files, but it...

View Article

"Error: Could not render to rich_data_json" when pushing binary file to host

I just installed a new host which is installed with puppet 6.0.0 Next to that I use a puppet server with foreman, which started with Foreman 1.12/puppet 4 and is now upgraded to Foreman 1.19/puppet...

View Article

How can I have the puppetlabs/tomcat module manage systemd services?

How can I get puppetlabs/tomcat to manage a systemd service for each of the tomcat instances it is managing? The module handles starting the services itself on a catalog run, but I haven't yet found...

View Article


Cisco SG350XG Puppet Integration

Hi, From reading the documentation under (https://puppet.com/products/managed-technology/cisco), it appears there are two options for configuring Cisco switches with puppet. IOS and Open NX-OS. Just...

View Article


Image may be NSFW.
Clik here to view.

What You Ought To Understand About Internet Marketing.

View Article

Best methods to debug Error 500 on SERVER, Could not find class

I'm relatively new to Puppet and am in the process of trying to deploy configuration. When I try to deploy (on master or client node) I get the error listed above. I would really appreciate best...

View Article

Keep "data" and "modules" directory on offline agents in sync with puppet master

Hi, I am new to the puppet. I have an online server master and 100 offline servers with agents, how can I sync data and install all required modules. I thought Puppet will take care of it...

View Article

How to sync "data" and "manifest" folders between all agents

Hi, I am new to the puppet. I have an online server master and 100 offline servers with agents, how can I sync data and install all required modules. I thought Puppet will take care of it...

View Article


question on puppet types and hiera yaml

Downloaded the m4ce keepalived module from puppetlabs . In the real_server.pp file it has the following definition : type Keepalived::Virtual_server::Real_server = Struct[{ Optional[virtual_server]...

View Article

puppet cert deprecated?

I am testing an install of PE 2018.1.4 (puppet 5.5.6) When trying to regenerate an agent cert, I am getting: root@puppetmaster # puppet cert clean host.domain.com Warning: Accessing 'cakey' as a...

View Article


puppet agent -t with different role or facter value

Is there a way to run puppet agent -t with a different role that is assigned to a server during a noop? Can you pass a one time run as well?

View Article

Image may be NSFW.
Clik here to view.

Simple Steps On just How To Fight Sleep Apnea Easily

View Article


puppet cert deprecated?

I am testing an install of PE 2018.1.4 (puppet 5.5.6) When trying to regenerate an agent cert, I am getting: root@puppetmaster # puppet cert clean host.domain.com Warning: Accessing 'cakey' as a...

View Article

Is puppet-lint busted with respect to autoload module layout ?

It complains about this: # Class: sandbox # class sandbox{ # A Testing Sandbox for PUppet Code include 'stdlib' notify{'Hello from the Sandbox':} } puppet-lint 2.3.3 Came with pdk

View Article

stankevich/python Module to upgrade pip

The default version of pip is 1.1.I want to upgrade the version of pip to 8.1.1.I don't see any option to do that in the module.I tried to ` include python python::pip { 'pip': path =>...

View Article
Browsing all 6104 articles
Browse latest View live
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>