Questions tagged [puppetmaster]

Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL). Puppetmaster is the central server for this tool.

Puppet is a configuration management tool (Unix & Windows) with its own Domain Specific Language (Puppet or Ruby DSL). Puppetmaster is the central server for this tool.

277 questions
0
votes
1 answer

Recovering puppet config

Anyone know if you can recover puppet configuration from a host running an agent? We've found the reformatted yaml file that applied to the host, but not the actual puppet code. With CFengine the client creates a local copy of the config files in…
cachonfinga
  • 230
  • 1
  • 6
0
votes
2 answers

puppet master on CentOS 7 - Gone after reboot

I deployed a Puppet Master and Puppet Agent on two different CentOS machines. They both used to communicate via ssl but upon restart of Master server, things are gone. Httpd's conf.d contains puppetmaster.conf, hence I need the httpd service to…
user192756
0
votes
1 answer

Error while installing apache with puppet-apache module

I am using puppet lab's apache module for installing and configuring apache. I am using Debian 7 (wheezy) and below is the manifest file I am use as site.pp in puppet-master. And from the puppet client I am executing puppet apply --test to install…
Yaalie
  • 175
  • 1
  • 2
  • 8
0
votes
1 answer

Duplicate declaration: Exec[] is already declared in defined type

Please help me with solution to a problem I was facing , I am trying to install adobe CQ5(author/publish modes) using puppet script. I have defined instance.pp as defined type and passing ( author,publish) parameters in manifest file. But I am…
Kiran
  • 123
  • 2
  • 5
0
votes
1 answer

Foreman can't import Puppet Environments

I'm running Foreman 1.7 with puppet 3.4.3. I've configured my environments using this: http://projects.theforeman.org/projects/foreman/wiki/Troubleshooting#Smart-proxy-do-not-recognize-my-puppet-environment Of course the default "Production"…
0
votes
1 answer

Puppet agent cannot find environment

Puppet master can find the environment, [user@puppetmaster]$ sudo puppet agent --configprint modulepath /etc/puppet/environments/development/modules:/etc/puppet/modules:/usr/share/puppet/modules but the agent cannot: [user@puppetagent]$ sudo puppet…
030
  • 5,901
  • 13
  • 68
  • 110
0
votes
1 answer

Generate foreman-installer-answers.yaml

Is there a way to generate a foreman-installer-answers.yaml file from a current setup? After initially installing Foreman I changed a couple of things in the web interface and also used theforeman/puppet and puppetlabs/puppetdb to customize my…
GeneBean
  • 323
  • 1
  • 4
  • 11
0
votes
2 answers

Halt the puppet master while Exec is running a script

I am fairly new to puppet and thinking if there is a way to apply a resource only after the command initiated by Exec completes it's job. My requirement is that I should schedule a backup job only after another job is completed. My code, given below…
0
votes
2 answers

how to check physical disk in puppet

I have below linux script cre_disk=$(ls /dev/sd[b-z]) for disk in $cre_isk do pvcreate $i done My understanding from the above code is, it is checking the sdb,sdc..sdz disk file. if it exist, then do physical volume creation. what my requirement…
Olive
  • 25
  • 2
  • 5
0
votes
0 answers

How to kick off puppet jobs via http api

Good day, I'm trying to figure out how I would go about telling Puppet (master?) to spin up a new VM and provision it with the specified settings. Basically, I have a form that a user fills out and then upon submit, those settings get sent to the…
0
votes
1 answer

How to seperate the CA server from Master (basic setup)?

I followed Centralize the Certificate Authority guide to seperate my ca from the master however I'm running into trouble. My Setup Hosts file I have the following in the /etc/hosts file on all hosts: 192.168.33.11 puppetcaserver 192.168.33.10…
kaizenCoder
  • 343
  • 2
  • 8
  • 22
0
votes
1 answer

future parser error in puppet

I have below code class dummy::eachtest{ $filename = [1,2,3] each($filename) |$value| { file {'/etc/dummy/manifests/${value}': ensure => 'directory', } } I got below error when I compile Could not match |$value| at…
Olive
  • 25
  • 2
  • 5
0
votes
1 answer

Creating a self-governing puppetmaster (puppetlabs)

I am working on my first puppetlabs puppet installation. I have a question concerning the overall setup. Is the puppetmaster able to govern it's own server as it governs its puppet agents? Is there any specific trick to this? Do i just install a…
Martin Nielsen
  • 73
  • 3
  • 12
0
votes
1 answer

Puppet master receiving a YAML error after upgrade to 2.7.25-2

Our puppetmaster server was upgraded to the latest available on RHEL6 (puppet-2.7.25-2.el6.noarch). We are now receiving errors such as this on the master: Aug 26 11:36:59 master1 puppet-master[5555]: Could not intern from yaml: instance of IO…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
0
votes
2 answers

Unable to install Puppet Server

I am encountering an error when installing Puppet Server on CentOS6.5. I pulled down the repository for my yum install: rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-5.noarch.rpm After I ran that, I proceeded to install the tool: yum…
BlackIrishMan
  • 13
  • 1
  • 2