How to add parameters for graphite class on the Learning VM so quotes do not...
I am very new to puppet, so I expect i have done something obviously silly. I have recently downloaded the learning vm (2016.5.1) and imported into Virtualbox. I have completed the initial 3 quests,...
View Articlehiera automatic parameter lookup does not appear to work
I'm trying to convert my manifests to use automatic lookups instead of hiera-function lookups and it does not appear to be working. Here are my hiera yaml and profile manifests: my.yaml:...
View ArticleHiera parameter value is not received by Puppet
I'm trying to configure kerberos (using pfmooney/mit_krb5 module) and set some parameters from Hiera. The parameter is declared in Hiera as follows: mit_krb5: 'default_realm': 'DOMAIN.COM' I ran the...
View Articlehow to not apply a resource in a module
How do I conditionally apply a resource type in module pp file. ? For example, if I want to run a package resource based on a availability of a file, not necessarily fail the package resource, How do...
View ArticleCan I rename my Puppet Forge account?
I would like to rename my Puppet Forge account. Is this possible and if so, how?
View ArticleWhat do a Compile Master and the Master of Masters talk about?
Just trying to wrap my brain around the communications flow when a compile master is used. And specifically while things break down if the compile master cannot communicate with the MoM. As I...
View ArticleNo route to host error
Hello, I set up an ubuntu agent and ran a puppet agent -t and saw the error below. I ran a netstat -tlnp and can confirm port 8140 is open. I can also telnet to it from the agent using the fqdn I can...
View ArticlePuppet v4 dns_alt_names on multiple masters
Hi Guys So, I've got a setup of 1 CA master and 3 non-CA masters using a load balancer setup (an A10 pair if it matters) In puppet.conf, I have CA: dns_alt_names = pm-a10.ops.x.x.x,pmca.ops.x.x.x...
View ArticleNewbie - Failing to create a local group on windows server because user exists.
I am newbie with Puppet so I might be missing something obvious. I am trying to create a group in my lab (one puppet master PE 2016.5, one controlled node Win2012 R2). I am trying to create a group on...
View ArticleInstall & setup r10k on open source puppet v4
Hi Guys, is there an up to date / modern guide to installing and setting up r10k on Open Source(!) Puppet v4.? All the links I've found seem to refer to v3 eg $confdir/environments instead of...
View Articlehow to check the command output executed by provider?
def create yum('install', '-y', resource[:name]) # how to see its output end
View ArticleCustom Type with Property 'site' Fails 'puppet parser validate
Runtime environment: puppet_version=4.8.1, ruby_version=2.1.9 I have developed my own Custom Type and Provider for use with IIS. One of the Custom Types is 'iis_app', which has the param/namevar...
View ArticleIs it mandatory to invoke custom provider methods or it will invoke itself?
I have developed my own type and provider. when I apply none of the method is invoking from provider.
View ArticleERROR 500 on Windows Server
Running the latest version of Puppet on the Windows client and Puppet master is version 4.5.3. The agent used to work correctly but no longer shows any information on Foreman while other machines work...
View ArticleLearning VM how to get help with "simple" Question
I have what seems to be a simple issue, whilst going through Learning VM and the Quest guide, but I do not know who to ask to resolve it? The doc says to add the following parameters to be able to...
View ArticleAnyone had issue with scripts exected by Puppet read the contents of a file...
I have a small script tat is executed by Puppet using the exec module. The script reads through the file, in a do while (I have also tried a for loop) but it seems to read the file contents twice?
View Articlepuppetlabs-pe_infrastructure
Hi, Today I have installed PE 2016.5.2 and enabled high availability by provisioning a replication node. Everything working fine but I can see below warnings. # puppet module list --tree Warning:...
View ArticleHP Printer Support phone number +1-800-978-0818
HP Printer Support HP printer support phone number +1-800-978-0818 to represent the online support in 24/7.am the provider to technical problem solution of online support to HP printer support, if...
View ArticleHow to access the the parameters within same type?
for example newparam(:foo) do end newparam(:bar) do self[:foo] #This gives me eroor. How can I access the above parameter in custom type? end
View ArticleWriting facts for Windows in Ruby
Hi, I'm working on fact for Windows that should display parameter "server" from puppet.conf file. I wrote this fact for Linux and there is no problem. There is a code: Facter.add(:puppet_master) do...
View Article