Is that directory managed as a resource with puppet? Puppet doesn't recognize
non-managed resources as dependencies.
--
Brian Lalor
bla...@bravo5.org
On Dec 25, 2012, at 9:22 PM, Andrey Ageyev wrote:
> The folder - /etc/apt/sources.list.d exists.
> Does anybody know what
On Jan 3, 2013, at 5:39 AM, a...@gmx.de wrote:
> Any other idea about how to find out what process 11957 actually is doing?
There's another flag to strace, -f, if I recall correctly, that will follow
forks of children.
--
You received this message because you are subscribed to the Google Grou
Morning, all. I've got a problem with a custom class and template that has me
stumped. I've created the following class:
class graphite::carbon(
$cache_port = 2003,
$cache_enable_udp = false,
$cache_udp_port = $cache_port,
) {
package {'carbon': }
On Jan 6, 2013, at 12:32 PM, Stefan Schulte
wrote:
> No you are doing nothing wrong except that variable interpolation is
> random so you get random results if the default value of parameterA
> depends on the value of parameterB.
>
> This has been accepted as a bug so you may want to watch
> ht
On Jan 9, 2013, at 4:34 PM, Wolf Noble wrote:
> My colleagues and I are contemplating refactoring our modules to take
> advantage of the "roles/profiles" paradigm suggested by Craig Dunn in his
> blog post found here:
> http://www.craigdunn.org/2012/05/239/
>
> Before we jump feet-first into a
I'm looking for a way to parameterize the module path at runtime based on
multiple variables, including the environment. We've got a puppet master that
serves nodes from several different projects, each of which have their own
dev/test/prod environments. I'd like for each project to have their
I took an hour this morning to document how I use Vagrant and Puppet together
to provision development VMs as well as more production-like systems. This may
be entirely elementary to folks who are more fluent with Puppet, but this is an
example I thought was lacking.
https://github.com/blalor/
On Jan 25, 2013, at 9:25 AM, Peter De Cleyn wrote:
> I ran again against a long standing bug / feature request but from a new
> angle: creating directories with parents
> (http://projects.puppetlabs.com/issues/86).
I was blown away when I saw that issue. It's been open for 7 years and nobody
On Feb 6, 2013, at 10:36 PM, Brian Carpio wrote:
> I need a way to put down a file, /tmp/finished, for instance as the last step
> in an initial puppet run.
>
> I've tried playing with the relationship syntax:
>
> * <| |> -> File["/tmp/finished"]
>
> But that doesn't work
>
> For now I am u
On Feb 12, 2013, at 5:35 AM, Ralph Bolton wrote:
> Thanks for the suggestion. I did wonder about copying all the modules and
> configs off the Puppet Master onto the test box. My concern is really just
> about keeping that lot up to date, and most importantly to make sure that it
> behaves the
I'd like to use Puppet for the "last-mile" deployment of our applications,
starting from a bare VM and ending up with a server that is running a specific
version of an application. We're using a Puppet master already, which I kind
of feel is something of a problem: if I were just running "puppe
On Feb 12, 2013, at 10:16 PM, Peter Brown wrote:
> You could just disable the puppet daemon on the node after setting it up and
> manually running puppet with --noop so you know what has changed before you
> apply it.
Ok, so that would keep it from checking in periodically but would still sync
balancer during the puppet
run. If the upgrade is deemed a failure, the old version must be reinstated on
those 5 machines. This is all possible with puppet, and it feels like the
master/agent relationship is an impediment.
--
Brian Lalor
bla...@bravo5.org
On Feb 13, 2013, at 4:09 PM
Will this help?
http://docs.puppetlabs.com/puppet/3/reference/lang_variables.html#parser-set-variables
--
Brian Lalor
bla...@bravo5.org
On Feb 13, 2013, at 6:17 PM, Chad Huneycutt wrote:
> I have been following the various blog posts about the roles and
> profiles pattern for class
Import is like a #include in C: it's essentially a preprocessor directive and
is evaluated before the if/ else.
http://docs.puppetlabs.com/puppet/2.7/reference/lang_import.html
--
Brian Lalor
bla...@bravo5.org
On Feb 14, 2013, at 1:17 AM, Евгений Верещагин wrote:
> I try include d
On Feb 14, 2013, at 7:04 PM, joe wrote:
> Puppet isn't particularly good at code deployment. Ideally, you'd package
> your code, set a package resource to ensure => latest, then update your
> package repo with the new code. Then, all the resources that subscribe to
> that package (services, et
On Feb 14, 2013, at 7:01 PM, Jakov Sosic wrote:
> On 02/13/2013 05:12 PM, Matthew Black wrote:
>> Without fully understanding your modules and how they interact you can
>> always take a copy of the site manifest and modules with the node and
>> then do something like this
>>
>> puppet apply /etc
On Feb 15, 2013, at 1:45 PM, jcbollinger wrote:
> Curiouser and curiouser. The "1:" is an epoch number, as you probably
> recognize. I was a bit surprised that Puppet would require you to include
> it, but very surprised to find out that it fails even if you do. I do think
> it likely that
that
have given me problems, too, namely ngircd which was upgraded from 18 to 20.1.
How do I manage this problem? Do I need to maintain my own mirrors? That
seems like a horrible solution. Is there another CentOS repository I should be
using? Am I just going about this all wrong?
Thanks
It's really more about repeatability and consistency. I trust the packagers to
make reliable packages, not to do testing of the upstream software. They should
be treated as you would libraries for your software dependencies.
--
Brian Lalor
bla...@bravo5.org
On Mar 10, 2013, at 4:
Thank you, Jakov. This link[1] explains the process. I should be able to use
vault to augment the current release, allowing me access to the older packages.
[1]:
http://web.archive.org/web/20070821231316/http://lists.centos.org/pipermail/centos/2005-June/007570.html
--
Brian Lalor
bla
--detailed-exitcodes
> Try '/usr/sbin/puppetd --help'
>
> Am I missing something here, is there any other way for me to tell if puppet
> failed?
Isn't puppetd deprecated in favor of "puppet agent"? I use
--detailed-exitcodes with "puppet apply"
lly or when the
upstream repositories have new packages, but it doesn't seem to work that way
for me…
--
Brian Lalor
bla...@bravo5.org
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop rec
e to the
out-of-order resource processing, but I'm sure it'll bite me eventually. Am I
declaring the ordering correctly with -> ? I also tried just using "require
dns_workarounds" in the if block, but that's giving me the same result.
Thanks,
Brian
--
Brian Lalor
bl
really violates the
principle of least surprise. I'll give the anchors a try today, hopefully.
--
Brian Lalor
bla...@bravo5.org
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving
per install. I've got a pattern for this with Puppet that I'll share
if anyone's interested.
--
Brian Lalor
bla...@bravo5.org
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receivi
On Apr 3, 2013, at 8:39 PM, Matthaus Owens wrote:
> Hiera 1.2.0 is a feature release in the 1.x series with
> new features and bug fixes.
Can Hiera be upgraded independently of the version of Puppet being used?
--
Brian Lalor
bla...@bravo5.org
--
You received this message because y
prefix the name of
the class to the param name with double colons and use that as the lookup key
in hiera.
--
Brian Lalor
bla...@bravo5.org
On Apr 18, 2013, at 4:15 PM, Alaric wrote:
> This may be a dumb question, but here goes
>
>
> So I'm running on Puppet 3.1.1 on RHEL5, an
.
class foo (
$bar => hiera('baz', 'bap'),
) { }
So $bar will be set to "bap" only if foo::bar and baz are not found in Hiera,
in that order?
--
Brian Lalor
bla...@bravo5.org
--
You received this message because you are subscribed to the Google Groups
"P
So there's this:
http://docs.puppetlabs.com/hiera/1/custom_backends.html
Is there a more thorough tutorial? That one's a little … light. :-)
--
Brian Lalor
bla...@bravo5.org
--
You received this message because you are subscribed to the Google Groups
"Puppet U
it. The easy way is to do
class bar ($foo) { … }
and Hiera will look up the key "bar::foo" from the configured data sources.
--
Brian Lalor
bla...@bravo5.org
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsub
I'd love to be proven wrong, but in my experience neither rvm nor rbenv are
packaging-friendly. You'll end up compiling code and downloading dependencies
from your prod machines. That's a really Bad Idea.
--
Brian Lalor
bla...@bravo5.org
On May 7, 2013, at 3:55 PM, David
On May 10, 2013, at 7:18 AM, Jonathan Gazeley
wrote:
> ipaddr = <%= scope.function_hiera(["jrs_config_server1"]) %>
You're passing in an array; is that intentional?
--
Brian Lalor
bla...@bravo5.org
--
You received this message because you are subscribed to the Goog
not back to the master. I've been playing
with pushing reports to Logstash…
--
Brian Lalor
bla...@bravo5.org
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving email
should pull it, put it in
> place on server and restart service.
>
> Is there any general guide what is the best practice how to achieve this ?
I'm not sure that's really a best practice, but it does come in handy from time
to time. There's a module for that: vcsr
sitory, then use a file resource to ensure that a target file is kept
in sync with the one checked out from the remote repo. Make the file resource
require the vcsrepo resource. Then you can notify MySQL to restart when its
config file changes.
--
Brian Lalor
bla...@bravo5.org
--
You received t
to make that happen, which
should play well with create_resources. You could also play with a single
notify used by all of the resources that have been created…
--
Brian Lalor
bla...@bravo5.org
http://github.com/blalor
--
You received this message because you are subscribed to the Google Groups
&
d just for a given project into "modules". That will
give you some separation of code and at least make it easier to manage updates.
--
Brian Lalor
bla...@bravo5.org
http://github.com/blalor
--
You received this message because you are subscribed to the Google Groups
"Puppet Us
What about installing via a gem?
--
Brian Lalor
bla...@bravo5.org
On Aug 15, 2013, at 5:51 PM, Ellison Marks wrote:
> There's nothing prebuilt in the official repo for the arm processor in the
> raspi, I'd guess. You're probably going to have to build from source, unles
There's a host type built into puppet.
--
Brian Lalor
bla...@bravo5.org
On Aug 25, 2013, at 9:39 AM, Stefan Schmid wrote:
> Hi
>
> I am new to puppet and need to manage host entries in file /etc/hosts as
> follows on node mail.example.com and db.example.com. I do not want
ggered 'refresh' from 1 events
Notice: /Stage[main]/Sensu/Anchor[sensu::end]: Dependency
Service[sensu-api] has failures: true
Warning: /Stage[main]/Sensu/Anchor[sensu::end]: Skipping because of failed
dependencies
I've taken this down to the lowest-level resource and it's st
On Sep 9, 2013, at 10:02 AM, Brian Lalor wrote:
> I'm struggling once again with resource ordering with Puppet.
*sigh* Looks like the
if defined(Class['rabbitmq::service']) { … }
guard I've got around these relationships is wrong.
It's gonna be
meant by "parse
order", however. Could someone explain?
Thanks,
Brian
--
Brian Lalor
bla...@bravo5.org
http://github.com/blalor
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop recei
way it does, unless the braces
around the variable name have special meaning. I would expect you'd get the
literal braces in the expanded value. Not a real answer, but it does look
unintentional.
--
Brian Lalor
bla...@bravo5.org
http://github.com/blalor
--
You received this message
44 matches
Mail list logo