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

Foreman change autosign behavior

We have setup foreman in our infrastructure and started adding the first hosts. Now, after the setup is done, we'd like to change the default autosign behaviour we set with --puppet-autosign when installing using foreman-installer to disabled (and…
ChrJantz
  • 101
0
votes
1 answer

puppet4 .erb nilClass on .each

erb $names = ['foo','boo','wee','haa'] <% @names.each do |name| %> Hello <%= name %> he is here <% end %> config.pp file {'/tmp/tester': ensure=>'present', content=>template("test/hello.erb"), } Error when running puppet agent -t …
0
votes
1 answer

How can I list all cronjobs created by puppet?

I have several crontabs defined in a pp file, e.g: cron { 'puppet-cron1': ensure => present, command => "cat /etc/issue", user => root, minute => '*/30', } cron { 'puppet-cron2': ensure => present, command => "cat…
M. Glatki
  • 1,964
  • 1
  • 17
  • 33
0
votes
1 answer

Puppet Create/Install Windows Service

Pretty new to Puppet... here is what I am trying to accomplish: Copy a powershell script, exe and config file locally and then execute the powershell script, which does the following: creates the service based on the copied exe, and the exe…
sandfred
  • 9
  • 1
0
votes
1 answer

Configuring remote access to mysql via puppet

The problem: I want to connect to mysql from another host I have a mysql instance that I configure with puppet. I want to be able to access the instance from host 1.2.3.4. Part 1: I start by hand In `/etc/mysql/my.cnf', I have [mysqld] bind-address…
jma
  • 425
  • 6
  • 16
0
votes
1 answer

Corosync configuration with puppet

I'm relatively new to puppet, and I'm trying to create a configuration with puppet that will spit out a ready-to-go production system, like we're currently using. I'm using Debian Jessie with Puppet 3.7.2 as both the puppet master and client. I've…
0
votes
1 answer

PostgreSQL 9.5 via puppet module fails to install on Ubuntu Trusty

Attempting to use Puppet to install PostgreSQL 9.5 on an Ubuntu Trusty, using all the documentation I could find, with the following simple class structure: class { 'postgresql::globals': manage_package_repo => true, version =>…
msanford
  • 1,477
  • 15
  • 28
0
votes
1 answer

Node.js module won't reinstall using puppet / vagrant

Previously I had a similar configuration to this working but as soon as I added hiera to my puppet build I started having problems. The error I currently have after running vagrant provision is as follows: ==> default: [vagrant-hostsupdater]…
James Murphy
  • 101
  • 2
0
votes
1 answer

Puppet class not found because of metadata.json

I just want to add my experience here. So I had this module, let's call it test for now with this directory structure : /etc/puppet |- modules |- test | |- manifests | |- init.pp | |-…
Nico
  • 429
  • 5
  • 12
0
votes
1 answer

Error 400 on server: Could not find class docsf

I try to include the module docsf on my Foreman/Puppet-System. I cloned the git and moved the content to the modules-path /etc/puppet/environments/production/modules. If I assign the module to a host, I'm getting this error: Error: Could not…
MyFault
  • 913
  • 3
  • 15
  • 36
0
votes
1 answer

Recurring Ansible Tasks

I've been familiarizing myself with Ansible and Puppet for use as a provisioning and configuration management tool. I may not be misunderstanding something about the way Anisble is used, but the only way I see for Ansible to ensure a consistent…
Utegrad
  • 145
  • 1
  • 2
  • 8
0
votes
1 answer

Why is apache installing when PHP module included?

I am using Debian 7.x This is such odd behavior I am invoking puppet through vagrant provisioner I am using puppetlabs/debian-7.8-64-puppet as the base image Why is Apache loading even though there is no reference to apache anywhere in my puppet…
0
votes
2 answers

refreshonly not working with Puppet exec resource

I am using the following user resource to create a unix user and then set an initial password for the user. I then performed an exec with chage command to force the user to change his password after his first login.The manifest is as follows node…
Zama Ques
  • 523
  • 1
  • 9
  • 24
0
votes
1 answer

failing to look up hiera-file value from puppet

I'm in the process of upgrading an old puppet 2.7 installation to puppet 3.8, and I've also been shuffling the location of some of hiera's data. I'm not sure which is to blame here. puppet agent --test, run on the same system running the…
mc0e
  • 5,866
  • 18
  • 31
0
votes
1 answer

After change, puppet now runs as the "ubuntu" user, and auditd is freaking out

This is a very strange question and I don't even know how to Google for it, so I'm posting here to see if anyone has encountered this sort of situation before. I have multiple Ubuntu 14.04 systems running in AWS EC2. We have several VPCs dedicated…
JDS
  • 2,598
  • 4
  • 30
  • 49