Questions tagged [puppet]

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

Puppet is a configuration management tool for Unix and Windows. It works either standalone mode (puppet apply) or in client-server mode (puppet agent) with puppet agents running on client systems checking in with the master daemon on the server on a regular basis. Puppet's written in ruby, and puppet source code, i.e. puppet manifests, uses its own domain-specific language that focuses on declaring the system resources and it's intended state.

Combined with system provisioning tools (PXE, kickstart, FAI, etc), puppet can fully automate any software installation and configuration process that doesn't require a GUI interface.

More info:

Related:

1792 questions
0
votes
1 answer

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 => installed } package { "mysql": ensure =>…
0
votes
1 answer

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: ::apt::config_files is not a hash or array when accessing…
Simon
  • 193
  • 2
  • 10
0
votes
1 answer

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 using Puppet version 2.73 for both master and agent…
0
votes
1 answer

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, and http://server/monitor as a redirect to Uchiwa.…
shearn89
  • 3,403
  • 2
  • 15
  • 39
0
votes
1 answer

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, it's as easy as running gem sources -a
Segfault
  • 264
  • 1
  • 9
0
votes
1 answer

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, rabbitmq_password => '', rabbitmq_host =>…
user2363318
  • 361
  • 1
  • 3
  • 11
0
votes
2 answers

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 puppetlabs/apt module and the apt::source defined type…
daks
  • 673
  • 7
  • 25
0
votes
1 answer

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 nagios::base include nagios::nsca::daemon …
kenorb
  • 6,499
  • 2
  • 46
  • 54
0
votes
1 answer

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. https://sysadmincasts.com/episodes/18-managing-iptables-with-puppet For example,…
gerky
  • 291
  • 1
  • 4
  • 14
0
votes
2 answers

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 {'/etc/php5/conf.d/upload_limits.ini': ensure => present, owner =>…
kenorb
  • 6,499
  • 2
  • 46
  • 54
0
votes
1 answer

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 (using the roles-profiles pattern): modules/ …
vaidik
  • 153
  • 4
0
votes
1 answer

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…
Yamiko
  • 143
  • 1
  • 6
0
votes
1 answer

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 fact.
chriscowley
  • 523
  • 4
  • 17
0
votes
1 answer

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 identical VMs in the future. After the VM is…
andrsnn
  • 165
  • 6
0
votes
1 answer

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 { 'tomcat7' : ensure => installed, require =>…
kenorb
  • 6,499
  • 2
  • 46
  • 54
1 2 3
99
100