Hi,
I just ran into the same problem few days back,
see whether you have installed rack 1.1.0 you can check by "gem list"
and if possible uninstall the existing rack which ever version it is
and then install it with this command gem install rack -v=1.1.0
server:/usr/share/puppet-dashboard/s
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 doesn't
On Tue, Aug 14, 2012 at 7:27 PM, James A. Peltier wrote:
> 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 rece
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 puppet-users@googlegr
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 single-interpreter
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
http
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 tem
- Original Message -
> From: "Mitchell Hashimoto"
> To: puppet-users@googlegroups.com
> Sent: Tuesday, August 14, 2012 1:12:31 PM
> Subject: Re: [Puppet Users] Testing Hiera Lookup with Puppet Master
>
>
>
> On Tuesday, August 14, 2012 12:34:45 PM UTC-7, R.I. Pienaar wrote:
>
>
>
>
On Tue, Aug 14, 2012 at 4:10 PM, saasadm 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 dashes before test
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
/usr/lib/ruby/site_ruby/1.8/puppet/util/subclass_loader.rb:21:in
`handle_subclasses': un
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
Puppet 2.7.19rc3 is a maintenance release candidate for Puppet in the
2.7.x series with bug fixes.
Downloads are available at:
* Source https://downloads.puppetlabs.com/puppet/puppet-2.7.19rc3.tar.gz
Windows package is available at
https://downloads.puppetlabs.com/windows/puppet-2.7.19rc3.msi
R
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 pid
On Tue, Aug 14, 2012 at 02:23:37PM -0700, Douglas Garstang wrote:
> Yeah, well I tried the puppet labs lvm module. After I fixed the
> syntax errors, which included a missing '}' in the code (wtf!??!), it
> seems that custom types don't work with environments...
>
> http://projects.puppetlabs.com/
On Tue, Aug 14, 2012 at 3:06 PM, Douglas Garstang
wrote:
> On Tue, Aug 14, 2012 at 3:03 PM, Douglas Garstang
> wrote:
>> On Tue, Aug 14, 2012 at 2:59 PM, Douglas Garstang
>> wrote:
>>> On Tue, Aug 14, 2012 at 2:49 PM, Eric Shamow wrote:
Specifically the types need to be in the server's $li
On Tue, Aug 14, 2012 at 3:03 PM, Douglas Garstang
wrote:
> On Tue, Aug 14, 2012 at 2:59 PM, Douglas Garstang
> wrote:
>> On Tue, Aug 14, 2012 at 2:49 PM, Eric Shamow wrote:
>>> Specifically the types need to be in the server's $libdir. You can place
>>> them there manually, but the way they gen
On Tue, Aug 14, 2012 at 2:59 PM, Douglas Garstang
wrote:
> On Tue, Aug 14, 2012 at 2:49 PM, Eric Shamow 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 ens
On Tue, Aug 14, 2012 at 2:49 PM, Eric Shamow 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 them in the
> modu
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 pu
On Tue, Aug 14, 2012 at 2:40 PM, Eric Shamow wrote:
> Douglas,
>
> Do you intend to use different versions of the type in different
> environments, or are you just concerned with trying to get the same code out
> everywhere?
>
> According to
>
> http://projects.puppetlabs.com/issues/13858
>
> th
Douglas,
Do you intend to use different versions of the type in different environments,
or are you just concerned with trying to get the same code out everywhere?
According to
http://projects.puppetlabs.com/issues/13858
this is fixed for Telly, and there is a patch available if you want to giv
On Tue, Aug 14, 2012 at 2:25 PM, Douglas Garstang
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: Puppet::Parser::AST::Resource f
On Tue, Aug 14, 2012 at 2:30 PM, Douglas Garstang
wrote:
> Yep. That was the culprit. Maybe you guys wanna run this through a
> 'puppet parser validate' before posting them to the forge...?
Obviously, our intention is not to release borked code but a mistake was made.
>
> I'm still borked though
On Tuesday, August 14, 2012 4:14:47 PM UTC-5, Jeff McCune wrote:
>
> On Mon, Aug 13, 2012 at 12:36 PM, llowder
> > 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/1
On Tue, Aug 14, 2012 at 2:22 PM, Ryan Coleman wrote:
> 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
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 physical_volu
On Sat, Aug 11, 2012 at 7:48 PM, Stefan Schulte
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 not documented in the
>
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 volum
On Mon, Aug 13, 2012 at 12:36 PM, llowder 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
conventions](docs.puppetlabs.com/guides/modules.
On Tue, Aug 14, 2012 at 10:30 AM, Jeff McCune 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
> tested to work wi
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 u
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
http://puppetlabs.
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 wrote:
> Everything else aside, you have a semicolon after ensure => present instead
> of a comma in your physical_volu
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 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 '
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.
>
On Tuesday, August 14, 2012 12:34:45 PM UTC-7, R.I. Pienaar wrote:
>
>
>
> - Original Message -
> > From: "Mitchell Hashimoto" >
> > To: puppet...@googlegroups.com
> > Sent: Tuesday, August 14, 2012 12:13:19 PM
> > Subject: [Puppet Users] Testing Hiera Lookup with Puppet Master
> >
- Original Message -
> From: "Mitchell Hashimoto"
> 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? A node is not
> g
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
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
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
> understa
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 pa
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 wrote:
> On Tue, Aug 14, 2012 at 11:56 AM, Zachary Alex Stern
> wrote:
> >
> >
On Tue, Aug 14, 2012 at 11:56 AM, Zachary Alex Stern
wrote:
>
> FWIW, this works:
>
> class puppet::config {
>
> include puppet::params
> $puppetserver=$puppet::params::puppetserver
> $runinterval=$puppet::params::runinterval
> file { '/etc/puppet/puppet.conf':
> ensure => present,
>
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 guide
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 *myapp.properties
On Tue, Aug 14, 2012 at 7:49 AM, Jen Patrick 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 work?
>
> nod
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_et
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 some
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_et
hello,
- Original Message -
> From: "Paul Colby"
> 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
> around 2
On Tue, Aug 14, 2012 at 6:09 AM, jcbollinger 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 retri
>
> 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.con
-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 {
"/etc/op
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 env
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,
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 ou
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 env
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 --versi
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
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
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: Resour
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 /fi
There are a number of ways to achieve that.
One would be to.
file { [ '/first', '/first/second' ]:
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
before => User['julia'],
}
user { 'juila':
ensure => present,
gid => 'julia',
groups=> ['u
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 recursiv
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 our
66 matches
Mail list logo