Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL)

learn more… | top users | synonyms

-2
votes
0answers
11 views

Could not evaluate: [/dev/null]: is an invalid url gcloud

Can I get a response on an urjent issue, I am automating an instance using puppet in google compute engine. I installed necessary gcloud tool and running the manifest file using "puppet apply ...
2
votes
1answer
29 views

Transform \n to new line although input variable is single quoted in Puppet

If a variable is double quoted and it contains a \n $test="hello\nworld" file { '/tmp/hello': content => $test } then a new line is created: /tmp/hello hello world Problem What to ...
0
votes
1answer
20 views

Failure trying to manage apt sources with Puppet

I'm trying to get Puppet to manage my Debian apt sources.list, however, catalog compilation fails with this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
0
votes
1answer
22 views

Puppet Agent - launching as sudo

I'm having issues getting my Puppet agent to launch. I will be using the agent with the --onetime parameter as I want to agent to pull its configuration rather than the Puppet Master pushing. I am ...
4
votes
1answer
62 views

Can puppet update package to latest minor release?

For example I have php-fpm installed: Name : php-fpm Arch : x86_64 Version : 5.4.16 Release : 23.el7_0.3 Size : 4.5 M Repo : installed From repo : updates ...
0
votes
1answer
24 views

Apache configuration resulting in recursive /index.html

I'm using puppet to configure Apache, and have a problem. I'm trying to serve a simple front page, with links to 2 subpages for Kibana and Uchiwa. I'm trying to use http://server/logging for kibana, ...
0
votes
0answers
14 views

Puppet: remediation handler 'Recieved API Response (404)'

What would cause a 404 when trying to run 'touch /tmp/hello' on CentOS6.5? The server has a subscription to its hostname, I don't see anything on the sensu-agent.log on the server showing it got the ...
1
vote
0answers
30 views

Puppet node no picking up hiera parameter from global.yaml file

I am using Foreman, Puppet and Hiera to provide parameter data for my nodes. Each node has its own node.yaml file on the Puppet Master in /etc/puppet/hieradata. There is also a global.yaml file ...
-1
votes
0answers
10 views

puppet suse12 ruby error

I am trying to execute puppet in suse12 but I am receiving following error: puppet apply --modulepath=/tmp/puppet/modules/ /tmp/puppet/manifest/site.pp --color true ...
0
votes
1answer
15 views

On ubuntu 12.04, what file has the systemwide list of gem sources for rubygems 1.9.1

I need to deploy a gem from a custom gem source to my ubuntu 12.04 servers that are managed by puppet. In the puppet class, I will put the command that adds our custom gem server to the gem sources, ...
0
votes
1answer
19 views

Puppet: Pass facter value to class (sensu puppet module)

Trying to set a custom subscription to get remediator.rb working in the sensu module in puppet. class sensuJenkinsMasterClient { class { 'sensu': purge_config => true, ...
0
votes
2answers
13 views

puppet: execution ordering of classes 'instances'

I know how I can use resource ordering in Puppet to order built-in types (user, group, cron...) or classes, but I wonder how I can make it for specific instances of classes. For example, I use ...
1
vote
1answer
25 views

Windows Environment Deployment [closed]

We have run into a situation that has caused some issues. We currently are using Inno Setup Software to install are software on our client systems. The issues that we run into is we need to make a lot ...
2
votes
1answer
55 views

puppet agent failing to run automatically

I have two nodes besides the puppet master listed in my puppet master. The two are currently listed as unresponsive. It appears the puppet agents are failing to run automatically. In my logs on the ...
0
votes
1answer
21 views

Grouping nodes in puppet

In my site.pp manifest, I have the following import "nodes/*.pp" This lets me nicely create separate files for different groups. However, inside each .pp file, i still have to explicitly set the ...
1
vote
1answer
41 views

How to install puppet module from GitHub?

I've installed camptocamp/nagios from Puppet Forge, but seems it has dependencies to puppet-apache_c2c which is published on GitHub. I've installed nagios module as suggested: puppet module install ...
0
votes
1answer
26 views

How to fix error: Could not find class apache::base?

I'm using the following sample manifest from camptocamp/puppet-nagios: node 'central_monitoring_server' { import "nagios" $nagiosadmin_password = "XXXX" ... include apache::base include ...
0
votes
1answer
33 views

What to use instead of import keyword?

I'm using the following sample manifest from camptocamp/puppet-nagios: node 'central_monitoring_server' { import "nagios" $nagiosadmin_password = "XXXX" ... include apache::base include ...
0
votes
1answer
16 views

Do I need to set rules for source and destination ports for outgoing rules on iptables?

I'm using puppetlabs firewall module and I'm having troubles setting up iptables for a simple web host. I'm following this guide and want to set up additional rules. ...
3
votes
3answers
28 views

Checking puppet-generated exim config before deploying

I use Puppet to generate /etc/exim4.conf and I want to make sure that the configuration is valid before I install the file on production systems. I've considered— using a git hook to call ...
1
vote
2answers
41 views

Get value from hiera hash in Puppet

I have this structure in my hiera file that create some rules in my smb.conf. samba::shares: PDF: - comment = "PDF" - path = /home/smb/pdf - browseable = yes - hide dot files = yes ...
-2
votes
0answers
45 views

Install Puppet3 master on AWS (Amazon Linux 2015.03)

I'm trying to install a Puppet 3 master on Amazon Linux 2015.03. The puppet3-master package installs fine, but I need puppetdb, which is not available as an RPM from the AWS repos. Also, I need ...
0
votes
2answers
73 views

How to pass parameter for Exec from notify?

I've the following Puppet manifest: # PHP Configuration class php { exec { "php5enmod $module": path => "/usr/sbin", command => "php5enmod $module", } file ...
-3
votes
1answer
37 views

Puppet noob, stuck on the same error for hours

I'm trying to setup a puppet master with hiera. When I try "puppet agent --test" on the mongo node I get this error. Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
-1
votes
0answers
34 views

Puppet: Local environment: “bootstrap” doesn't match server specified node environment “production”

When I run puppet agent --noop --test --environment=bootstrap I get this warning: Warning: Local environment: "bootstrap" doesn't match server specified node environment "production", switching ...
3
votes
1answer
37 views

Puppet: How does hierarchy work if a role is matched?

I'm trying to understand how does Puppet hierarchy works. My Puppet server's hiera.yaml looks like so: [root@puppet puppet]# cat hiera.yaml :backends: - yaml :yaml: :datadir: ...
0
votes
2answers
57 views

Managing thousands of machines with approval controls [closed]

We are a startup that is just getting up to speed and running into the problem of managing hundreds of machines, and having to do nightly and weekly releases to all of them as well as managing their ...
0
votes
1answer
26 views

Setup SSL keys when using roles-profiles pattern with Puppet

Here is a scenario. I have two web applications (lets call them webapp1 and webapp2) that needs apache, php (with some modules), and the web app's code it self. This is how I set this I set this up ...
-2
votes
1answer
29 views

How to implement iptables using Puppet

i would like to implement these rules below in puppet from puppet master to clients Could anyone help me to get the script for this iptables rules, and in which file we want to have this below ...
17
votes
5answers
944 views

When is it appropriate to use a configuration manager (eg Puppet / Chef / Ansible)?

At my current workplace, I look after two VMware host machines, an OpenBSD physical machine, three Debian VM's, and six Windows Server VM's (2008/2012). I'm considering implementing a configuration ...
2
votes
1answer
51 views

Is the file current.mof a bottleneck when using the DSC module?

The msutter DSC module (PowerShell Defined State Configuration) seems to have a bottleneck. Every class that uses a DSC resource generates intermediate Powershell/DSC code that creates a file called ...
2
votes
2answers
45 views

How to disable yum repositories not managed by puppet

Trying to bring a very ad-hoc environment into a more standardized and managed state. In my use-case, I'd like to disable all non-Red Hat repositories (provided by the subscription-manager plugin). ...
0
votes
0answers
25 views

Securing SSL Keys (for production web application) with Puppet and Hiera

I'd like to know what is the best way to secure SSL keys and certificates for web applications. I am using the roles/profiles pattern. Here is the scenario: I have a web application. There is a ...
0
votes
0answers
25 views

Augeas: setting multiple array elements

I'm trying to modify multiple entries in grub.conf via augeas that are broken down by the lens in an array. augtool> ls /files/boot/grub/grub.conf/ default = 0 timeout = 5 splashimage = ...
0
votes
0answers
17 views

vsftpd service with tls enabled exit code 2

I am trying to set up TLS for VSFTPD on CentOS7. Whenever I try to start the service it fails with exit code 2 and no other information. anonymous_enable=NO local_enable=YES write_enable=YES ...
2
votes
1answer
48 views

What's correct catalina_base path for Tomcat installed from the package?

I've the following manifest to configure Tomcat to use 8983 port instead: include java class { 'tomcat': install_from_source => false } tomcat::instance {'default': package_name => 'tomcat7'} ...
2
votes
0answers
37 views

Centralized ubuntu update server

I am in the process of configuring a Central Update Server so we can better manage the security updates on our ubuntu based cloud servers. Here is my plan so far Install apt-mirror on cloud instance ...
0
votes
1answer
21 views

ec2_metadata fact not updating

I have added a "role" value to my instance metadata (I'm running on Openstack). I see it in curl http://169.254.169.254/openstack/latest/meta_data.json, but it is not appearing in the ec2_metadata ...
1
vote
1answer
31 views

Puppet windows agent

When I tried to install my puppet agent on one my servers (windows 2008 R2), the confdir seems to default to u:\ drive. U: drive is not present for user. I can also see that the puppet labs directory ...
0
votes
1answer
26 views

Migrate vagrant Ubuntu VM to physical machine

I am attempting to use vagrant and a puppet workflow to configure a Ubuntu production server VM which will host a web application. I want to be able to reuse this workflow to configure multiple ...
0
votes
0answers
25 views

Centralized package management of Ubuntu servers with QA

I currently manually maintain 3 Ubuntu servers, but now we're taking on another project that will have something like 25. So I'm looking into how to maintain that many servers without making ...
-1
votes
2answers
54 views

How to install Solr 4.x on Tomcat via Puppet?

So far I've been using the following recipe for installing Solr 3.x on Tomcat 6: package { 'openjdk-6-jdk' : ensure => installed, } package { 'solr-tomcat' : ensure => installed, } exec { ...
0
votes
1answer
47 views

What's the simplest way of installing Tomcat7 via Puppet with dependencies?

I'm trying to build the simple Puppet recipe as below: package { 'openjdk-7-jre-headless' : ensure => installed, } package { 'tomcat7-common' : ensure => installed, } package { ...
1
vote
1answer
21 views

Concatenate arbitrary number of templates in Puppet

I'd like to use template() to concatenate some files. I read this question, which is fine if you know exactly how many files you want to concat. What if I just have an array of input file names? ...
2
votes
1answer
42 views

how to open port 80 on box managed with Puppet

I have a puppet master virtual machine that manages almost 20 nodes. I have Nagios installed on one of these nodes and in order for the Nagios GUI to work I would need to stop the iptables on that ...
0
votes
1answer
39 views

Linux-Puppet: Error: Could not retrieve catalog from remote server, what could be the reason?

I've wrote a Puppet module which is supposed to create a directory, copy files into there and change the ownership of the files. The module name is "workspace". In the manifests folder of the module ...
1
vote
1answer
102 views

puppet 3.7 does not install on Amazon linux after the 2015.03 release

hi i am/was using amazon linux and using the RHEL 6 puppetlabs repositories to upgrade the installed puppet client from 2.7 to 3.7. With the latest release of Amazon Linux 2015.03 this process ...
1
vote
1answer
44 views

Can't install Facter 1.7.0 on Amazon Linux using PuppetLabs Yum repositories

I've installed Puppet using the setup guide but it seems I'm only able to install Puppet packages from the amzn-* repos, even though I have installed the PuppetLabs EL6 Yum repository using the ...
2
votes
2answers
78 views

“Unsupported osfamily: Linux” when trying to install Apache using Puppet

I'm trying to setup a simple Puppet setup on AWS EC2 using the latest Amazon Linux AMI. I've followed through the install guide for RHEL and have a puppetmasterd daemon running. When apply the ...
-3
votes
1answer
25 views

PUPPET: Where could be the templatedir if its not in puppet.conf?

I want to remove templatedir from the puppet conf so that there won't be a deprecation error. But its not under puppet.conf or anywhere else I guess. I've grepped for that line almost everywhere..