getting arp result from agent
Hi, I have master and several agents. I connect with agents with mco command for immediately commands execution. Now I have to execute on specific agent comand: arp -an | grep 192.168.22 .. and capture...
View ArticleHiera, yaml and anchors
Hi, I have a data-set in my Hiera yaml file that has a couple of repetitions I'd like to reduce. [Yaml allows anchors](https://en.wikipedia.org/wiki/YAML#Repeated_nodes) to refer to defined data-sets....
View ArticleHow to check a service:port on another node
Hello Puppet folks, I'm looking for ideas to implement inter-node connections/checks to my Puppet code. For example: we have multiple Apache webservers connecting to several MariaDB servers, Memcached...
View Articlecapture output of command execute
Hi, I use mcollective for connecting with agents and managing immediately. Now I need to execute command on agent and capture output of it. I haven't foung any way in google for it. So question... how...
View ArticleWindows DHCP configured with Razor Puppet Open Source
Hello Puppet Users I am very very new to Puppet/Razor so if this is a dumb question please bare with me. I was reviewing Puppet Labs documentation...
View Articlewhere should i configure yum repos ? In puppet master or puppet Agent?
For the module to be installed in an agent from the master, i came to know that yum repository should be configured so that the module can extract the software packages from yum repos. But my question...
View Articleconfiguring puppet master server with passenger and apache
I am following configuring puppet master master server with passenger and apache steps from puppetlabs Documents. i was facing trouble in the step " Create and enable the puppet Master Vhost. In that...
View Articlecreate a system user
I would like to create a user with a uid in the dynamic system range (on Debian it is 100-999). I am aware I can create a user without specifying the uid: puppet would use the first unused uid in the...
View Articleaccess default values from other modules
I have a java application for which I wrote a component module (see code below) that deploys a war file on tomcat using the forge module puppetlabs/tomcat # Class: openmrs: See README.md for...
View ArticlePuppet 4 Instllation
Hi All, I have used community edition puppet 3.1.1 versions before and want to try puppet 4. I am quite confused with puppet 4 installations. Are the packages listed in the below URL/repo what...
View Articlepuppetdb termini installation is removing puppet and puppetmaster
I have installed puppetlabs-puppetdb module v5.0.0. As given in the instructions, I am changing my manifests to include puppetdb and master config like below: node puppet { class { 'puppetdb': } class...
View Articlehiera not looking up all files
so my hiera.yaml file looks like this --- :backends: - yaml :hierarchy: - "%{::osfamily}/%{::operatingsystemrelease}" - common - defaults :yaml: :datadir: "/etc/puppetlabs/puppet/hieradata" and i have...
View ArticleDetails about ESTA
To use for an ESTA, a person must satisfy specific prerequisites. These necessities offer you the correct to travel to the USA. To start with, you must make sure that your country is inside the Visa...
View ArticleHow to check whether port 8140 is pointing to puppet master?
I installed open source puppet master and also configured apache passenger web server by following the puppet labs document. now httpd service is running fine but my question is how can i know or...
View ArticleHow do I debug - Could not find relationship target "File[]" error
I am creating and provisioning a virtual machine. The OS is CentOS. In the /var/log/messages log file I see the error Could not find relationship target "File[]" but there isn't any other information....
View Articlemerge facts in hiera.yaml
Hey comm, **Setup puppet server** CentOS 7.1.1503 puppet 4.2.3 facter 3.1.1 hiera 3.0.4 **Setup puppet agent** CentOS 7.1.1503 puppet 4.2.3 facter 3.1.1 hiera 3.0.4 **Question** I simply would like to...
View ArticleIs Rake console supported in puppet 4.0 +
Is rake console api supported in puppet 4.0 +, I see that in the documentation it is mentioned that it will be deprecated. Also are there REST api support for creating node classifications in puppet...
View ArticleRake command not working in puppet 3.8
rake command is throwing error in puppet 3.8. The following is the command and the error.>/usr/bin/rake -f --trace /usr/share/puppet-dashboard/Rakefile RAILS_ENV=production...
View ArticleDeclare a resource only if not already declared?
I'm writing a module for which there are a number of resources that I want to declare, but only if those resources do not get declared elsewhere - in other words, I want a set of "default" resources...
View Article