Displaying 20 results from an estimated 30000 matches similar to: "Basic help with imports and includes"
2009 Oct 20
11
Stuck with puppet
Hello a newbie here.
The situation is that:
2 machine one master one client
Puppet 0.24.5
This my configuration:
Client:
/etc/puppet/puppetd.conf
[puppetd]
server = Asus-Vista-Box
logdir = /var/log/puppet
vardir = /var/lib/puppet
rundir = /var/run
master
/etc/puppet/manifests/classes/sudo.pp
class sudo {
file { "/etc/sudoers":
owner => "root",
2012 Dec 26
2
problem with restart a service when a file changes
Hello,
I have problem with my class when the archive is changed and the service is
not restarted when i apply change and run the puppet agent, I have the next
error:
[..............]
* err: /Stage[main]/Spam_rule/Exec[zmamavisdctl]: Failed to call refresh:
/opt/zimbra/bin/zmamavisdctl returned 1 instead of one of [0] at
/etc/puppet/modules/spam_rule/manifests/init.pp:25*
[..............]
2013 Jan 20
3
(New To Puppet)Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class sudo for pupclient on node pupclient
Hello Folks!
I am trying to learn puppet. Installed the puppet 3.0.2 and configured one
node as the master and the other as the client. Generated the certs and all
that. But, I seem to be doing something wrong wrt to the init.pp file.
Attached is exact error and my current server configuration. Any help in
helping me fix this issue is appreciated:
*[root@pupclient ~]# puppet agent --test*
2011 Jun 27
12
Ruby script to download files without 'puppet agent'
We have often the Problem that some files need to be checked for updates
faster than the cycle of the puppet agent. I try to solve this with a
script which tries to download the files directly from the fileserver of
the puppetmaster. So far i couldn''t get it to work.
I don''t know if i got the URL right, i did not find any examples on the
REST API documentation for the
2011 Oct 31
6
useradd question
I am using Ubuntu LTS 10.04 with the backported puppet
2.6.1-0ubuntu2~lucid1
I am trying to create user with the following manifests but at the end
always getting the Could not find user git error message:
What am i missing, seems the manifest not creating the missing git
user.
/etc/modules/git/manifests/user.pp
class git::user {
user{''install'':
name
2012 Nov 28
3
Could not retrieve information from environment production source
I''m using puppet 3.0
i install puppet by these two command:
sudo rpm -i
http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-6.noarch.rpm
sudo yum install puppet-server
as
http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-red-hat-enterprise-linux-and-derivatives
and
2012 Feb 06
3
Passing class parameters to hiera
I am using puppet 2.6.11 and want to pass parameter for implementing
sudo for mulitple users. So here is my simple code, which I would like
to pass to hiera to specify user name lookup. Appreciate any help,
thanks in advance.
class sudo( $name) {
#Class:: sudo
#
#
package { "sudo": ensure => present, }
file { "/etc/sudoers":
owner => root,
group => root,
2011 Apr 14
6
copying file with "source" parameter
Hi there,
Just started using Puppet since yesterday, so a totally newbie
question. I tried to search the answer by myself but none of the
suggestions actually worked. This is how my "modules" is laid:
|-- modules
| |-- mySudo
| | |-- files
| | | `-- sudoers
| | `-- manifests
| | `-- init.pp
The file(s), that I want to send to the client machines, is in the
2013 Jun 20
2
Re-inventing the Wheel (again?)
I''m new to puppet and working my way through the documentation. I''m
struggling with the puppet labs module repo.
I''ve toyed with numerous automation and configuration methodologies over
the decades. Perhaps I''m seeing puppet wrong, Compared with CFEngine
there is a a lot I like, but I''m not sure why I''m still having to re-invent
the
2010 Oct 19
14
client won't use remote file bucket
Hi all,
I''m having a stupid moment getting a remote file bucket working. My
client only file buckets locally, not remotely.
I have this site.pp:
*********
filebucket { "main": server => "puppet" }
File { backup => "main" }
node ''default'' {
include test
}
*********
and this test module:
*********
class test {
file {
2007 Apr 30
3
Best Practice: how to organize puppetmaster directories?
Hi,
While puppet creates its own directories for internal stuff (puppetca,
state, etc.), there''s a fair bit of latitude given to where things like
manifests and uploaded files live. I didn''t get much guidance from the
docs when I first set things up so I mostly poked at things until the
worked. Take a look at the following and let me know if this looks
reasonable; if so, it
2012 Oct 01
7
Passing http_proxy_host option
Hi,
I''ve been trying to pass the http_proxy_host option to puppet but it''s not
taking.
I have tried the following:
sudo puppet apply --debug --verbose --http_proxy_host
http://user:pass@fqdn.com.au --modulepath ''/tmp/vagrant-puppet/modules-0''
/tmp/vagrant-puppet/manifests/default.pp
sudo puppet apply --debug --verbose
2011 Mar 24
6
run stages in puppet 2.6
hello guys,
I am trying to incorporate run stages into my puppet setup. I''ve been
working with this for a few days and I haven''t quite got the hang of
it yet...
When I attempt my puppet run this is the error I see:
------------------------------------------------
[root@chromews21 ~]# puppetd -t
err: Could not retrieve catalog from remote server: Error 400 on
SERVER:
2010 Nov 13
3
Need some help getting up and running: Could not request certificate: Connection refused - connect(2)
Hi all,
I''m a Puppet newbie and am struggling to get myself up and running on my
first Puppet install and am looking for some assistance.
To explain where I''m at I have done the following (all based on the Puppet
getting started guide):
1: sudo apt-get install puppet, installation completed but I noted the
following warning (is this important?):
*adduser*: *Warning: The home
2012 Feb 09
2
Puppet master can not find file_metadata for my puppet module
Hello,
I am running a puppet master version 2.7.5 on Centos 5.7 and a puppet
agent version 2.7.5. I am simply trying to apply changes to files by
defining a file resource in my manifest. When I execute my puppet
agent to do the installation it complains it can not find the file
meta data.
Here is my manifest.
class neospeech::config {
file { "/usr/vwmrcpd/vwmrcpd/vwmrcpd":
2007 Feb 21
9
Facter environment variables being ignored in puppet?
Facter has the feature that it will turn any environment variable
named FACTER_* into a fact. I can do this on the commandline
no problem, but when I attempt this in puppet it seems to ignore
that parts.
Is anyone else seeing this? (Is this expected behavior?) I don''t
see a ticket or a mail thread on it - though my searching powers
have been weak the last couple of weeks...
Thanks,
2009 May 15
1
[PATCH server] add server-side groundwork for remote freeipa server
This lays 90% of the groundwork needed on the server side to support the use of a remote ipa server.
Leaving the option disabled in the installer until the necessary node integration(dns/keytab placementi location) is completed
Also apply:
[PATCH server] update ovirt-add-host to use ipa commands instead of kadmin.local
[PATCH server] separate ipa common tasks freeipa::common and rename
2006 Oct 18
3
0.20.0 and Schedules...
Hey thanks for the new version, but I seem to be having some troubles.
I have a number of schedules defined in my configuration, something like:
schedule { once_a_day:
period => daily,
repeat => 1,
}
Using 0.20.0 of the server I get:
err: Could not retrieve configuration: Duplicate definition:
schedule[once_a_day] is already defined in file
2013 Aug 02
2
Exporting Load Balancer Worker Resources
Hi,
Recently i''ve studying puppet by reading and doing the examples from this
book: "Pro puppet".
books.sysadmins.su/system/files/Pro.Puppet.pdf
On page 145 from this book there is example about Exporting Load Balancer
Worker Resources.
I created the files inside already existing apache module.
/etc/puppet/modules/apache/manifests/balancermember.pp
define
2011 Feb 24
5
Config Deployment: baseline manifest to all hosts, different sudoers,autofs..etc(manifest) to hosts, by hostname?
Hi all,
I think this has been asked in one form or another, but my problem so
far is i''m not sure of the terminology or nomenclature to use in my
search string to find out my answer...
So, here is my question..
I have lots of systems/instances, like most of us, and like most of
they are spread across different tiers and environments.
ie. dev/stg/prod
i''ve setup my puppet