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

How does the "ensure" attribute from the "service" resource test if a service...

Just to give a bit of context. I'm working on a script to provision Mercurial. There is an init script with "start" and "stop" capabilities. I've written the following block to make sure the service is...

View Article


What is Native Weblogic Function Within Puppet for puppet type and providers ?

What is Native Weblogic Function Within Puppet for puppet type and providers ? and how to create type and providers ?

View Article


I couldn't able to intsall the .msp file using package resource?. Becasue it...

I know that i can use exec command but is there any other way?

View Article

Problems with large numbers of Git files created by filesync module

Recently our dev puppet master ran out of inodes - the culprit was the git files used internally by the filesync module (in turn used by Code Manager). We had over a million files in...

View Article

getting error when installing puppet/foreman. opened firewall and disabled...

[ERROR 2016-06-10 11:38:13 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppet.virtualcloudworks.com]: Could not evaluate: Proxy puppet.virtualcloudworks.com cannot be registered...

View Article


I looking for a module that will config Chrony (RHEL 7) or NTP (RHEL 6) and...

RHEL 7 and RHEL6 use different packages for ntp. Chrony for RHEL 7 and NTP for RHEL6. It would be great if a module could handle both. However, I believe RHEL 7 can run ntpd, but Chrony is preferred

View Article

ericsson/motd 1.0.1 add newline at the end of the content

I'm using ericsson/motd 1.0.1 on a Red Hat Satellite 6 server which uses puppet 3.75. I having a little problem with this motd. I wouldn't put a newline at the end of the content, thus the password...

View Article

What is the native weblogic function within puppet for stop Weblogic ?

What is the native weblogic function within puppet for stop Weblogic ? please let me know how to use ?

View Article


Using razorsedge/network with hiera

Hello I try to use hiera in a profile with the module razorsedge/network, it look like this : class profiles::network { include network::hiera } In my file node.yaml i have : network::bond_static:...

View Article


Machines with signed certs do not show up in the inventory

I have Windows machines that the certs have been generated and I have signed them at the Puppet server. However, they will not display in the inventory.

View Article

SSH Module facter errors

I'm new to Puppet, and I was just following the SSH quick start tutorial. I'd like to demonstrate the ability to configure sshd_config as part of a proof of concept. I'm following the Puppetlabs SSH...

View Article

Could not request certificate

I am getting the SSL certificate problem. I've removed everything in /var/lib/puppet/ssl many times, reinstalled the package and everything but still it fails on the first "puppet agent -t". Error:...

View Article

Can't deploy from git repo with r10k

I'm working on learning to use r10k to deploy my puppet code, and I've run into a snag when trying to deploy from my control repo. The error message I get is: Failed to authenticate SSH session:...

View Article


Does puppetdb require an ssl connection to operate?

Greetings All, I decided to try and implement the puppetlabs-puppetdb and puppetlabs-postgres modules after I had both puppetdb and postgres installed and working on my puppet server. This was ill...

View Article

Get rid of log notice and changes

Hello guys, Still quite new to puppet, but I have a question: Is there a way to get rid of all the notification and changes made when you puppet agent -t a new client? I just want it clean looking,...

View Article


puppetlabs-tomcat staging issue

My working environment needs to deploy latest tomcat along with latest java version. I am trying to use puppetlabs-tomcat to accomplish them. However, I ran into an issue. puppetlabs-tomcat depends on...

View Article

install openldap-clients

I am writing my puppet module to handle installing openldap-clients. The most target systems are CentOS 5 or 6 or RHEL 5 or 6. The package depends on openldap package. Do I need to create dependency in...

View Article


Kickstart provisioning with Puppet

Hello, I need to develop Puppet code for our node management. I use Kickstart to provisioning a machine or VM. After that, I still need to manually run rpm command & vi command to install and...

View Article

puppetlabs-stdlib(file_line) is not compatible with puppet agent 3.8.7

Hello guys, I tried to use file_line with puppet agent 3.8.7, but is not working. In resources.txt you will not see any step done related file_line., but in client_data->catalog->...

View Article

how does class contain work? (to set up yum repos before install rpms)

so I want to setup the yum repos first before I install any rpm packages, I don't want to add some requires in the package resource, so I am thiking about using contain. Here is the sample code...

View Article
Browsing all 6104 articles
Browse latest View live


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