puppet-jira: could not find class staging
Hello, I'm trying to use puppet-jira module (https://github.com/voxpupuli/puppet-jira) under Profile/Role architecture. /manifests/site.pp: node 'jira.intranet' { include role::jira }...
View Articlegetting expected catalogue error when pass parameter in rspec
Hi, I have below manifests define module::defclass ($dir,$fs_name=$title) exec { " '${dir}' exists" : path => [ '/bin', '/usr/bin' ], command => "mkdir -p ${dir}", unless => "test -d ${dir}",...
View ArticleRazor Server set static IP
What is the standard way to set a static IP on a node after it has been deployed with Razor. I am doing a POC with Razor, I was able to deploy a CentOS server. However, I'm unsure of how to set the...
View Articlepuppet-agent install not working
Trying to install puppet-agent on client servers CentOS-5 and CentOS-6. Ran the rpm rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-5.noarch.rpm and release-el-5 on respective servers. In the...
View ArticleCode manager can't checkout from Git repository
I'm truing to setup Code Manager on fresh install of PE 2015.3. This is what I see in log file when trying to deploy environment from Git repository: ERROR -> Unable to determine current branches...
View ArticleThe environment must be purely alphanumeric?
I'm working from https://docs.puppetlabs.com/puppet/3.8/reference/post_install.html I'm using CentOS 6.7 I did 'yum install puppet-server', set the dna-alt names, and 'sudo puppet master --verbose...
View Articlepuppetlabs-tomcat After module install how do i apply the manifests
Hi, I have downloaded puppetlabs-tomcat in the vagrant VM for dev environment. After that, how do I install tomcat and deploy war files with that, what are the files that are to be modified. Since it...
View ArticleBug in documentation
https://docs.puppetlabs.com/puppet/3.8/reference/post_install.html says: "In the [main] section of the master’s puppet.conf file, set the dns_alt_names setting..."...
View Articleprobelm getting "each" function to work
new to puppet. I am having issue with "each" function to work on my array. code is: include stdlib $data = ["one","two","three"] $data.each |String $val| { notify {"$val":} } Error: Enterprise 3.7.2)...
View ArticleHiera calling a parameter set in a module
I am wondering if it is possible or if there is a better way for having a yaml file used by Hiera to have dymanic configuration My current hiera config is as follows. :backends: - yaml :hierarchy: -...
View ArticleHiera calling a parameter
I am wondering if it is possible or if there is a better way for having a yaml file used by Hiera to have dymanic configuration My current hiera config is as follows. :backends: - yaml :hierarchy: -...
View Articleservice status check
The init script I have for a service I am managing in puppet is all messed up so instead of using the standard 'ensure = > running' and waiting for an exit code of 0 or 1 I have to write my own...
View Articlewindows msi install ignores puppet master address
I've just installed puppet agent thru MSI on Win Server 2012 R2. (During the install it asks for puppet master address). I've checked that C:\ProgramData\PuppetLabs\puppet\etc\puppet.conf contains...
View ArticleHow can I use package to install a local rpm at a specific location
Hi, With `rpm -ivh --prefix=/opt/mylocation my_package.rpm` command I can have my_package installed under `/opt/mylocation`. How can I do the same with package using `rpm` provider? package {...
View ArticleFacing issues with File resouce with folder name called "environment"
I am trying to recursively transfer files from puppet master to my agents with inbuilt fileservers. I am having directory name called "configuration" which having few files and directories.One of that...
View Articlehow to install a puppet module?
Hi All, Is there a way to install a puppet module locally? Thanks, viki
View ArticleIs there any way to access the puppet configuration version from a manifest?
I find myself needing a way to determine lines of a file that were updated (via augeas) during this puppet run. Since each puppet run has a "configuration version" associated with it, I thought that...
View Articlehowto create firewall custom rules?
Is there a way to create firewall custom rules? with puppetlabs firewall module? for example: /sbin/iptables -I INPUT -p tcp --dport 25 -m string --algo bm --string 'ylmf-pc' -j DROP regards
View Articlesub sub folders in hieradata
Hey comm, I'm using Puppet 4 Open Source. Being boggled about the following. I simply would like to have subfolders in my hiera datadir like the following. `/hieradata/osmajrel/CentOS/7.yaml`. So that...
View Articlenagios installation using puppet
Hi, do we have any good document on installation of nagios by using puppet. I am using puppet 4.3 enterprise version and cent os 7. I have checked couple of url but those are not working. Thanks,
View Article