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

learn more… | top users | synonyms

1
vote
1answer
45 views

Puppet agent on Windows unless doesn't work how I think?

Ok, I've spent days chasing this around. Is there an issue with puppet agent 3.7.1 x64 on Windows 7 x64 where execs with "unless" don't ever NOT run the command? I've tried doing Batch example: ...
-1
votes
0answers
22 views

“Unable to connect with proxy” when connect via foreman

I have one machine (master) that has puppet and foreman installed. Everything was running OK, until I restarted foreman-proxy. Now when I try to access the proxy, refreshing features for example, I ...
-1
votes
0answers
26 views

Config management for NFS root cluster [closed]

I'm running a Linux cluster where each node PXE boots from a NFS share (read only). Configuration on system boot is done by scripts within initrd and in /etc/rc.d/ (manually created). System updates ...
1
vote
1answer
33 views

Puppet unable to send facts to Foreman - “tlsv1 alert unknown ca”

I recently updated Katello to 2.2 and Foreman now to 1.8.1, and it appears somewhere in the upgrade that Puppet now cannot contact Foreman: > [root@virt5 ~]# puppet agent --test info: > ...
-1
votes
1answer
32 views

Duplicate declaration on Puppet server

I can't override parameters of a class in my manifest. Puppet version on both machines is 3.7.5. I use thias-postfix. I even can't execute the example from the Readme.MD file. Below is my site.pp ...
1
vote
2answers
32 views

Optionally pass parameter to puppet using hiera

We're using the roles/profiles pattern. In the example below I'd like to optionally pass a parameter from hiera so that if no value is provided then the ::apache class default is used (which it gets ...
0
votes
1answer
29 views

Puppet master log not created in configured location

Below is my puppet master puppet.conf file [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter certname = puppet ...
0
votes
0answers
18 views

writing module for fisheye/crucible

I'm in the process of writing a init.pp file to automate installation of Atlassian fisheye/crucible. But I'm keep running into "Error: Could not retrieve catalog from remote server: Error 400 ...
-5
votes
1answer
33 views

init system vs configuration management [closed]

Best practice: What tasks would you give to an init system like systemd vs a configuration management system like ansible? What I like about starting up services with a CM is portability across ...
1
vote
1answer
27 views

Multiple agents on one host

Is it possible two run multiple puppet agents with different user rights on one host? I have a server which should be administered by two non related users through puppet. (one user account for the ...
-1
votes
1answer
22 views

In Puppet deployment, do all agent nodes have to be connected to an Internet repository?

Or does the master cache the repository from the internet and provision for the agent nodes? In either case, how are updates deployed and managed? What pre-empts what? Edit: How are rpm updates, yum ...
2
votes
1answer
29 views

Puppet: How to use a set of common packages but allow exceptions?

I have about 200 more or less identical Linux VMs. There is a class for all common configuration: class my_packages { class { "::ntp": servers => [ "de.pool.ntp.org" ], } ...
1
vote
1answer
32 views

Puppet Master: Multiple agents with same hostname

I'd like to use Puppet master to configure multiple development VMs with Vagrant: eg: vagrant creates a new box and provisions it using Puppet agent. However, some testing seems to show that Puppet ...
0
votes
1answer
24 views

Puppet - mySQL not remotely accessible upon setup (workbench)

I used Puppet's mySQL module to bring it up like this. The workstation ip is 172.16.1.49 and JIRA(mySQL) VM is 172.16.1.47 (Puppet Master is 172.16.1.80); I'm trying to access mySQL server using ...
3
votes
1answer
54 views

any sense in having multiple, distinct puppet masters?

I am wondering is whether it makes sense to have a single machine connect to multiple, distinct Puppetmaster instances. My use case is that i have different privilege level I want to grant to server ...
-1
votes
1answer
56 views

Puppet - mysql module not pulling “my.cnf” from fileserver

Trying to deploy mySQL puppet. Using "Puppetlabs-MySQL" module. My puppetmaster'd pp has node 'jira.oracle' { class {'mysql::server':} } class mysql::server { package { "mysql-server": ensure ...
-1
votes
0answers
92 views

new pp for JIRA<>mySQL

Getting "Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find template 'jira/etc/rc.d/init.d/jira.erb' at ...
1
vote
2answers
21 views

How to append to the same variable with augeas run via puppet?

I have the following resource declaration to set the setenv.sh file via augeas in puppet. augeas {'test': lens => 'Properties.lns', incl => '/tmp/setenv.sh', changes => ...
1
vote
1answer
28 views

puppetserver timeout cannot find key

Fresh install on Centos (tried both 6 and 7) from the PC1 repo. Starting puppetserver munchs away at my RAM for a few minutes then fails with this error: Exception in thread "main" ...
3
votes
1answer
38 views

What's a good load balancer check for puppet master

We are running a couple of Puppet Master version 3.7 (Not PE) on AWS EC2 instances behind an Elastic Load Balancer (mainly for high availability). Currently the load balancer's check is just TCP ...
3
votes
1answer
84 views

Satellite 6's puppet is unable to find the hiera data sources

Using Satellite 6 which comes with Foreman 1.6.0.53. By default, Puppetlabs' documentation states that hiera configuration should be in $config/hiera.yaml. # puppet config print confdir hiera_config ...
2
votes
1answer
47 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
70 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
28 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
73 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
40 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
20 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
70 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
13 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
19 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
27 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
19 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
28 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
58 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
31 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
67 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
32 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
38 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
26 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
40 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
71 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 ...
0
votes
2answers
87 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
42 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: ...
2
votes
1answer
45 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
59 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
29 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
33 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
1k 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
58 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
52 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). ...