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 relationships with nested functions

I use the official Puppet apt module to add this Java launchpad and to install Oracle Java 8. apt::ppa{ 'ppa:webupd8team/java': } package { "oracle-java8-installer": ensure => 'installed', } When the apt module adds the…
Granolaboy
  • 133
  • 1
  • 1
  • 5
0
votes
1 answer

Invalid resource type in puppet

I am having the following issue: Invalid resource type msql::db at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/db.pp:6 My manifest (db.pp) is: include mysql::server msql::db { "loja": schema => "loja_schema", password =>…
0
votes
1 answer

Can't run puppet with modules on vagrant

I was studing puppet and running the manifests happened without a problem but when I added modules to puppet I run into the following issue: DEBUG ssh: Exit status: 0 INFO interface: info: Running Puppet with db.pp... INFO interface: info: ==>…
0
votes
2 answers

More that one Puppet agent stopped connecting to the Master

Puppet Master version 3.7.1 Puppet Agent version 0.25.4 Hi there Guys, I'm still in the beginning stages of using puppet running at lease 10 agents. I have written 20 odd modules and all worked fine. Yesterday I tried adding custom facts and got…
Malan
  • 31
  • 1
  • 6
0
votes
3 answers

Puppet error : Could not create master.pid

I've configure puppet server and client, when I run puppet master --verbose --no-daemonize on puppet server, I get following message, Notice: Starting Puppet master version 3.8.4 Error: Could not run: Could not create PID file:…
Rahul
  • 67
  • 1
  • 12
0
votes
1 answer

Puppet adds domain to the certificates

When as a root I run the following in my puppetmaster server puppet master --verbose --no-daemonize It generates the ssl certificates, but adds a domain to them. Which is the domain of my company (I'm in the office): ... Info: Creating a new SSL…
mitomed
  • 103
  • 1
0
votes
1 answer

After initial setup cannot sign in to Foreman web console with admin account

Edited post to show how I installed foreman I'm new to ruby and I am trying to install Foreman on CentOS 7. I followed the install guide for my distro to do this: sudo yum -y install epel-release sudo rpm…
red888
  • 4,183
  • 18
  • 64
  • 111
0
votes
0 answers

Have both local and puppet managed users on linux

We manage users via puppet on our ubuntu servers. So any user not managed via puppet(i.e. created locally) is being removed when the host is being puppetized. Is this the expected behaviour of puppet? If yes, can this be turned off?
0
votes
0 answers

How to use theforeman/foreman to bootstrap?

I've used the Foreman installer in the past to get a server up and running, but I'm now trying to do the same thing as a bootstrap I can reliably repeat. There's a PuppetForge module, theforeman/foreman, but it has almost no documentation aside from…
Iain Hallam
  • 447
  • 2
  • 6
  • 22
0
votes
1 answer

Could not evaluate: Could not retrieve information from environment bootmaster source(s)

Feeling like a complete newbie to puppet (I admit I am very rusty :-) So my manifest/site.pp file contains. file {"/tmp/findme.txt": source => "puppet:///modules/concat/concatfragments.rb" } file { "/etc/pupppetlabs/code/": path =>…
0
votes
1 answer

add nodes to Foreman

I'm completely confused how I can add my servers to Foreman. I've setup a Foreman server, I pointed the /etc/puppet/puppet.conf "server" directive to my Foreman server, and I under "Provisioning=>Smart Proxy" I see the signature requests. I've…
Jeroen Jacobs
  • 1,386
  • 3
  • 16
  • 25
0
votes
0 answers

Puppet master reverts back to older state and installs incorrect config/software

Has any one seen an issue with Puppet where we deployed some new configuration changes in the morning, but much later in the day it looks like the configuration was reverted. At least one package had the wrong version installed and some firewall…
blockcipher
  • 121
  • 4
0
votes
1 answer

Puppet EXEC: execute part of code only after another part is executed

I have the following puppet code: exec { 'set mysql root password': user => root, path => "/usr/bin:/usr/sbin:/bin", command => "/usr/bin/mysqladmin -u root password \'${root_pwd}\'", onlyif => 'grep…
Spaniard89
  • 107
  • 1
  • 3
  • 7
0
votes
1 answer

AWS - ELB - Puppet - Must not contain unprintable characters

I am setting up a miscellaneous server cluster behind an internal AWS ELB which will serve NTP, centralized Rsyslog, and Puppetmaster. I configured the listener on the ELB to use https (8140) which required a certificate, so I used aws cli to upload…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
0
votes
1 answer

puppet could not find class roles::webserver

I'm trying to get classes working in puppet, but it gives me an error when I try puppet agent -t on the node: root@webserver01:/etc# puppet agent -t Info: Retrieving plugin Error: Could not retrieve catalog from remote server: Error 400 on SERVER:…
astralfenix
  • 163
  • 1
  • 4