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

Nessus report show that puppet cert need to be fixed. How can I do that?

Hi, I am doing a PCI-DSS compliance meaning I need to scan every host in my environment with nessus in my case. Nessus is showing those vulnerabilities on puppet server : SSL 64-bit Block Size Cipher...

View Article


orawls::domain custom values are throwing a 'no parameter' error

I would like to seek some help. I am currently starting to use puppet in our organization and there are a few things we need to customize. First, how can I override default value for the domain's...

View Article


command "puppet resource scheduled_task" , it does not provide all the...

I found that the above query is only providing the scheduled task listed in directory path "c:/windows/system32/tasks". But there are many other scheduled tasks under directory "c:/windows/tasks" ....

View Article

module data hiera: Function lookup() did not find a value for the name

Given a module like: mymodule/ |-- data | `-- data.yaml |-- hiera.yaml |-- manifests | `-- init.pp `-- metadata.json mymodule/hiera.yaml --- version: 4 datadir: data #data_hash: yaml_data hierarchy: -...

View Article

vim puppet lint remove warnings from syntatic

Does anybody knows how to remove warnings like: [80chars] line has more than 80 characters Syntastic has function to suppress certain warnings via a regex. Does anybody know how the regex for that...

View Article


How I catch the name of puppet module?

When I need to catch the module name, I use this way # /etc/puppetlabs/code/environments/production/modules/xpto/manifests/init.pp class xpto { notify {"Module name is ${name}":} # it's work! print...

View Article

Handle Empty Arrays

I am completely stumped on this one.. I have a module like: class test ( $file, $list, ){ file { $file: ensure => 'file', content => epp('module/list.epp', {'list' => $list}), mode =>...

View Article

undef variable

Hello All I have puppet master in 3.8 version. I need part of code for undefined variable. Example: if var is undefined setup some value something like this but is not working. if $my_parameter ==...

View Article


Regenerate puppet CA on puppet 2.7!

Hi, Still running an old puppet master and need to regenerate the CA, it is running under passenger so the webbrick server is not running. I'm reading through these instructions -...

View Article


NO support for SLES on power?

I installed Puppet Enterprise on some RedHat systems and also wanted to add a few of my SLES 11 and 12 servers for testing issues. They are running on IBM Power machines. As I was looking for the...

View Article

no SLES on power agent?!

I installed Puppet Enterprise on some RedHat systems and it works well. Now I wanted to use puppet on my SLES 11 & 12 systems, too. As I tried to find the agent on the Puppet Master, I saw that...

View Article

Restarting a service from another module

Hello, I have two modules A,B. I wanted to restart a service defined in module A when a config file is updated by module B. How would I do that? This is how my existing modules have module A: has sshd...

View Article

How to get hiera to output the literal string '%{::fqdn}'?

I would like to know what I would need to have in my yaml file to have hiera output the literal string `%{::fqdn}` instead of outputting the value of the puppet fact `fqdn`. Here is what I have tried....

View Article


Error: Could not retrieve catalog from remote server: Error 500 on SERVER:...

Gettign follwing error when I run the command "puppet agent -t " any help would be appreciated. Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin...

View Article

Warning: Unable to fetch my node definition, but the agent run will continue:...

Hi I'm new to puppet. puppet agent conf is: [main] certname = puppetcli.example.com server = puppetserver.example.com environment = production runinterval = 1h #[agent] #server =...

View Article


Ensuring RPM package version

I am trying to ensure a certain version of package which I have built to be installed. The variable my_pkg_version is from hiera package { 'my_package_name': ensure => $my_pkg_version, notify =>...

View Article

how to implement aggregate params through all defined type

I'm really have problem as what is appropriate implementation. i want use some variables at defined resource parameter in separate any classes for non fragment settings . for example, sudoers...

View Article


How can we stop overriding a command to execute repeatedly in the manifest

Hi Team, Could you please help regarding the command which can restrict the command not to override repeatedly. 1. Once after the successful execution the manifest should not repeat the command...

View Article

start / restart service

How do I specify in puppet the start/restart of a service If I have ubuntu 14 and ubuntu 16.x and all the other ubuntu versions that will come. For ubuntus 16X + I have to use systemd and for lower...

View Article

Started to get this error

On every puppet agent: Error: /File[/opt/puppetlabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': Error 500 on SERVER: Server Error: Permission denied -...

View Article
Browsing all 6104 articles
Browse latest View live


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