Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Browsing all 6104 articles
Browse latest View live
↧

ntp puppet module

Hi, I am new in the puppet work. In the infraestrucutre thre I handle I got a problem with th ntp syncro. From time to time the date get desconfigure. We got a red hat satellite thre I include the...

View Article


Clarification wanted on facts and global variables in Puppet v4

I run Puppet server 4.5 aka puppetserver version: 2.4.0. On this server I have a line in site.pp $network = hiera_hash(network) This causes a error (when running the server against itself) Cannot...

View Article


How to use a each loop on class parameter

I have a puppet classe with more than 300 parameter (for firewall configuration). I'm using ini_setting to set different module into the firewall. Currently, for every setting, I need to write a...

View Article

Unable to download opensource puppet

I go to the site, https://puppet.com/download-open-source-puppet/ to download I fill in the form with my email address etc and press the download link It goes to this URL:...

View Article

Failing to set SELinux context on NAS drive

I'm getting the below error when copying a file from my puppet master to a puppet agent. I don't get any errors when moving the file to a local location on the server e.g. /tmp but I do when I move it...

View Article


Dependency loop with removal of directory and files when setting enabled to...

I have a puppet module to manage firewalld, including creating the /etc/firewalld dir and adding the custom services xml files to /etc/firewalld/services/ The dependency ordering for enabled="true" is...

View Article

Define file array to be used in resource ordering

Hi, Is there a way to group all the file resources together to allow them to be specified as one variable in the ordering? eg. Package["$package_name"] -> File['$config_files'] ->...

View Article

PE code deployment fails with undefined method when external modules declared...

I've created a basic Puppet Enterprise setup for testing. It has a puppet_control repo (using the Puppet-supplied example), uses Code Manager and only pulls in a handful of modules from the Forge and...

View Article


multiple environment variable in "exec" command

Hallo Everyone, my previous "exec" command configuration added one environment variable, but only in case the variable is declared in hiera. exec { "my_command": command => "cat /do/something",...

View Article


Remove lines from a file?

Is there any way to ensure that a file must not contain any lines matching a particular substring or regex? For example, say I want to ensure that file /etc/something.conf does not have any lines that...

View Article

How to remove extra white spaces in a template in puppet

I want to put a/few values in a file using puppet but when I do the following:<% @_zoo_cfgs.each do |zooconfig| -%><%=zooconfig -%><% end -%> I get the below content in the file:...

View Article

Custom Facter for vulnerable kernels

Team, I want to write a custom facter to find out the hosts which are having vulnerable kernel. Recently there is security thread for 500+ RHEL family kernels. I have the list of vulnerable kernels, so...

View Article

no implicit conversion of Symbol into Integer : Issues with Hiera calls.

Seems im having issues with Hiera.. Every call to this function no mater what im trying to pull is giving me this syntax.. ive been pulling my hair out and im sure its simple. File for hiera is...

View Article


how can i install facter 3.3.0 with tarball

I want to install puppet 4 for freebsd, and i dont know how to install the facter 3 from tarball.... There is no document for it..... OMG

View Article

Code manager appears to throw java exception on request to...

Greetings! I'm new to puppet enterprise, and trying to get up and running with a new control repository. Mostly this works fine, but sometimes after a restart of service pe-puppetserver, I am unable...

View Article


using values of Puppet Facts in template erb file

I am trying to find how can we use puppet facts values into an template configuration erb file. sample template variable to be configured zk.l.conn= expected "zk.l.conn" configured dynamically by...

View Article

How to manage NIS client - Could not evaluate: Could not find init script or...

I'm trying to manage nis client on Ubuntu 14.04. I'm getting "Could not evaluate: Cold not find init script or upstart conf file for 'nis'". Here is the module being called: class...

View Article


How to install puppet enterprise in SLES 12.1

![image description](/upfiles/14780457518698327.png) How should I proceed to install PE? Or can't I? Thanks for the help.

View Article

Migration from SVN to git

I'm building a new puppet 4 master, using r10k and git repositories. The original plan was to migrate our puppet3 configurations by re-write .. but there has (suprisingly) not been time to do that....

View Article

How can i download files and folder recursively from HTTP using puppet

I wan to download all files and folder located at one particular HTTP path example I need all files and folders from http://abc.com/xyz/

View Article
Browsing all 6104 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>