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

differentiate define with virtual resource type with an example?

kindly explain me about the differences between define and virtual resources with example. in which situations we using define and virtual resource type?

View Article


How do I modify a user, who has a service running?

I am just starting out with puppet. I took the https://forge.puppetlabs.com/saz/ntp Package, since it was suggested in the tutorial. After reading about how you should organize your code, I decided I...

View Article


Refreshing Hiera data or other "dynamic" data sources

Hello all, I've got a question about `Hiera` or any other possibility to make data dynamic. Currently in our config we use `Hiera` to have our data and code separated. So in the manifest we have a...

View Article

Why does puppet make an entry regarding triggering re-parse of all config...

Why does puppet make an entry regarding triggering re-parse of all config files even when the file has not been modifed? Could this action affect any service? It seems to occur every 7 days, however,...

View Article

Install a software with ".properties" file on Windows

Hi all, I am trying to automate deployments of our company's product (which is a windows based application) on the AWS VMs. So I am using puppetlabs-aws module to automate the deployment and now I...

View Article


How to declare modules in site.pp in my case

i am trying to trigger a file named instance.pp which is in following path /etc/puppet/modules/websphere/manifests/ihs/instance.pp i am trying to call the module from site.pp as follow node...

View Article

Are user and groups available to install_options in a package?

Here is my class: class myapp::mymodule::install { $packages = [ 'jetty-9.3.0', 'java-1.8.0-openjdk', ] package { $packages: ensure => installed, } } This installs jetty as root. But I would like...

View Article

Diet Preparation, Part V: What Can Assist You Visit Sleep

If you are reading this, it means either you or someone you care about is suffering from some form of back. So, let's not bore you with statistics on back pain, let's cut right to the chase and give...

View Article


The Perfect Bodybuilding Shoulder Workout

It is amazing to know that most people know the answer to how much water to drink every day, but yet they have failed to practice what they know about drinking water. If you ask, most people know that...

View Article


How to update /etc/nslcd.conf using augeas

Hi, I have a requirement to update entry in /etc/nslcd.conf, is it possible to do it with augeas? if so how can i update the below entry? enable-cache hosts no augeas { '/etc/nslcd.conf': lens =>...

View Article

kill process

Kill with exec is not working.Can u help ? exec { "restart_process": path => ['/usr/bin', '/sbin', '/bin', '/usr/sbin'], command => "ps -ef | grep nrpe | grep -v pts/1 | /bin/awk '{print \$2}' |...

View Article

404 File Not Found on yum repo?

I'm running CentOS Linux release 7.1.1503 (Core) and attempting to install Puppet Server. I've tried using both the puppetlabs-release and puppetlabs-release-PC1 repos, with both giving the same...

View Article

yum install agent is throwing Error

My Agent is RHEL6U6. I am following puppet labs agent isntallation guide. First i installed : sudo rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm It went fine and rpm was...

View Article


how to source a file for exec when using puppet

Hi, I have to execute a script using puppet which requires few variables to be sourced before its executed. I am using exec to execute the script and my code looks like: exec { 'my_task': command...

View Article

How do you deal with dynamic hiera parameters?

I am making a module for a rails application. Problem is, every rails app has multiple .yml files aside from the standard database.yml. I wanted to handle configuration with Hiera dynamically. The...

View Article


Basic Suggestions To Making Your Own Personal Candles

Candle-MakingFor those with an artistic vision, candle making can simply become among your favorite pastimes. However, you would possibly eventually want to take more candle-making more significantly....

View Article

Unable to use default installer to install Puppet Enterprise

I thought I would give Enterprise a test whirl, but I'm getting the following error (seems like a dead link in the installer). Error: curl -f -L -o puppet-agent-ubuntu-14.04-amd64.tar.gz...

View Article


Candle Making May Well Be More Fun Than Ever Before Using The Correct Materials

Candle making is just a hobby that many people enjoy. Now a person can get guidelines on how to make candles athome. There are always a number of websites that'll provide candle-making instructions on...

View Article

How to delete an file when exec failure

There is a request when I using puppet, the working flow are as below: 1. place a file to a defined location, such as /home/workingdir 2. call a command using puppet exec, 3. if the exec is called...

View Article

How to delete file when exec fail

There is a request when I using puppet, the working flow are as below: 1. place a file to a defined location, such as /home/workingdir/file1 2. call a command using puppet exec, 3. if the exec is...

View Article
Browsing all 6104 articles
Browse latest View live


Latest Images

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