Facter factname command is showing blank output
While I am running command it is not giving any output. root# facter kernel.rb root# I am running this from the default ruby load path which is /Library/Ruby/Site/facter. The facter version is root#...
View ArticleIs there a way to use vagrant up on the learning VM?
I've done some work in Puppet but I'm planning to fill in gaps in my knowledge, so I'm about to use the learning VM tutorials. I have a sense that I'm going to want to wipe it a few times to get back...
View ArticleHow to install open source Puppet v4 (not v3) on Ubuntu Xenial?
I'm trying to install Puppet 4, but when I install it per the instructions, I only get Puppet 3.8.5. For instance, if I follow the links here: https://puppet.com/blog/say-hello-to-open-source-puppet-4...
View ArticleFacter noting return when windows local not english
When facts output value that include not english characters, output blank. I find that Facter::Core::Execution.execute('c:\windows\system32\net.exe localgroup') output blank when net.exe localgroup...
View ArticleHow do I configure Puppet Agent on a Windows server?
How do I configure a Windows server to be a Puppet Agent server? I am running Puppet Enterprise 4.x on CentOS 7 and Puppet Agent 3.7.4 on Windows Server 2012. I am trying to set this up for the first...
View ArticleIs there a way of getting a file to be deployed into a variable to check and use
Im trying to define a class that will .given a source directory structure on the master, deliver a set of files depending on the node. We used this type prior to puppet. e.g. ROOT-DIR/etc/motd:RedHat...
View ArticleConfigure CA Proxy on puppetserver 2.3.2
We are running a central CA on one of the puppet master server. Before we used ca_server configuration inside the puppet.conf for all our clients. Now we would like to configure CA proxy on the compile...
View ArticlePackage mcollective-logstash-audit not found for Red Hat 7 repo
Why does the package mcollective-logstash-audit is not present on the puppetlabs RedHat 7 yum repo (https://yum.puppetlabs.com/el/7/products/x86_64/)? Ps.: The same package is present on the RedHat 5...
View Articlemcollective-logstash-audit on RHEL 7
Why does the package mcollective-logstash-audit is not present on the puppetlabs RedHat 7 yum repo (https://yum.puppetlabs.com/el/7/products/x86_64/)? Ps.: The same package is present on the RedHat 5...
View ArticleHow to remove invalid endpoint from Puppet Services status in console
I was attempting to configure a compile master in my environment and ran into a problem because its puppet.conf was pointing at a load balancer address instead of the cert name of the MoM. After...
View ArticleClass containment: wrong order
Hi, Regarding to the blog post "[class containment in puppet](https://puppet.com/blog/class-containment-puppet)" am I using the following (simplified) setup: **hieradata/common.yaml** classes: -...
View ArticlePuppet Enterprise Installer - Validating page stuck
I am trying to install puppet-enterprise-2016.1.2-ubuntu-14.04-amd64.tar on ubuntu 14.04. I get till gui mode . I open that URL with 3000 port and select monothilic and on to same server. I fill FQDN...
View ArticlePackages aren't installing on Ubuntu
Good morning, I am trying to manage packages with puppet, and it is working on my RHEL/CentOS, but not my Ubuntu servers, and I cannot figure out why. The code is as follows: case $operatingsytem {...
View Articletomcat context and instance resource ordering
I have a class as below: I need to set the resource ordering such that the Tomcat::Instance gets created first and then this class executes, how do i do that? I tried require Tomcat::Instance but it...
View ArticleWindows Puppet agent refusing to register with the puppet master
I'm attempting to begin to test the waters and learn to use Puppet. My main goal is to learn how it use Puppet in conjunction with a Windows server. To this end I've made a pair of VMs; a CentOS 7 VM...
View ArticleHow to add a line to file only if directory exists, else do nothing
What would I use to check if a directory exists for true/false answer without generating an error. I can't use file, because ensure => present or absent with create or remove the directory. Then...
View Articlefile vs File and changing several lines in a exclude file
When I run this, it works on those directories that exist, but fails dependency on missing directories. Notice: /Stage[main]/Profile::Baseline::Tsm_oracle_audit_exclude/Exec[Recycle TSM]: Dependency...
View ArticleAccessing Hiera variables
I have specific hiera data that I would like to reference in my modules. For example have a variable have a different value from production versus non-production. How do I made a reference in my...
View ArticleNew module classifications are missing? in puppet gui, classification, classes
I added the following to my puppetfile, committed it, and then on my puppet server ran "puppet code deploy production -w", but don't see the new module in the classes list. Yes I did a refresh, but...
View Article