Displaying 20 results from an estimated 3000 matches similar to: "Downloading a file into a directory that does not exist"
2009 Jan 30
4
modules not processing in order
Hello there
I''m just testing a module (see merging directories) and it is quite
involved, in that it:
__generic__
1) creates a user
2) creates a base directory
3) copies generic files (directory with recursion)
4) generate a configuration file from a template
5) creates a symlink
__os specific__
6) copies os specific files (in my scenario two folders, and an init
script)
7)
2012 Aug 06
4
Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok
Hi,
I have been fighting this issue without success for several days. I am
sure some of you have dealt with something similar:
I have 2 manifest one for vim which works like a charm :
class vim {
if $operatingsystem == "Debian" {
package {"vim":
ensure => present,
}
package
2006 Jun 23
1
instantiate record in single table inheritance
Hi,
is there a way to instantiate a _concrete_ subtype from within an
ActiveRecord collection?
Example:
class Link < ActiveRecord::Base
end
class InternalLink < Link
end
class ExternalLink < Link
end
internal_link = my_navigation.links.create_[xxxxxxx]
external_link = my_navigation.links.create_[xxxxxxxx]
the [xxx] is what I am missing...
I could do this
external_link =
2007 Aug 22
7
Frustrating warning/error from puppetd
Greetings all,
(Hopefully this won''t be a HTML mail.)
I''ve picked up puppet as a tool to manage a fairly small network of RHEL servers, and I''m really liking what I see so far. However, I''m having a pile of trouble with a class definition for a yum controller:
# $Id$
class yum-rhel5 {
file { "/etc/yum.conf":
mode => 644,
2012 Feb 12
7
Shorewall 4.5.0
The Shorewall Team is pleased to announce the availability of Shorewall
4.5.0.
----------------------------------------------------------------------------
P R O B L E M S C O R R E C T E D I N T H I S R E L E A S E
----------------------------------------------------------------------------
1) This release includes all defect repair included in
4.4.27.1-4.4.27.3.
2) The start
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*
2010 May 10
4
Begining with puppet.
Hi,
I am trying to do my first puppet configuration, already installed the
puppetserver and client, in this link show my configuration and my puppet
structure:
http://paste.pocoo.org/show/212227/
But when i run the client side daemon i get this message:
info: /Class[main]/Node[basenode]/Class[inittab]/File[inittab]/source: No
specified sources exist
err:
2010 Mar 02
2
Nagios based on David Schmitt's Complete Config : variables are empty
Hello !
I''m trying to implement a Nagios solution based on David Schmitt''s
Complete Config. But I the following error when running puppetd -t -
v :
notice: Starting catalog run
err: //Node[monitoring]/nagios::target/Nagios::Host[]/File[/conf.d/
_host.cfg]/ensure: change from absent to present failed: Could not set
present on ensure: No such file or directory - /conf.d/
2013 Jun 20
6
File directive
Hi Everyone,
Is it possible to use File directive only if some software is installed,
otherwise do nothing?
For example:
file { "/tmp/puppet-nginx-init.sh":
ensure => "present",
owner => "root",
group => "root",
mode
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
Hello syslinux,
Merry Christmas! These patches will make extlinux work with umounted
ext2/3/4 filesystem, for example:
$ extlinux -i /dev/sdXN
or
$ extlinux -i file_block
Also it can work with something like:
$ extlinux /dev/sdXN --reset-adv
or
$ extlinux file_block --reset-adv
We don't use a new option (I planed to use "-d" but it is already in
use), it will check whether the
2011 Apr 18
4
Certificate request does not match existing certificate
Hello there,
I have a problem while I''m trying to puppetize a client, I get this
error:
err: Could not request certificate: Certificate retrieval failed:
Certificate request does not match existing certificate; run ''puppetca
--clean puppetclienttest.sl.ss''.
I checked
-Shutdown puppet on client/server side, delete ssl/ dir to regenerate
certificate.
-Be sure that the
2018 Mar 16
3
cat(fill=N)
Hi all,
I expect I'm getting something wrong, but
cat("foo bar baz foo bar baz foo bar baz", fill = 10)
should be broken into lines of width 10, whereas I get:
> cat("foo bar baz foo bar baz foo bar baz", fill = 10)
foo bar baz foo bar baz foo bar baz
This is on R 3.4.3, but I don't see mentions of it fixed in 3.4.4 or
r-devel NEWS.
Cheers,
David
2008 Oct 22
5
LDAP Problem
I am trying to configure puppet with LDAP repository . I have set puppet
schema and I have also added node definition at LDAP.
Here is my configuration details .
##############################################################
Puppet.conf
node_terminus = ldap
ldapserver = 10.250.11.127
ldapbase = ou=Hosts,dc=xyz,dc=com
ldapassword = secret
2014 Jun 02
3
[LLVMdev] -fvisibility=hidden, and typeinfo, and type-erasure
[Was initially posted on cfe-users, sorry.]
Hi,
I'm sorry my message is quite long, the TL;DR version is "g++ and clang++ seem to have different opinions on how RTTI, templates, and ELF visibility should interact".
I can't tell whether this is a bug or not: I have found no relevant documentation that could help me decide whether this behavior is meant, or not. All I can say
2008 Jan 11
5
Missing methods
We have a custom implementation of the Mother Object idea. It''s inside
of a module, basically like this:
module Factory
%w(account friendship person invitation message asset email_address
birth).each do |klass|
eval <<-EOF
def self.create_#{klass}(attributes = {})
default_attributes = valid_#{klass}_attributes
#{klass.camelize}.create!
2007 Feb 15
4
Component/type defaults for 0.22.x
Has the component/type defaults syntax changed for 0.22.x?
I have a component:
<snip>
define remotefile($owner=root, $group=root, $mode, $source,
$backup=false, $recurse=false, $groupname="default") {
file {
$name:
mode => $mode,
owner => $owner,
group => $group,
backup => $backup,
2007 Jul 11
1
Template errors
Hi,
I''m having a problem with templates and a remote node. I have a working
puppetserver and and puppet client (on the same server) which
successfully runs my manifest(s) and now I''m trying to add a new client
on a separate server. It all seems to work except for when I try to use
templates. For example :
file {
"/etc/apt/sources.list":
2007 May 23
2
Markdown generates invalid html for a list immediately followed by a quote
Howdy,
[Please preserve the CC to 424919-forwarded at bugs.debian.org on any
replies.]
The following bug in Markdown was reported to the Debian bug tracking
system. In short, running both the released version of Markdown and
the latest beta on
* foo
> bar
> baz
produces invalid HTML.
----- Forwarded message from Joey Hess <joeyh at debian.org> -----
From: Joey Hess <joeyh
2007 Dec 24
2
Build a cmdline for exec from optional parameters
How can I do this?:
foo { name:
$bar => "frob"
}
define foo( $bar = false, $baz = false ) {
if #$bar and $baz both defined
$cmd = "frobnicate --bar=$bar --baz=$baz ${name}"
else if #$bar defined
$cmd = "frobnicate --bar=$bar ${name}"
else if #$baz defined
$cmd = "frobnicate --baz=$baz ${name}"
else
2008 Jun 04
3
how to automatically create objects with names from a string list?
Suppose I have a string of objects names:
name <- c("foo", "bar", "baz")
and I would like to use a for loop to automatically create three
objects called "foo", "bar" and "baz" accordingly. Then how can this
be done" (so that in the workspace, foo = 1, bar = 2 and baz=3)
for (i in name) {
.....
}
Thanks!
Mark