How to recursively chmod files in directory ?
I'm new to puppet so bear with me. Ultimately, I'd like to chmod all files in a particular directory with one kind of permission and chmod all sub-directories within that same directory with another...
View ArticleProblem on virtual resource
Hello, I'm a bit new on puppet and I have some issues on realizing virtual resources. Here are my manifests below : **manifests/init.pp :** class addmount ($list = undef, $default_nfs_options = undef,...
View Articlehiera lookup failure
Given this /etc/puppetlabs/code/hiera.yaml --- :backends: - json :hierarchy: - "%{hostname}.%{nt_environment}.%{nt_location}" - "%{nt_type}.%{nt_environment}.%{nt_location}" -...
View ArticleWhy do i get deprecated when running rspec?
I get the following warnings when i run puppet rspec: Notice: Compiled catalog for rlcol1autbldv01.mshm.bigpond.com in environment rp_env in 0.33 seconds .Warning: Modifying 'modulepath' as a setting...
View Articleset/lookup mysql ruby array puppet v4
Hi, Got this Error Msg /etc/puppetlabs/code/environments/prod/modules/odbc/templates/etc/odbc.ini.erb Line: 69 Detail: undefined method `at' for nil:NilClass at...
View ArticleWhat folders have to add in version control
I am using git version control have puppet environments prod,dev,stg and tst. So at what folder level i should keep in version control. I mean add one module in one git repository. like that i have 6...
View ArticleBeaker not able to SSH into Docker CentOS container while I can manually
Hi everyone, Basically I'm trying to run some silly acceptance tests on Docker containers before I get my hands dirty with them (my only acceptance test as of now only contains a `notify`). Using the...
View Articlepuppetlabs folder in c:/programdata
during the installation of standalone Puppet agent, the puppet installation creates a folder in C:/ProgramData/Puppetlabs. Is there a way to change the directory for this folder during installation?...
View ArticleFilebucket and Windows
Hello, I'm trying to use the command 'puppet filebucket -l list' on Windows with Puppet agent version 3.8.7 but it is not producing any output. I am however able to get the restore and backup commands...
View ArticleHow to check with puppet installed java web applications
Hi, does someone know, how to check if an application with javaws already installed on windows? Here is the initial command: "\"C:\\Program Files\\Java\\jre7\\bin\\javaws.exe\" -Xnosplash -import...
View ArticlePuppet out of sync in foreman
Hello, I am managing a certain number of nodes in foreman and I have some issues with certain nodes which are out of sync after a certain moment. The certificate is OK, date is correctly synced and...
View ArticleHow to configure pp file to fetch user password from centralized location on...
test.pp user {'user1': ensure => 'present', gid => 'testprog', password =>...
View Articlepuppet resource service and apparmor
Hi there, i am new here and did not find any search form to first check whether this question have already been asked/solved. Very sorry if i missed something. Here is my questions. Working on Ubuntu...
View Articleneeded guidance for puppet certification PPT-203
Hi l am planning to take puppet certification PPT 203 in next month can any one give me guidance on the exam like important parts of the exam and what parts of the exam will be tough. in which parts of...
View ArticleHow to install gems for non-default Ruby with Puppet?
The ruby included with RedHat/CentOS-6 is of version 1.8.7, which is too old for many applications. Though simply updating it with a custom-built RPM is possible, my colleagues shy away from the idea...
View Articlehiera doesn't work
Hi all! I have puppetmaster 4 + puppetdb 4.1 and i try to use hiera... In puppet master: puppet nodes # cat /etc/puppetlabs/code/hiera.yaml --- :backends: - yaml :yaml: :datadir:...
View ArticleGetting wrong certificate (need certificate for client but I am getting...
I am facing certificate issue. Earlier puppet was working on my server and client machine on Ubuntu OS (oracleVM). Today I started my puppet server (pradeepmaster) and puppet client (pradeepclient)...
View ArticleHow can i get the actual state from radiator with api calls ?
Hello , how can i get the actual state from radiator with api calls ? For our monitoring i need the same state like the radiator shows. Best regards Ingo
View Articleuse wildcards to uninstall all microsoft visual c++ version
is it possible to use wildcard to uninstall all the microsoft visual c++ packages in the system?
View ArticleHow to run powershell concatenated commands?
Hello all, I am struggling to get a command working to get the ownership of a registry key and change it if its different than what I am expecting... This is my current code using the powershell...
View Article