Displaying 20 results from an estimated 40000 matches similar to: "Have Class Only Perform Actions When There Is Work To Do (i.e. Making Them Idempotent)"
2012 Jun 15
8
Puppet Forge question
I''m running puppet in a local VM to do some testing, and all of our systems
are behind a proxy. I''ve got the http_proxy environment variable set
properly, but when I try to use puppet module install <foo> it doesn''t seem
to honor it and can''t connect.
I used wget to download it, but even when I use modulepath it still tries
to connect to the forge and
2007 Jan 03
18
error "Stack level too deep" on ''exec[ "perl Makefile.PL" ] ?
Hi,
I''m testing puppet from the subversion trunk. I have a rather
hacked-together system to install a CRM into one of my nodes, which
worked (more or less) with version 0.19.3. When I tried to do a puppet
run on a completely clean node it seemed to stall on the ''compilation''
part (I do an exec of ''perl Makefile.PL'' in the appropriate dir). When
I broke
2012 May 22
3
Installing up to date puppet on Ubuntu
Hi,
Ubuntu Lucid has a very outdated puppet, 0.25.4
according to:
http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu
I did this to "enable the repository":
wget http://apt.puppetlabs.com/puppetlabs-release_1.0-3_all.deb
sudo dpkg -i puppetlabs-release_1.0-3_all.deb
but this still does not result in installing an up to date puppet
apt-get
2006 Sep 04
7
package: ignores "source"; "provider" doesn''t work as advertised?
Hi
I¹m not sure if I¹m misunderstanding, however, when I try the following:
class thttpd {
package { thttpd:
version => "2.25b-4.2",
source =>
"http://dag.wieers.com/packages/thttpd/thttpd-2.25b-4.2.el4.rf.i386.rpm"
}
[snip other code]
}
On fedora core 5, the ³source² is ignored: yum is used to pull the package
from the upstream repos listed in
2013 Jan 02
13
Puppet and installing packages from source
Hello Everyone,
I''m looking for a way to install packages from source via puppet, I was
able to locate maybe 5 posts on this subject which is very strange, as I
would expect people to still use ./configure with their own customized
options.
For example, I need to compile Curl with c-ares support, for that I need to
set an option for ./configure but can''t find a way to do it.
2012 Oct 12
2
One client out of 150 doesn't apply config changes
Hello everyone,
I have one puppet client that suddenly stopped applying configuration
changes during the. I''m running with -v to see errors - no errors are shown
and the puppet run completes with:
info: Caching catalog for <system name>
info: Applying configuration version ''1349982313''
notice: Finished catalog run in 49.28 seconds
However, the changes required
2012 Sep 28
2
nested modules and autoloading
All-
I''m using puppet 2.7.14. I''ve reviewed
http://docs.puppetlabs.com/puppet/2.7/reference/modules_fundamentals.html
but it doesn''t seem to cover what I''m attempting.
Consider a module layout like this:
$ tree mymodule
mymodule
|-- Modulefile
|-- README
|-- manifests
| |-- init.pp
| |-- special_type
| | `-- prereqs.pp
| `-- special_type.pp
2012 Nov 01
7
Install RPM package via puppet
I am trying to get a package (iftop) installed on a test node using puppet
but I can''t get it to install. This seems like it should be simple, but I
can''t figure out what I am missing. Have done a lot of searching for
similar problems and the answers I found seem to be vague in the details
and explanation.
I have the package added to an internal yum repo. OS is Centos 5.4.
2005 Feb 10
1
installing package hier.part on Mac OSX
Hi-
I've been trying to install the hier.part package on
my mac (OSX 10.3.7) and it is not working for some
reason. I am downloading the package source called :
hier.part_1.0.tar.gz. When I try to auto install from
the cran site, I get this message:
* Installing *source* package 'hier.part' ...
** libs
/Library/Frameworks/R.framework/Resources/bin/SHLIB:
line 1: make: command not
2012 Aug 20
4
puppet-lint and 80 characters line limit?
Hi.
I''m getting lots of warning like this one from puppet-lint:
WARNING: line 67 has more than 80 characters
Now, I don''t like warnings, so any idea how should I rewrite this line
for example, to void the warning?
package {''rpmforge-release'':
ensure => ''0.5.2-2.el6.rf'',
provider => ''rpm'',
source =>
2009 Oct 13
1
beta build problem
I am having the following problem building
R-beta_2009-10-12_r50045.tar.gz
on
Ubuntu 9.04 - the Jaunty Jackalope
Paul
________
...
make[2]: Entering directory
`/home/paul/toolchain/R/R-beta/src/library/Recommended'
begin installing recommended package boot
gzip: invalid option -- 'x'
Try `gzip --help' for more information.
tar: This does not look like a tar archive
2012 Oct 24
13
Puppet & Oracle Database config management
Afternoon all.
I''ve been reading around on Puppet and Oracle, and have come up with a few
links that suggest how to get Oracle installed and base configured, which
has got me started in the right direction on that.
My next challenge is maintaining Oracle database specific configuration on
the relevant hosts. This contains various elements, such as /etc/oratab,
/etc/oranfstab (as
2016 Nov 04
10
[PATCH 0/5] Import directly from OVA tar archive if possible
This is still a draft, not ready for commit yet. But feedback is
welcomed.
This series is related to the problem of inefficient import of OVA
files. The needed enhancements of QEMU was merged into the codebase and
should be available in QEMU 2.8. From there we can use 'size' and
'offset' options in raw driver to tell QEMU to use only subset of a file
as an image.
The first three
2016 Nov 12
9
[PATCH v2 0/5] Import directly from OVA tar archive if possible
This series is related to the problem of inefficient import of OVA
files. The needed enhancements of QEMU were merged into the codebase and
should be available in QEMU 2.8. From there we can use 'size' and
'offset' options in raw driver to tell QEMU to use only subset of a file
as an image.
The patch set is more or less complete. The only outstanding issue is
the missing detection
2020 Apr 06
4
[v2v PATCH 1/2] v2v: nbdkit: change base dir for nbdkit sockets/pidfiles
Since this new temporary directory will contain UNIX sockets for
communicating with nbdkit, then its path must not be too long.
Use the existing directory that libguestfs exposes for this, i.e.
sockdir.
---
v2v/nbdkit.ml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/v2v/nbdkit.ml b/v2v/nbdkit.ml
index 65317f9b..46b20c9d 100644
--- a/v2v/nbdkit.ml
+++ b/v2v/nbdkit.ml
2012 Apr 26
2
Optional values from Hiera (no default value)
Hello Puppet List,
I''m writing a module that should take an optional value and I want to
get it (amongst other places) from Hiera.
$repository = $::java_repository ? {
undef => hiera(''java_repository'')
default => $::java_repository,
}
But this fails because Hiera raises an error if it can''t find a value.
I later want to do something like this:
2011 Sep 23
1
should dir(all=TRUE) return "." and ".."?
dir(all=TRUE) returns the file names "." and ".."
while dir(recursive=TRUE, all=TRUE, include.dirs=TRUE)
does not. I always filter out the "." and ".." entries
and was wondering if anyone would mind if dir(all=TRUE)
just omitted them? It might make recursive file operations
like cleaning out a directory safer, as
unlink(recursive=TRUE, dir(all=TRUE,
2013 Jul 12
5
Module team update: 2013-07-07 - 2013-07-12
Hello!
Now that we''re two weeks in it''s time for another update on what''s been
going on in the module team. We focused on puppetlabs-ntp and
puppetlabs-firewall as our two primary modules, but also merged in fixes to
passenger, rabbitmq, mysql, apt, and apache.
As a result of this work we''ve released:
http://forge.puppetlabs.com/puppetlabs/apache/0.7.0
2017 Mar 13
4
[PATCH 0/2] v2v: -i ova: A couple of cleanup patches.
A couple of patches cleaning up the -i ova code. These are
both just refactoring (or should be at any rate).
The second patch is best viewed with 'git show -w' to exclude
whitespace changes.
Rich.
2017 Feb 03
3
[PATCH v7 0/1] Import directly from OVA tar archive if possible
v7:
- rebased because patch 1/3 has been pushed
- changes to nsplit have been dropped (2/3)
- addressed Richard's comments, notably the subfolder function was moved to
mllib and renamed to subdirectory
v6:
- just rebase
v5:
- rebase, patches 1,3,5 were merged
- 1/3: we still need to discuss whether to detect compressed discs
- 2/3:
- renamed argument noempty to keep_empty
- tests were