Hi,
I was running puppet (2.7.5) on a host which needed to have some
settings changed in it's /boot/grub/menu.lst file. This file is
however a link to /boot/grub/grub.conf
When I used augeas in puppet like shown below
augeas { "${dom0::params::module_label}_menu.lst_memory": incl => '/
boot/grub
Hi all,
I think I'm not understanding something...
from http://docs.puppetlabs.com/guides/parameterized_classes.html :
"The parameters you name can be used as normal local variables
throughout the class definition"
so, I have a class like:
class common::nrpe($ensure='absent') {
[...]
if ($::
On Oct 7, 6:05 am, Arnau Bria wrote:
> Hi all,
>
> I think I'm not understanding something...
>
> fromhttp://docs.puppetlabs.com/guides/parameterized_classes.html:
>
> "The parameters you name can be used as normal local variables
> throughout the class definition"
>
> so, I have a class like:
>
On Oct 5, 10:54 pm, Chris McDermott wrote:
> I haven't used them yet, but isn't this what stages are meant to facilitate?
>
> http://docs.puppetlabs.com/references/stable/metaparameter.html#stage
Run stages are syntactic sugar. There is nothing you can do with them
that you cannot also do wit
On Fri, 7 Oct 2011 05:55:34 -0700 (PDT)
jcbollinger jcbollinger wrote:
Hi John,
> You are misunderstanding that Puppet variables' values can never be
> reassigned. Once a variable has a value, it never changes throughout
> the compilation of that catalog. This is an aspect of Puppet DSL's
> dec
On Thu, Oct 6, 2011 at 11:22 PM, Stefan Schulte
wrote:
>
> You could create the mountpoint with an exec resource. Like
>
> define mymount (.) {
> exec { "create_${name}":
> command => "/bin/mkdir -m 0755 ${name}",
> creates => $name,
> }
> mount { $name:
>
On Oct 7, 8:11 am, Arnau Bria wrote:
> On Fri, 7 Oct 2011 05:55:34 -0700 (PDT)
>
> jcbollinger jcbollinger wrote:
> > While I'm on this topic, I'll throw in that I would find it terribly
> > confusing if a class or definition failed to honor my specification
> > for a parameter named 'ensure'.
On Fri, 7 Oct 2011 06:34:00 -0700 (PDT)
jcbollinger jcbollinger wrote:
> On Oct 7, 8:11 am, Arnau Bria wrote:
> > On Fri, 7 Oct 2011 05:55:34 -0700 (PDT)
> >
> > jcbollinger jcbollinger wrote:
> > > While I'm on this topic, I'll throw in that I would find it
> > > terribly confusing if a class or
Hello,
sorry for the delay, I did a few tests and found out that the puppet
master does not even go as far a querying the database.
Starting from a clean query log (mysql), there is no sign of
Concat::Fragment (tried small case as well).
I guess this info also applies to the post "Problems wi
Hi Tim,
> IMO, you've got to be clear what the underlying information model that
> puppet / facter supports is. In particular, if you simply say that the
> facts are the data reported by the underlying tools, then you've got
> zero abstraction of the model and it's 'an exercise for the user to
> h
You are confusing Standards (RFC) and POSIX. They are typically mutually
exclusive in their roles.
RFC dictates the standards the information should be presented. POSIX
dictates the API that the information is obtained. The difference can be
plainly seen in message protocols, like smtp.
http://nem
One option would be to create a define to use as a wrapper around
"package". Something like this:
define package::special($ensure) {
package { $name:
ensure => $ensure,
}
exec { "rkhunter-$name":
command => "rkhunter --propupd",
refreshonly => true
subscribe => Package
Good news, everyone! The Windows work is (nearly) done. There are a
couple of topic branches that are left to review and merge but other
than these we're back to our regularly scheduled program/backlog.
Currently, the plan is to divide our effort roughly equally between
catching back up on revie
Hi all, I'm very excited about using puppet cloud provisioner to spin
up new EC2 instances and have puppet auto-installed on them and then
get them to play their part by getting them classified using either
puppet master or puppet dashboard, so that each node will install all
the appropriate packag
Hello,
I have master and agent puppet server setup and i am running
the manifest which includes the exec block
exec{"install-gems":
command => "cd /opt/redmine/current && rake gems:install && rake
db:migrate",
}
When i run on the client side , the execution of the install-gems
fail
I'm still having some issues with cloud provisioner. I have a fresh
install of provisioner, .60rc1, puppet 2.7.3, and dashboard 1.2.0.
Everything has a very default install as described in the
documentation. I was unable to get bootstrap to work, so I did things
in a linear fashion (create, inst
Hi,
I'm trying create a custom function that will return an array of file
paths for the file type source. Instead of defining the following
array for source for each file type:
file: { "some_file":
source => [ "puppet:///file/$hostname/path", "puppet:///file/$role/
$mode/path", "puppet:///file
Puppet 2.7.6rc2 is available. This release candidate fixes issues
undercovered with using storedconfigs.
Release Notes for 2.7.6 series --
https://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes
This release is available for download at:
http://downloads.puppetlabs.com/puppet/
See
This should be fixed in 2.7.6rc2. Please test.
--
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@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegro
One thing you might want to try, which could resolve the issue is use cwd
meta for exec. I would also split the actions up, like below, with
refreshonly meta set to true so it doesnt execute them on every puppet run.
You would need a resource that would trigger them, like package install or
somethi
You can effectively override a fact by setting the weight, as follows
Facter.add(:hostname) do
has_weight 200
setcode do
# your own hostname implementation
end
end
On Fri, Oct 7, 2011 at 12:57 PM, Matthew Black wrote:
> You are confusing Standards (RFC) and POSIX. They are typically mu
New to puppet and I just don't understand how to do this. Apologies in
advance if it's a dumb question.
Let's say I have a module called httpd and inside that is a class
called httpd::service, which accepts a couple of parameters:
class httpd::service (
$running = 'running',
$enabled
On 10/08/2011 12:28 AM, maillis...@gmail.com wrote:
New to puppet and I just don't understand how to do this. Apologies in
advance if it's a dumb question.
Let's say I have a module called httpd and inside that is a class
called httpd::service, which accepts a couple of parameters:
class httpd
Mostly stlll run as cron. Though for some instances we run as a daemon.
--
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/-/itTFPtfZLocJ.
To post to this group,
24 matches
Mail list logo