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

Should I run my Puppet master under Passenger 3.0.x or 2.2.x?

My distro ships with Passenger 2.2.x. Is it worth upgrading? Will puppet still work?

View Article


best practices: how to configure a hierarchical host configuration (with...

Apologies if this is a noob question. I've been reading the puppet nutshell book and puppet cookbook. I have puppet 3.4.3 up on several machines, Centos 6 (32 bit) and Centos 7, and some machines...

View Article


Error 400 on SERVER ... undefined method 'environment'

Hi guyz This issue drives me crazy these days. But let's start from the beginning: - I'm using puppet server 2.4.0 (for several months now), and everything worked well 'till few days ago; - The same...

View Article

how to securing password by puppet public key on windows ? whats the steps ?

I need to encrpt the password using puppet public key on windows ? whats the steps ?

View Article

Unable to install vim to puppet node

Hello, I am very new to puppet and just started with it. I am using opensource puppet and created the following manifest on puppet master. node 'node1.example.com' { package { 'vim': ensure =>...

View Article


I want to transfer the packages from puppet master to puppet agent.

Hi, I've 3 red hat linux servers. I installed puppet 3.8.1 on those linux servers. I installed puppet like one puppet master and two puppet agents. I would like to transfer the downloaded package like...

View Article

exec onlyif script

I want to accomplish something like: ``` exec { 'a_name': command => '/path/to/my/script.sh', provider => 'shell', onlyif => '/path/to/my/test_script.sh', } ``` My problem is in `onlyif` part...

View Article

transfer big files

Hi, I want to transfer big files 300MB with puppet. Now my question is, will puppet check the current upload of my file? Will the puppetmaster prevent the deploy to the client, until the file was...

View Article


How to run/execute puppet script manually ?

I have a puppet script which I want to execute whenever I need it. I don't want this script to execute in every scheduled time. so is there any way to achieve it ? for better understanding i will give...

View Article


Profile picture at puppet forge

Well, stupid question, I admit, but still I need the answer. The question is: How to change profile picture at puppet forge? Thanks!

View Article

Multiline resource : v4 vs v3

So when I run puppet resource --types on both my v3 server & v4 server, neither of them list 'Multiline'. However, I do have at least one pp file that uses that resource. When I do a puppet agent...

View Article

Logged into the PE console as admin, trying to delete a role but can't find a...

Logged into the PE console as admin, trying to delete a role but can't find a way. The Uses tab description states "Create and edit user roles". We have never used the roles so don't need any related...

View Article

Changing owner dynamically

I'm pretty new to puppet and have the below configuration setup on my master node, I know it's not the standard "module structure" but this fits my needs better. I want to apply the sh_lib.pp manifest...

View Article


Detecting if windows service is already installed using puppet exec

I have below exec resource which is used to install a window service. I want to it to execute only if the window service is not installed.So I have onlyif command but the command is not working it is...

View Article

Last run metrics from _old_ versions of puppet.

Backstory: We have a totally fragmented system, and are running a number of really ancient versions of puppet. There are apparently reasons not to upgrade these instances. We have some 2.6.4, some...

View Article


Get variable from module A into module B

Hi, I'm trying to get a variable value from one class into another class (different modules) but run into issues. From what I have read in the docs you are supposed to be able to include a class...

View Article

Seeking direction re MySQL update

I've taken over an IT job and I'm new to puppet so please forgive my ignorance. I'm running puppet 3.7.4. The nodes that puppet manages are running MySQL 5.1.73. Management has asked me to upgrade...

View Article


How do I make sure a package is only installed on specific clients/machines?

I want to make sure certain packages(e.g. gcc and/or x11) are only installed on specific machines. With my limited experience with puppet, I came up with this: #site.pp package { 'gcc': ensure =>...

View Article

Including a common apache::vhost on all servers via Hiera/YAML

I have about 300 Apache servers that all need a common virtual host setup for our monitoring and load balancing application. Currently, I use a wrapper class to extract the vhost information from Hiera...

View Article

How to disable catalog caching

Puppet agent uses the cached catalog before i get a dhcp lease and as a result the file it tries to fetch puppet://modules/ is failing. I was thining if caching of catalog is disabled, i will try to...

View Article
Browsing all 6104 articles
Browse latest View live


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