Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
↧

file_line resource match problems with "tab" seperated string

I am trying to modify the string in nscd.conf , but is failing to match the string. eg : enable-cache netgroup yes has to be changed to enable-cache netgroup no it is TAB seperated strings.

View Article


Why does Puppet require name resolution?

I'm trying to decide how can puppet work for us and there is something i don't understand. Why does Puppet require name resolution? From what i read agents are usually identified by their certname,...

View Article


Can Puppet report on installed software by machine. Ideally would be...

Can Puppet provide a report of all installed software by machine? Looking to obtain this information from Linux machines and import that data into an ITSM tool using an API script.

View Article

No certificate request generated for agent, what do I do?

server version - 3.8.5 (open source running on Ubuntu 16.04, installed using apt-get, successfully servicing a number of clients) client (agent) version - 5.4.0 (open source running on Ubuntu 18.04,...

View Article

vsphere_vm module "create_command" parameter

In the vsphere_vm module, there is a parameter called "create_command". I do know that it works well with Linux bash command, however, I also do want to also apply on windows with either Command Prompt...

View Article


Run multiple bolt commands in the same script

I am looking for a way to run multiple BOLT commands from the same BATCH FILE. For instance, i have a batch file that i can run from my Windows Server which copies a MSI to a remote server using Bolt,...

View Article

Using variables to deploy puppet code on different sites

Hi, I am new to puppet, not sure how to use variables. I am trying to do the same as in Power Shell: $SiteCode = 'nyc" $SiteNumeric = "2" $IP = "192.168.$($SiteNumeric).10" $ServerName =...

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


file overwrite failed

I have a problem with the following puppet code. file { "/usr/share/gnome-terminal/terminal.xml": ensure => present, content => template("cosnet/terminal.xml"), owner => "root", group =>...

View Article


Puppet[:environment] in ruby facts when using require 'puppet'

Hi I'm wiring some simple custom facts with puppet values. i want to access some facts so i require 'puppet' in my ruby facts. This, for example returns the puppet environment: Puppet[:environment]...

View Article

How to accept Steam EULA when installing

When I try to install Steam with this: package { 'steam': ensure => latest, } I get this error: The following NEW packages will be installed: steam:i386 Preconfiguring packages ... 0 upgraded, 1...

View Article

Accept EULA when installing steam package

When I try to install Steam with this: package { 'steam': ensure => latest, } I get this error: The following NEW packages will be installed: steam:i386 Preconfiguring packages ... 0 upgraded, 1...

View Article

Override class parameters using inheritence

Hello everyone! I already have a class with a list of parameters along with their default values. Those parameters are referenced in template (.erb) files. Roughly, the structure is the below: - module...

View Article


Creating custom facts: how to access the 'trusted' hash?

I'm setting up some custom facts in the modules/facts/lib/facter directory and I want to access the 'trusted' hash that contains the trusted/verified node data. However I can't seem to find a way to...

View Article

unable to login or su after pam updates

After puppet has copied over the new /etc/pam.d/system-auth-ac and /etc/pam.d/password-auth-ac, I can no longer login or sudo. The log shows the following: _pam_load_conf_file: unable to open...

View Article


How to create a new array in epp template?

Fundamentally, I want to iterate through an Array and create another array. ><%- $ips = [] -%>><%- $vs_map[$name].each | $_vs | { -%>><%- $ips << $_vs['address']['ip']...

View Article

Connection closed by foreign host.

Hello, When i am doing telnet from puppet master on port 8140, I am getting below error. what can be the reason? Trying ::1%1... connected to localhost. Escape character is '>]'. Connection closed...

View Article


Unknown resource type: 'mailalias'

I am new to puppet. Any time I try to use the resource "mailalias" I get the error. Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error...

View Article

client doesn't see data from puppetdb, but see's puppet server's site.pp

No idea what happened, but clients are not getting classified, nor do they see any settings from the puppetdb/web interface. However, if I put something in...

View Article

Image may be NSFW.
Clik here to view.

How To Get More Referring Domains

Have you ever really looked at a Referrals Report in Google Analytics? And did a bunch of big, bright lightbulbs go off in your brain? Man, that is some tempting data.

View Article

Image may be NSFW.
Clik here to view.

How To Get More Referring Domains

Have you ever really looked at a Referrals Report in Google Analytics? And did a bunch of big, bright lightbulbs go off in your brain?

View Article


Image may be NSFW.
Clik here to view.

How To Get Referring Domains

Have you ever really looked at a Referrals Report in Google Analytics?

View Article


The Strength Of Viagra: A Spectacle To Behold

Perhaps no other drug in the entire history of humankind has achieved as much fame (and at the same time, notoriety) as Viagra. Targeted at curing impotency, this drug - developed by the pharmaceutical...

View Article

Error: Unknown Puppet subcommand 'infrastructure'

I'm getting the above error on a fresh install of a puppet master when trying to configure the replica master High Availability. puppet version is 2019.1 [root@puppetmaster modules]# puppet...

View Article

Being Young and Using Generic Viagra or Cialis

Here's a little glossary to help you decode the difference between all your Viagra options. (Note: Many of the drugs that say "Viagra" are actually generic Viagras, using the term, as it has now...

View Article


Double Colon - Proper, Improper and Preferred Usage

Should double colons ever be used for class inclusions defined type instantiations (to indicate absolute namespacing)? When I started using Puppet, a long while ago, most facts were used in what is now...

View Article

Matching derived properties for resource changes in a custom type and provider

I'm writing a custom type and provider to manage licenses in a piece of software. In the puppet site I can define a resource like this: license { 'name_of_license': license_string => 'some license...

View Article

I would like to only run a puppet module if the owner of a file is root. How...

I would like to monitor the user and the group of the apache and php directories. If at some point the user and group change I would like to run a puppet module that changes the user and group back to...

View Article

abricot sexe

Le depart des chers vieux parents, salope dp qui vont, comme tu dis, au repos eternel, est une loi de la nature

View Article



Image may be NSFW.
Clik here to view.

Top 10 Best Citrus Juicers For 2019

View Article


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