Displaying 20 results from an estimated 1000 matches similar to: "Puppet common misconceptions wiki page."
2007 Aug 13
4
Strangeness with a definition
I''m having problems with a definition not being found.
I get the following error when running puppetd -vt:
err: Could not find type "manual_apt_get_update" in file
/etc/puppet/manifests/definitions/apt_misc.pp at line 22
The definition is present for sure. Can anyone spot a problem with the
code below?
define manual_apt_get_update {
exec { "/usr/bin/apt-get
2007 Sep 04
6
puppet ldap issue
Hi,
I have run into an issue using puppet in an ldap environment and I am
wondering if anyone else has run into the same issue.
A number of the puppet clients in my testing environment are failing to
apply new configurations because the puppet client is getting an ldap error.
Currently, I am attempting to push a new bash_profile to my home directory
and then set my username/group to then own the
2007 Nov 18
5
modules yet again
I know this comes up periodically, and I''ve read through the
wiki (including the Best Practices page) & list archives,
but still can''t quite get my head around it.
I see lots of references to /modules and $MODULE_PATH, but
am not sure what these refer to.
Here''s a basic setup I have. Let me know if this looks correct:
/etc/puppet/
|-- autosign.conf
|--
2007 Jun 04
3
Method of specifying tags in the puppetd.conf
Hi,
From looking at the puppetd --help, there is not currently (at 0.22.4)
a method of specifying tags in the puppetd.conf.
I was hoping to use this for the following reason:
Currently, I use ''noop = true'' in my puppetd.conf, and run ''puppetd
--no-noop {tags}'' to install the configurations that I am happy with.
This is because I''m currently
2007 Jun 13
3
Facter ''operatingsystemrelease'' fact.
From looking at the Facter code, it looks like the
''operatingsystemrelease'' fact is currently a mirror of the
''kernelrelease'' fact.
I''d like to implement this fact so that it returns the major version of
the operating system, eg:
Debian Sarge: operatingsystemrelease => 3.1
Debian Etch: operatingsystemrelease => 4.0
RHEL3 update 8:
2007 May 11
5
dry-run?
Greetings.
Long story short ... configuration changes were made to my puppet
clients while my puppet server was unavailable. I would like to run
puppetd in such a way that it will list what files it would replace, but
not actually replace them, so that I can synchronize my server with my
various clients.
rsync has a -n (--dry-run) option that does this. But I can''t find one
in
2007 Oct 23
3
file retrieval problems
Hi puppetiers,
recently I switched to using Mongrel webserver in effort to get rid of
those annoying "end of file reached" errors and increase performance. It
did the trick beautifully, but now a lot of my reports are plagued by
another error message:
---
err: Could not call fileserver.describe: #<Errno::EPERM:
Operation not permitted - connect(2)>
2007 Jul 03
3
$operatingsystem variable.
In the documentation, there is an example such as this:
case $operatingsystem {
sunos: { include solaris } # apply the solaris class
redhat: { include redhat } # apply the redhat class
default: { include generic } # apply the generic class
}
I''ve seen the $operatingsystem variable used elsewhere.
What actually puts the value into the $operatingsystem variable?
Does
2007 May 08
3
Provider suitability reports
As promised, I''m trying to extra more data out of Puppet''s internals,
and this is one I''ve been wanting to do ever since I developed the
idea of provider suitability.
I''ve created new type of ''reference'' (although it''s more of a report
than a reference) that can tell you which providers are functional on
the current platform,
2007 Apr 25
17
Multiple swap partitions
I have a machine with two swap partitions (sda2 and sda8). Both will
have none as mount point. When I try to use puppet (using mount type)
for managing fstab I get problems because "name" in both instances
(i.e. mount path) will be "none". How should I fix this within puppet?
Regards
Halvard Moe
2007 May 01
7
RFC: Changing variable override
It seems like a very common expectation that the following code would
work:
class boo {
$me = "/something"
file { $me: ensure => present }
}
class yay inherits boo {
$me = "/something/else"
}
Yet, as many have found to their chagrin, it does not work. Should it?
I believe I know how I could make this work: Create a single
variable namespace for class
2015 Apr 09
2
CentOS 7.1 user login screen can't scroll up/down
On Thu, Apr 9, 2015 at 8:13 AM, Scott Robbins <scottro at nyc.rr.com> wrote:
> On Thu, Apr 09, 2015 at 10:23:19AM -0400, m.roth at 5-cent.us wrote:
>
>> > 3. Disable the user list:
> Pretty sure that Alan filed a bug against RH with this, but, as RH seems to
> do these days when sysadmins complain about Fedora-isms, it was probably
> ignored.
>
> Merrily
2004 Dec 31
2
Am I opening myself to some security vulnerability if I unprotect the Controller classes'' redirect methods?
Am I opening myself to some security vulnerability if I unprotect the
Controller classes'' redirect methods?
I merrily wrote a (specific to my university) authentication filter as
a separate class. As part of the authentication process it needs to
re-direct the user to a university server to log in. This all works
fine except that the redirect_to methods of a controller are all
2009 Dec 09
3
Cannot read mdir inbox.
Problem:
Dovecot is totally and merrily oblivious to maildir INBOX installed in
the usual /var/spool/mail/%u
Software/system:
Dovecot 1.2.8
running under Fedora 12 with 1.9 gig RAM + AMD Athlon LE-1640 CPU on a
ASUS M3A78-EM motherboard
(uname -a =
Linux 2.6.31.6-162.fc12.x86_64 #1 SMP Fri Dec 4 00:06:26 EST 2009 x86_64
x86_64 x86_64 GNU/Linux )
Dovecot has been installed from the Fedora
2004 Feb 18
2
building the development version
I'm trying to build the current development version of R on an SGI
running IRIX6.5. Everything proceeds merrily until I reach the eda
package. This is the error message I get if I cd to the appropriate
directory and type 'make' or 'make all.' Does this make sense to
anyone? -- Thanks, Debby
gmake[3]: Entering directory `/l/fsc/dfs/src/R/src/library/eda'
building
2005 Apr 06
6
unable to run script/console on OS X
Hi.
Lighttpd''s merrily serving Rails on OS X for me, but I can''t for the
life of me get script/console to run.
I get, always:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'': No such file to load -- readline (MissingSourceFile)
(And then a chain of errors leading from that point...)
I followed Jason''s manuals.textdrive
2010 Jul 30
2
rsync mirror solution: how to prevent accidental mirror deletion
I had a recent disaster scenario with rsync. I was wondering if there
were any suggestions to guard against in the future:
I used to maintain "mirror" backups of the /home dir on our
production_server using rsync to a backup_server.
The primary server had a rsyncd daemon running and the backup_server
had this line in the crontab:
10 01 * * * rsync -av --delete root at
2008 Jan 23
9
Replacing puppet:// with svn:// ?
I''ve been pondering how to handle our file distribution issues - we''re
starting to roll puppet out, and I''d like to get it somewhat right from the
start. I''ve been watching the list for a while, and observed ''complaints''
about the speed of the fileserver method when dealing with recursive
directories. If I can avoid this, I''d
2006 Oct 25
6
PrinterDC.i Patch
This patch allows PrinterDC to go merrily by on Linux. I''m not sure
it''s the best solution to the problem so I submit it for your approval.
Roy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PrinterDC.i.patch
Url: http://rubyforge.org/pipermail/wxruby-development/attachments/20061024/585c15f2/attachment.pl
2009 May 22
4
Does rsync detect file corruption?
Hello,
Suppose that every day cron runs this:
rsync -a --times --delete $HOME /my/backups/dir/latest
In general, rsync will only update a file if it has been modified. Now,
imagine that one of the files becomes corrupted in the backup directory,
but the timestamp hasn't changed. Will rsync detect this?
I am using rsync in a backup solution which could be summarized to:
cd