Required to run puppetcode on a host from a Puppetmaster or master-less (puppet apply)
Questions tagged [puppet-agent]
94 questions
1
vote
1 answer
Missing Puppet provider for types group and user
I installed Puppet 5 on an CentOS 7 machine from https://yum.puppet.com/puppet/. The installation was successful and I can run puppet apply for a simple manifest like this one:
file {'/tmp/example-ip':
ensure => present,
mode => '0644',
…
![](../../users/profiles/111574.webp)
Oliver F.
- 145
- 5
1
vote
1 answer
puppet saz/sudo module implmentation
I'm trying to deploy the saz/sudo module to manage our sudo configs (I'm pretty new to puppet (~3days), so please excuse my potential ignorance).
Our current sudo config all contained in a single (large) /etc/sudoers file, which I'd like to break up…
![](../../users/profiles/155596.webp)
Mark V
- 111
- 6
1
vote
2 answers
How do I configure a Windows server to be a Puppet Agent server?
How do I configure a Windows server to be a Puppet Agent server?
I am running Puppet Enterprise 4.x on CentOS 7 and Puppet Agent 3.7.4 on Windows Server 2012. I am trying to set this up for the first time. I know that there are no ports being…
![](../../users/profiles/334769.webp)
Kiran
- 67
- 4
- 10
1
vote
1 answer
Puppet overwrites symlinked directory
I am using Puppet to manage the configurations of some servers. One of the tasks is to create a specific folder structure under /www for hosting our applications.
But lately, we've had this server where /www is just a symbolic link to another…
![](../../users/profiles/274648.webp)
Mehdi Yedes
- 141
- 6
1
vote
2 answers
Migrating to Puppet 4.5.2
We are migrating to later versions of puppet.
New Version:
# puppet --version
4.5.2
Existing Version:
#puppet-3.8.7
Our existing site.pp is as follows:
#A default site.pp to do a quick test run
import "../classes/*"
import "../nodes/*"
file {…
![](../../users/profiles/151795.webp)
Zama Ques
- 443
- 1
- 8
- 24
1
vote
1 answer
Different manifest location on Puppet Server/Agent
My Puppet Server Environment setting is as follows
[master]
vardir = /opt/puppetlabs/server/data/puppetserver
logdir = /data/log/puppetlabs/puppetserver
rundir = /var/run/puppetlabs/puppetserver
pidfile =…
![](../../users/profiles/151795.webp)
Zama Ques
- 443
- 1
- 8
- 24
1
vote
0 answers
Puppet: Client is not connected to master - cert sign request does not appear
at the moment I'm having trouble with a new host that should be connected to the puppet-master.
The cert-sign request does not appear:
[root@puppet sudoers.d]# puppet cert list
[root@puppet sudoers.d]#
What can I do here?
![](../../users/profiles/262302.webp)
MyFault
- 893
- 3
- 14
- 35
1
vote
3 answers
Deploying SSH-configuration via Puppet: Execution of '/etc/init.d/ssh start' returned 1:
I'm deploying a ssh-default-config via Puppet to my servers. This works fine in most cases.
But now I tried to deploy it to an OpenVZ system which was freshly upgraded from Debian 7 to 8.
Now I tried to deploy my manifest:
Error: Could not start…
![](../../users/profiles/262302.webp)
MyFault
- 893
- 3
- 14
- 35
1
vote
1 answer
Trying to run puppet yield "Error: Could not find class"
Firstly, to be honest I'm pretty new to Puppet world. I'm trying to build a puppet script for my server.
here how my puppet structure look like this
.
|-- environments
| `-- example_env
| |-- manifests
| |-- modules
| `--…
![](../../users/profiles/122536.webp)
Viren
- 171
- 1
- 2
- 10
1
vote
2 answers
Using exec with puppet device management?
I'm trying to use puppet's network device management feature to configure Cisco routers.
I know its just running ios commands so how can I extend it by having it run my own ios commands? I want to use this to create my own facts and do other…
![](../../users/profiles/152514.webp)
red888
- 4,069
- 16
- 58
- 104
1
vote
1 answer
Puppet agent apply default configuration but doesn't apply node configuration
Puppet master version: 3.3.1
Puppet agent version: 3.3.1
Content of site.pp
import '*/*.pp'
node default {
include 'auth'
}
In the folder where site.pp is located there is folder called 'VirtualMachines' In 'VirtualMachines' folder there is file…
![](../../users/profiles/316811.webp)
Link
- 13
- 3
1
vote
1 answer
Add file with puppet and remove it after a run
I want to add a file with puppet that should only exist while puppet runs.
The file should be there to prevent apt from starting any services (which fails) during my puppet run.
This is the class I have so far that doesn't work since there is a…
![](../../users/profiles/125925.webp)
Frederik
- 3,293
- 3
- 30
- 46
1
vote
1 answer
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 developer and one root account for the server team)
![](../../users/profiles/19365.webp)
elhombre
- 425
- 1
- 8
- 18
1
vote
2 answers
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 master assigns certificates per hostname, therefore…
![](../../users/profiles/221288.webp)
BnMcG
- 490
- 2
- 5
- 12
1
vote
1 answer
Puppet: How to fix "Invalid resource type file_line"?
I have a freshly installed Puppet server with only one module configured and one managed client.
This is a MOTD module and looks like so:
class motd {
file { "/etc/custom_motd.sh":
path => '/etc/custom_motd.sh',
ensure => present,
…
![](../../users/profiles/109833.webp)
Itai Ganot
- 10,424
- 27
- 88
- 143