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

Graphite issues on the Learning VM need help please

I have started going through the Learning VM and run into an issue on the "Power of Puppet" module. I have followed the guide to the letter and increased VM ram to 4GB at the start. I get through the...

View Article


How to create folder name with custom facts using puppet in Windows ?

I wrote a custom fact to create current date and time in windows.That facts return the current date and time when i notifying it. Eg: notify{"test time": message=>"$::windows_time", } output of...

View Article


pass parameters to puppet api's not from curl

Hi, I'm new to puppet and couldn't find from docs that how to pass parameters to api from any http client and not from curl. Example:- I can get all the nodes information with URL...

View Article

Trying to connect puppetdb to postgres

Getting the error PuppetDB requires PostgreSQL. The [database] section must contain an appropriate "//host:port/database" but postgresql is installed and the puppetdb.conf file is populated according...

View Article

Does file_line trigger a "subscribe" on the file?

Here is my class definition, in part: file { nrpecfg : ensure => file, path => "/etc/nagios/nrpe.cfg", } file_line { 'check_file_count_nrpe' : line => 'command[check_rsyslog_files]=sudo...

View Article


Using LVM, Foreman, multiple LVs and VGs in host group

Using puppet-lvm in Foreman (Satellite 6), I can get the following to work without issue in either an individual node or in a hostgroup definition: vgdata: physical_volumes: - /dev/sdb logical_volumes:...

View Article

Before Automation(puppet) is installed in a organization. how the nodes are...

Hi I am trying to understand the concept of automation in an organization Before and After.How an rapid application is developed?

View Article

vcsrepo and file to run only if git has a newer revision

vcsrepo runs even if latest already present. How do I get both stanzas to run only if latest not present? vcsrepo { "$odbcini_src": ensure => latest, provider => git, source =>...

View Article


Why is apache installing?

This is such odd behavior 1. I am invoking puppet through vagrant provisioner 2. I am using puppetlabs/debian-7.8-64-puppet as the base image The host machine in my case is Windows 7 - the following...

View Article


Image may be NSFW.
Clik here to view.

whereabouts of Santorini isle

Getaways in Santorini is the desire of a lifetime for many people. As this is the best visitor spot in Greece, the region is renowned for the outstanding caldera, the volcano and also the passionate...

View Article

Image may be NSFW.
Clik here to view.

A Spotlight On Secrets For santorini greece

Yachting in Greece, featuring its many gulfs and archipelagos, is known as a yachting paradise. Greece is encircled by two seas, the Aegean Sea and the Ionian Sea, through which are distributed more...

View Article

Image may be NSFW.
Clik here to view.

Mühelos fixer einschlafen - mit diesen Tricks ist es erreichbar!

Wer permanent Probleme beim Einschlafen hat, muss unbedingt seinen Arzt aufsuchen. Manchmal ist die ärztliche Beobachtung im Schlaflabor bzw. beim Psychiater o. Neurologen angemessen. Kurzzeitige Hilfe...

View Article

Is is possible to call a resource from another class

I would like to centralise certain aspects of our puppet infrastructure particularly for service restarts when configurations have been applied and for schedules. For example I would like one master...

View Article


/pdb/query/v4/facts/dmi via REST API ,doesn't get the BIOS,Board details for...

I amusing puppet facts to obtain machine related information. As a matter of fact two fields of interest is BIOS ,Board details.When I use the Rest API /pdb/query/v4/facts/dmi,the above information is...

View Article

How to test puppet changes without committing?

We use Puppet with Foreman here, and it is the Foreman (with the Puppet add-on), that controls, which classes are applicable to each host. Foreman can be told to apply a particular git-branch to a...

View Article


How to create folder name with current date and time in windows 8 machine...

I am using Windows 8 machine as agent.I want to create backup folder having the name of current date and time.

View Article

how to create a folder in the name which stored in the variable? (windows)

I stored the folder name in variable . Then i use that variable in my manifest to create a folder. But it create folder in the name of variable name not what is in that variable. Eg: class...

View Article


Is it possible to clear catalog cache in rspec-puppet

Hi, I have below manifests class module_name { if str2bool("$::is_virtual") == true { $p1 = 'package-name' if $::operatingsystemmajrelease < '7' { package {["${p1}-pae"]: ensure => installed } }...

View Article

How do you pass a parameter to a class when including it in a node definition?

Hi, I'm trying to do something like: \#\#site.pp node /^srv-es-master-(\d+)$/ { $node_type = 'master' include es_node($node_type) } node /^srv-es-client-(\d+)$/ { $node_type = 'client' include...

View Article

upgrade java version installed

Hello all, I am currently using the official puppetlabs java module to manage the java packages on a set of centOS systems. The current java package installed is: "java-1.7.0-openjdk" and I am planning...

View Article
Browsing all 6104 articles
Browse latest View live


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