puppet Questions
2
Solved
I use SRV solution in my puppet architecture. When trying to setup a new puppet master and CA and view my certificates I get this error:
puppetserver ca list --all
Fatal error when running action ...
4
When trying to run the following command from puppet agent node:
puppet agent --test --verbose
The following error was prompted
Error: certificate verify failed [unable to get local issuer ce...
Dalrymple asked 23/4, 2020 at 12:50
2
Solved
This is hopefully a quick one to answer, I'm trying to provision a box on AWS with puppet and one of the steps involves a pip install from a requirements file. Something like this: -
/usr/local/ve...
Rachmaninoff asked 13/3, 2014 at 11:27
10
Solved
I am using vagrant with puppet to set up virtual machines for development environments. I would like to simply set a few environment variables in the .pp file. Using virtual box and a vagrant base ...
4
Solved
I have a class definition which requires the build-essential package:
class erlang($version = '17.3') {
package { "build-essential":
ensure => installed
}
...
}
Another class in a diffe...
Pharynx asked 5/10, 2014 at 18:14
2
Solved
I want something like this:
$ssl_domains = ['dev.mydomain.com']
['admin', 'api', 'web'].each |$site| {
['tom', 'jeff', 'harry'].each |$developer| {
$ssl_domains << "$site.$developer.dev.m...
2
Following this existing link - Puppet how to tell if a variable is set. which is , below is the piece of the puppet manifest script :
if defined('$to_dir') {
notify { "Fourthvalue of $from_d...
Garnish asked 18/10, 2022 at 12:29
4
Solved
I know about
puppet agent --disable "my message" --verbose
but I would like to know at some point on a given machine, what is its puppet agent status. I don't see how to do it from
man puppet-...
Bhopal asked 30/3, 2015 at 15:21
3
Solved
I would like to run a webservice and wait for a few seconds after to get the result.
What is the best way to achieve a wait in puppet ?
6
Solved
I'm trying to set up a non-default URL as part of a puppet script that installs Jenkins. I know how to edit the value via the web UI but I can't seem to find where the value is actually stored. I'v...
12
I am new to system administration. After installing nginx via puppet on Ubuntu I get the following output:
[alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13...
4
Solved
I have the following puppet example template:
{
"servers" : [ {
"port" : 9200,
"host" : "localhost",
"queries" : [
<% @markets.each do |market| -%>
{
"outputWriters" : [ { "@class" :...
2
I am running puppet agent in CentOS and Redhat. I would like to see its log file but cannot find it. In these operating systems, I clearly specify logdir = /var/log/puppet in the puppet.conf, but u...
4
So, a common practice these days is to put connection strings & passwords as environment variables to avoid their being placed into a file. This is all fine and dandy, but I'm not sure how to m...
Larue asked 9/1, 2014 at 15:1
10
Solved
just starting with Puppet, really new to this world.
I have
CentOS 6 Puppet Master
CentOS 6 Puppet Client
In Master have one module:
puppet module list
/etc/puppet/modules
âââ mstanislav-yu...
Preview asked 17/12, 2012 at 9:53
5
We are using MongoDB user based authentication, and I want to quickly run a command to check whether a user has already been created in the database, in order that puppet won't repeatedly attempt t...
2
Solved
I use Puppet in a master -> agent model. My manifests are stored on the master and as a quick test I execute puppet agent -t on my agent to trigger a Puppet run.
Over time, my manifests have grow...
Keheley asked 4/5, 2017 at 16:8
2
just testing out hiera and I'd like to be able to view all the available data (variable=value pairs) in the hierarchy for a given node.
My Hiera hierarchy is configured as:
---
:backends:
- yaml...
7
Solved
I want to create the directory structure /var/www/apps/example/current/public if it doesn't exist using puppet. If it already exists I don't want to purge the contents of the directories. How do I ...
Politicize asked 17/10, 2014 at 20:38
6
Solved
I would like to iterate over an array that is stored as a Facter fact, and for each element of the array create a new system user and a directory, and finally make API calls to AWS.
Example of the...
Stripe asked 18/10, 2012 at 15:23
8
Solved
I'm not able to find many examples of what a .dockerignore file should look like.
Using puppet to install a few packages on a docker container causes the image to explode from 600MB to 3GB. I'm t...
8
Solved
I'm trying to create puppet module which automates installation of zend server CE, this is not important here, but steps are as following
update /etc/apt/source.list
download repos key via wget
d...
Demi asked 1/6, 2012 at 7:5
2
Solved
I was going through an old puppet code. It was using mysql puppet module to install mysql-server.
I came across this
class { '::mysql::server':
}
and this
class { 'mysql::server':
}
Now ...
Kuehn asked 29/3, 2019 at 12:36
3
Solved
I run some containers with the option --restart always.
It works good, so good, that I have now difficulties to stop these containers now :)
I tried :
sudo docker stop container && sudo ...
2
Solved
Im trying to run "puppet-lint -f (currently open file)
The Puppet extenstion provides puppet-lint check, but doesnt auto fix any issues, it just gives warnings. How can I add a keyboard shortcut t...
Glutton asked 6/6, 2018 at 16:26
1 Next >
© 2022 - 2024 — McMap. All rights reserved.