Hi.
We're a small startup, based in Zurich, Switzerland and we're looking
for an experienced devops engineer.
Powering our two services ( http://squirro.com and http://memonic.com )
is a pretty slick infrastructure based on amazon aws and its been managed
with puppet since day one ;-)
Since
Hi
I want to use exec to create a recursive directory (I know I can use file
but for another reason I don't want to)
So as a variable I get passed in $home and it may be for example
/first/second/userdirectory where first and second may not exist.
Puppet's user wraps useradd so it won't
So as a variable I get passed in $home and it may be for example
/first/second/userdirectory where first and second may not exist.
So I wanted to do a simple exec command which does the following if I were
to do it at the command line:
mkdir -p ${home%/*}
...this would make
On Tuesday, August 14, 2012 12:12:33 AM UTC-5, Douglas wrote:
Trying to force puppet class execution order with:
Class['lvm'] - Class['network'] - Class['apt'] - Class | |
This is giving me:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Resource type class
Dreaded. I have found that using the .dot files that puppet --graph option
produces sometimes helps see those dreaded dependency cycle issues (and
some times it does not). I recommend graphviz for anyone on linux for
generating png files for the .dot files (not sure for Windows).
On my setup
Hi
Thanks for your response.
The first answer won't work for me as I want to be dynamic about it and
take in a variable of the full path so it could just as easily be 10
directories deep. I'm getting the value for home from a CLI rather than
hand crafting something static.
The significance of the
Well no go with metadata_expire or a yum clean all after updating the
repo. This appears to be a bug of some sort. Debugging output shows
before any packages checked this output:
debug: Prefetching yum resources for package
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm
Hello puppet experts
i have followed the following docoment to setup separate environment
for development testing and production
http://puppetlabs.com/blog/git-workflow-and-puppet-environments/
can i use environment variable inside a module and thus calling separate
modules for separate
dohh... I just realized this host had 2.6 installed... not 2.7.
Everything works fine on 2.7.
On Tuesday, August 14, 2012 9:07:39 AM UTC-5, trey85stang wrote:
Well no go with metadata_expire or a yum clean all after updating the
repo. This appears to be a bug of some sort. Debugging
OK then.
command = mkdir -p $(dirname ${home}),
That does it.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/1LLoBIiTMZ4J.
To post to this group,
Hello puppet experts
i have followed the following docoment to setup separate environment
for development testing and production
http://puppetlabs.com/blog/git-workflow-and-puppet-environments/
can i use environment variable inside a module and thus calling separate
modules for separate
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have a configuration similar to the following (the puppet version is
2.6.16):
node basenode {
$ldapenvironment = office
}
node mynode inherits basenode {
include ldap
}
class ldap {
file {
Sorry typo:
class puppet (
$server = $puppet::params::server
) inherits puppet::params {
FWIW, this works:
class puppet::config {
include puppet::params
$puppetserver=$puppet::params::puppetserver
$runinterval=$puppet::params::runinterval
file { '/etc/puppet/puppet.conf':
On Tue, Aug 14, 2012 at 6:09 AM, jcbollinger john.bollin...@stjude.org wrote:
On Tuesday, August 14, 2012 12:12:33 AM UTC-5, Douglas wrote:
Trying to force puppet class execution order with:
Class['lvm'] - Class['network'] - Class['apt'] - Class | |
This is giving me:
err: Could not
hello,
- Original Message -
From: Paul Colby pco...@gmail.com
To: puppet-users@googlegroups.com
Sent: Monday, August 13, 2012 6:22:10 PM
Subject: [Puppet Users] hiera command line performance
Hi everyone,
The hiera command line program (version 0.3.0) is currently taking
It's barfing on this:
Error 400 on SERVER: Could not parse for environment production: Syntax
error at '{'; expected '}'
Here's the node.pp
node ccc.unix.ccc.ccc.edu {
class {
web_server:
net_static = {
eth0 = {
macaddress = $macaddress_eth0,
Hi,
I am trying to build (on node A) an authorized_keys file that contains
all host keys from all nodes that have class C imported. Here is my
code:
class C {
@@file { /var/lib/foo/authorized_keys/$fqdn:
ensure = present,
content = from=\$ipaddress_eth0\
We run puppet on lots of development test machines (CentOS VMs). It is standard
practice for our developers to change the system date on their environments,
sometimes by months or years (note that I didn't say it's a *good* standard
practice, but it is pretty entrenched). As a result, it is
On Tue, Aug 14, 2012 at 7:49 AM, Jen Patrick jenafl...@gmail.com wrote:
It's barfing on this:
Is this in relation to a previous thread?
Error 400 on SERVER: Could not parse for environment production: Syntax
error at '{'; expected '}'
is there a line number?
Here's the node.pp
Does this
Hi All,
I would like to use puppet for deploying Jboss application.
The property file of my Jboss app need to be evaluated before moving in the
conf dir as it's a template.
How could I make this kind of operation with native resources of puppet.
*Example :*
I have this file
Hello,
We're pleased to announce the release of the stdlib module at version
2.4.0 [1]. This feature release is fully backwards compatible with
all previous releases of the stdlib module since version 2.0.0 and is
tested to work with Puppet 2.6 and 2.7. The stdlib module follows
semver.org
On Tue, Aug 14, 2012 at 11:56 AM, Zachary Alex Stern
z...@enternewmedia.com wrote:
FWIW, this works:
class puppet::config {
include puppet::params
$puppetserver=$puppet::params::puppetserver
$runinterval=$puppet::params::runinterval
file { '/etc/puppet/puppet.conf':
ensure
That's a fair point, but not applicable to my use-case (multiple puppet
servers).
However, at some point in the near future, I'll be using hiera, and that
will be moot.
On Tue, Aug 14, 2012 at 1:44 PM, Chad Huneycutt chad.huneyc...@gmail.comwrote:
On Tue, Aug 14, 2012 at 11:56 AM, Zachary Alex
Hiera-Puppet 1.0.0rc3 is a feature release candidate. Hiera-Puppet is
the Puppet backend for Hiera and contains the parser functions for
Puppet.
Downloads are available:
* Source http://puppetlabs.com/downloads/hiera/hiera-puppet-1.0.0rc3.tar.gz
* Apt and yum development repositories
* Apple
Hi,
On Tue, 2012-08-14 at 13:27 +0200, Marc Haber wrote:
Hi,
I am trying to build (on node A) an authorized_keys file that contains
all host keys from all nodes that have class C imported. Here is my
code:
...
That being said, is there a way to do things more elegantly? I
understand
Hello,
Is there an easy way to test hiera lookup for a node? A node is not getting
the value I expect from Hiera and I want a way to test this.
I noticed that `hiera` has an option called `-i` to use the Puppet
inventory service. With the latest (RC4 I believe) of Hiera I'm getting the
following
what is the right way to handle this?
On Tuesday, May 12, 2009 7:51:31 AM UTC+1, stever...@gmail.com wrote:
So I want to use facts from one host in the configuration of other
hosts.
Trivial example: setting restrict lines in ntp.conf to allow a
monitoring host to query ntpd on remote
- Original Message -
From: Mitchell Hashimoto mitchell.hashim...@gmail.com
To: puppet-users@googlegroups.com
Sent: Tuesday, August 14, 2012 12:13:19 PM
Subject: [Puppet Users] Testing Hiera Lookup with Puppet Master
Hello,
Is there an easy way to test hiera lookup for a node?
On Tuesday, August 14, 2012 12:34:45 PM UTC-7, R.I. Pienaar wrote:
- Original Message -
From: Mitchell Hashimoto mitchell@gmail.com javascript:
To: puppet...@googlegroups.com javascript:
Sent: Tuesday, August 14, 2012 12:13:19 PM
Subject: [Puppet Users] Testing Hiera
On 14/08/12 18:18, Rost wrote:
Hi All,
I would like to use puppet for deploying Jboss application.
The property file of my Jboss app need to be evaluated before moving in
the conf dir as it's a template.
How could I make this kind of operation with native resources of puppet.
I just grabbed the puppet labs lvm module from Puppet forge.
Attempting to use...
physical_volume {
['/dev/xvdb1', '/dev/xvdc1']:
ensure = present;
}
results in:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Syntax error at ':'; expected
Everything else aside, you have a semicolon after ensure = present instead of
a comma in your physical_volume resource. I'm not certain that it's causing the
problem but it might be confusing the parser.
-Eric
--
Eric Shamow
Professional Services
http://puppetlabs.com/
(c)631.871.6441
Join
I've always used semicolons at the end of resources never caused a
problem before, and puppet-lint doesn't complain about them.
On Tue, Aug 14, 2012 at 1:42 PM, Eric Shamow e...@puppetlabs.com wrote:
Everything else aside, you have a semicolon after ensure = present instead
of a comma in
Oh right - for the code compression syntax…I don't use it and so I tend to
forget it exists. Sorry about that.
Is line 29 specifically this?
absent: {
It would be helpful to see in context with line numbers, such as in a gist.
-Eric
--
Eric Shamow
Professional Services
Eric,
Yes... that's specifically line 29.
19logical_volume { $name:
20 ensure = present,
21 volume_group = $vg,
22 size = $size,
23 before = Volume_group[$vg]
24}
25 }
26 #
27 # Just clean up
On Tue, Aug 14, 2012 at 10:30 AM, Jeff McCune j...@puppetlabs.com wrote:
Hello,
We're pleased to announce the release of the stdlib module at version
2.4.0 [1]. This feature release is fully backwards compatible with
all previous releases of the stdlib module since version 2.0.0 and is
On Mon, Aug 13, 2012 at 12:36 PM, llowder llowde...@gmail.com wrote:
If using the nodes/*.pp and having your site.pp be import 'nodes/*',
You should avoid using the import statement (see
http://projects.puppetlabs.com/issues/12929). Instead, follow the [module
Well that's embarrassing. It seems as those the 'cleaned' match of the
case statement isn't actually closed. :-/
Would you try adding a closing brace in lvm/manifests/init.pp around
like 26, where this code appears? It should close the 'cleaned: {'
block.
}
#
# Just clean up the logical
On Sat, Aug 11, 2012 at 7:48 PM, Stefan Schulte
stefan.schu...@taunusstein.net wrote:
On Sat, Aug 11, 2012 at 01:46:57PM -0700, James A. Peltier wrote:
- Original Message -
| On Fri, Aug 10, 2012 at 05:10:20PM -0700, Douglas Garstang wrote:
| How can I pass an array to a define? It's
I've installed the puppet labs lvm module. After fixing the missing
} at line 20 in init.pp (really?!?!), I'm getting this:'
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type
On Tuesday, August 14, 2012 4:14:47 PM UTC-5, Jeff McCune wrote:
On Mon, Aug 13, 2012 at 12:36 PM, llowder llow...@gmail.com javascript:
wrote:
If using the nodes/*.pp and having your site.pp be import 'nodes/*',
You should avoid using the import statement (see
On Tue, Aug 14, 2012 at 2:25 PM, Douglas Garstang
doug.garst...@gmail.com wrote:
I've installed the puppet labs lvm module. After fixing the missing
} at line 20 in init.pp (really?!?!), I'm getting this:'
err: Could not retrieve catalog from remote server: Error 400 on
SERVER:
Specifically the types need to be in the server's $libdir. You can place them
there manually, but the way they generally get there is via pluginsync. So the
easiest way to ensure the master can process them is to place them in the
module path used by the server *when the server is acting as a
On Tue, Aug 14, 2012 at 2:49 PM, Eric Shamow e...@puppetlabs.com wrote:
Specifically the types need to be in the server's $libdir. You can place them
there manually, but the way they generally get there is via pluginsync. So
the easiest way to ensure the master can process them is to place
On Tue, Aug 14, 2012 at 2:59 PM, Douglas Garstang
doug.garst...@gmail.com wrote:
On Tue, Aug 14, 2012 at 2:49 PM, Eric Shamow e...@puppetlabs.com wrote:
Specifically the types need to be in the server's $libdir. You can place
them there manually, but the way they generally get there is via
On Tue, Aug 14, 2012 at 3:03 PM, Douglas Garstang
doug.garst...@gmail.com wrote:
On Tue, Aug 14, 2012 at 2:59 PM, Douglas Garstang
doug.garst...@gmail.com wrote:
On Tue, Aug 14, 2012 at 2:49 PM, Eric Shamow e...@puppetlabs.com wrote:
Specifically the types need to be in the server's $libdir.
Hi All,
Recently Puppet (2.7.18 / RHEL 6.3) has started to hang when the listen
parameter is turned on. I've tried rolling back several versions of Puppet as
well as rolling back Ruby so as to try and figure out if it was a recent update
that did it, but to no avail.
strace on the puppet
On 8/14/2012 2:14 PM, Jeff McCune wrote:
what is the best practice? Is it better to have one node def per
file, or group the node defs by class (ie, all app servers in one
file or all web servers in one file) or some other layout?
Best practice is to use an external node classifier
On Tue, Aug 14, 2012 at 4:10 PM, saasadm nguyendoanp...@gmail.com wrote:
Have anyone seen this error before? I just installed Puppet and tried it
out and got this error.I haven't made any changes to the system
yet after the installation.
puppet agent --noop --verbose -test
Are there two
thks
Le mardi 14 août 2012 22:21:04 UTC+2, Dominic Cleal a écrit :
On 14/08/12 18:18, Rost wrote:
Hi All,
I would like to use puppet for deploying Jboss application.
The property file of my Jboss app need to be evaluated before moving in
the conf dir as it's a template.
As well as the above, I'd like to also know how to get it to use the 'local
time', not UTC, as all my systems are in the same timezone.
thanks
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To view this discussion on the web visit
Thanks R.I. Pienaar, that's exactly the kind of suggestion I was hoping
for! :)
I haven't written any Ruby for ~9 years, but as I regularly develop in
several other languages (primarily C++), I'll enjoy getting my hands dirty
with Ruby again.
And thanks for including a basic
Hello,
I have a custom Puppet function. Am I able to call that function from
within my custom provider (written in Ruby)?
Best,
Mitchell
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to
Hi,
I'm trying to install dashboard on precise and I get the below error.
I'm using the latest version that is available in the puppet apt
repository. The package rdoc is installed (it's just a virtual package
pointing to ruby)
Are there some other missing dependencies that the package
54 matches
Mail list logo