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

Puppet 5.5.7 major deprecation changes?

$
0
0
After upgrade from Puppet `5.5.6` to `5.5.7` I'm hitting a strange error: Could not evaluate: undefined method `split' for ["www-data"]:Array that might be connected to Custom Type provider, though I can't find any usage of `split` function in my codebase. Any idea what could cause such error? The changelog [doesn't suggest major changes](https://puppet.com/docs/puppet/5.5/release_notes.html#puppet-557).

Pulling data from two different Hiera servers

$
0
0
Is it possible to pull data from two different Hiera sources? We are currently in a transition period of switching from Puppet 3.x to 4.x and because of that we have two different Puppet servers. One running older nodes and the other newer nodes. During this transition period there is data on both that changes (that need to be included on both) and instead of adding the new data on each to keep them both updated it would be nice to just pull each one's data independently. As in I'm running Puppet 4.x on a newer node and I need data from the Hiera on the Puppet 3.x server I could just pull it from there.

Pulling data from two different Hiera servers

$
0
0
Is it possible to pull data from two different Hiera sources? We are currently in a transition period of switching from Puppet 3.x to 4.x and because of that we have two different Puppet servers. One running older nodes and the other newer nodes. During this transition period there is data on both that changes (that need to be included on both) and instead of adding the new data on each to keep them both updated it would be nice to just pull each one's data independently. As in I'm running Puppet 4.x on a newer node and I need data from the Hiera on the Puppet 3.x server I could just pull it from there.

Five Things to Remember Before You Order Viagra Online

cheap nfl jerseys 21054

How do I create an acceptance test for a custom function ?

$
0
0
I am trying to help out on The Forge, and the folks running the pull requests/merges are asking for an acceptance test. https://github.com/voxpupuli/puppet-yum/pull/123

Viagra: A Brand That Won't Go Away

Recreational Viagra Use on the Rise


Discount Auto Parts High Performance Products At Low Price

$
0
0
Being your own broker - You should determine who is going to make your offer. A broker, or yourself? If it is you then you should locate the necessary offer forms and study them carefully. Determine what must be in your offer so that you can put in an offer, the instant you find a business that meet your requirements. This is an important step, as putting in an offer tends to lock out other buyers while you look over the business. Make sure you have contingencies in your offer, which means you have lots of "get out of the deal" clause.

Of course, you can say that this vehicle is unique in its own way. It is a combination of various auto technologies and auto features that works with a cool synergy which gives the vehicle a unique boost in appeal and performance. Of course, it would not come with Volvo 260 Series parts. It would be coming with its own pick n pull and accessories that would give it a unique look.

Low quality chargers will produce a strong, rapid charge that often will decay electrodes and boil out liquids. We strongly recommend purchasing a charger that

Least expensive way to get a rhinoplasty in Plano Texas

$
0
0
It's incontrovertible that rhinoplasty is already an established Procedure but you cannot be too sure, especially now that there is a growing percent of teenagers who wants to have this procedure. Researchers and physicians will create new tactics to cater this growing demand. For observers, the very best we can do is accept this reality and go with the flow.

Help extracting full hash (with title) from a hash of hashes.

$
0
0
I have a YAML that looks like this: Cluster_list: server1.domain.com: port: 1234 ssl_port: 0987 server2:domain.com: port: 1234 ssl_port: 0987 server3.domain.com: port: 1234 ssl_port: 0987 The lookup would give a hash like this into the variable: {server1.domain.com => {port => 1234, ssl_port => 0987}, server2:domain.com => {port => 1234, ssl_port => 0987}, server3.domain.com => {port => 1234, ssl_port => 0987}} I can then grab one of the internal hashes using a subscript of ['server2.domain.com']... this returns the children of server2.domain.com. How can I also get the title for this hash into the variable? What I want to do is basicially: $this_server = $lookup_var[$facts[fqdn]] and end up with $this_server having the full hash: `server2:domain.com => {port => 1234, ssl_port => 0987}`

Puppet Agent reports "Failed to apply catalog: Could not find dependency File"

$
0
0
Hi All, I'm new to Puppet and I need your help please. --> I'm re-configuring puppet in manuscript but testing agent fails with dependency error: root@agent:~# puppet agent --test --noop --debug --verbose <...> debug: Creating default schedules err: Failed to apply catalog: Could not find dependency File[/plugins.d] for File[/plugins.d/irq.conf] at /etc/puppet/modules/collectd/manifests/plugins/irq.pp:8 root@agent:~# --> The file is there on the puppet master: root@master:~# ls -l /etc/collectd/plugins.d/irq.conf -rw-r----- 1 root root 15 Jan 21 2015 /etc/collectd/plugins.d/irq.conf root@master:~# --> I tried replacing file location variable with hard-coded path but the agent test still complaining about it. Thanks in Advance! Thanks, George Gabra

How do I create an acceptance test for a custom function ?

$
0
0
I am trying to help out on The Forge, and the folks running the pull requests/merges are asking for an acceptance test. https://github.com/voxpupuli/puppet-yum/pull/123

Puppet Agent reports "Could not retrieve catalog from remote server: Error 400 on SERVER: Moduleis not compatible with windows"

$
0
0
Hi All, I'm working on re-configuring Puppet on already configured environment but Puppet agents on windows machines are failing with error "Could not retrieve catalog from remote server: Error 400 on SERVER: Moduleis not compatible with windows" Running Puppet agent on demand ... info: Retrieving plugin info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/active_install_facts.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/artifact_facts.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/concat_basedir.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/config_facts.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/facter_dot_d.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/fogbugz_generation_facts.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/keepalived_version.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/osreleasemaj.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/pe_version.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/puppet_vardir.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/pygpgme.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/root_home.rb info: Loading facts in C:/ProgramData/PuppetLabs/puppet/var/lib/facter/service_facts.rb err: Could not retrieve catalog from remote server: Error 400 on SERVER: Moduleis not compatible with windows at /etc/puppet/modules/python/manifests/init.pp:44 on node . warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run Press any key to continue . . . On Puppet Master there is "Module compatibility check" on "/etc/puppet/modules/python/manifests/init.pp" file which check OS family grep -v "^#" /etc/puppet/modules/python/manifests/init.pp class python ( $version = 'system', $pip = true, $dev = true, $virtualenv = true ) { # Module compatibility check $compatible = [ 'Debian', 'Ubuntu', 'CentOS', 'RedHat' ] if ! ($::operatingsystem in $compatible) { fail("Module is not compatible with ${::operatingsystem}") } Class['python::install'] -> Class['python::config'] include python::install include python::config } Is there a way to make nodes running Windows OS skip checking that module? Thanks, George Gabra

Generate array

$
0
0
Hi, Is there a way to push elements to array? I have an each loop and I need to add keys to a new array. Thanks

Pickup Insurance Offers The Coverage You Need

$
0
0
But it was the roof that almost caused me to become a suicide bomber of the shed. The end panels are even flimsier than the rest of the shed. I had to get my wife to help hold them in place while I wrestled with mating surfaces up for screwing. The roof panels didn't line up with the so-called roof trusses, and trying to find the microscopic holes was ridiculous. I wound up drilling the screws into the trusses regardless of where the holes were. It turned out better anyway.

Much like roofing materials, old drywall can be pretty heavy. Trying to haul a lot of drywall in your Pickup truck may put unnecessary wear on your vehicle. Also when removing the drywall, you don't want to have to stop to make multiple trips to the landfill.

Buying truck parts through the internet seems to be profitable and of good use. Bulk purchase helps a lot in providing discounts. Consider the internet as a discount method for purchasing in bulk quantities.

aftermarket truck parts Actuators are installed in lifts

Puppet Agent reports "Failed to apply catalog: Could not find dependency File"

$
0
0
Hi All, I'm new to Puppet and I need your help please. --> I'm re-configuring puppet in manuscript but testing agent fails with dependency error: root@agent:~# puppet agent --test --noop --debug --verbose <...> debug: Creating default schedules err: Failed to apply catalog: Could not find dependency File[/plugins.d] for File[/plugins.d/irq.conf] at /etc/puppet/modules/collectd/manifests/plugins/irq.pp:8 root@agent:~# --> The file is there on the puppet master: root@master:~# ls -l /etc/collectd/plugins.d/irq.conf -rw-r----- 1 root root 15 Jan 21 2015 /etc/collectd/plugins.d/irq.conf root@master:~# --> I tried replacing file location variable with hard-coded path but the agent test still complaining about it. Thanks in Advance! Thanks, George Gabra

else clause in module not working

$
0
0
Bare with me as i'm still new to Puppet. I'm currently writing a module to install an agent on a Windows machine/s. below is the code: class agent { if $facts['agentisnotinstalled'] { include agent::install } else { file { 'c:\puppetfiles\agent.msi': ensure => absent, } } } essentially it pulls a fact, within the module, that returns as TRUE that the agent is NOT installed. under the module agent::install it then copies the msi to the client and installs the package, now what i'm wanting it to do, is on a second run, it would return FALSE, the agent IS installed, and delete the MSI package as it is not required on the file system anymore. unfortunately, it doesn't seem to be running the 'else' block . the reason i'm doing this is that, if we have multiple different modules all running different installation packages, we'lll end up with installer files kept on the system, and am just trying to do cleanup along the way built into modules

Problem in starting puppet server on Ubuntu 16,04

$
0
0
I have currently installed puppet server on Ubuntu 16.04 but while executing this command sudo systemctl start puppetserver it shows "Job for puppetserver.service failed because the control process exited with error code. See "systemctl status puppetserver.service" and "journalctl -xe" for details."

PuppetServer is not running on Ubuntu 16,04

$
0
0
During first Run i am unable to start PuppetServer i have executed the following command to start the server "sudo systemctl start puppetserver" and it shows Job for puppetserver.service failed because the control process exited with error code. See "systemctl status puppetserver.service" and "journalctl -xe" for details.
Viewing all 6104 articles
Browse latest View live


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