What I actually would like it to create a kind of dependency.
I would like that a parameter X of any instance of type 'b' *depends* on
the path param of the 'a' resource instance namely passed as a parameter.
file {'test' :
> ensure => present,
> name => 'test.txt',
> *within* => dir,
> }
>
Thanks John,
Do you have any recommendations on /var/lib/puppet?
Cheers,
Michael
On Monday, June 11, 2012 9:20:05 AM UTC-4, jcbollinger wrote:
>
>
>
> On Jun 8, 7:43 pm, Michael Altfield
> wrote:
> > Hi,
> >
> > Is there is an official Puppet stance on what the permissions of these
> > fi
On Jun 26, 2012, at 5:07 PM, Craig White wrote:
> On Jun 26, 2012, at 1:20 PM, Dan White wrote:
>> I am guessing there should be an 8140 in that netstat, right ?
>
> yes, if you have passenger properly configured as a puppetmaster, it would be
> listening on port 8140
Part of the problem is
Hi Mike,
Just as a side not I would be rather hesitant to set this up with puppet.
This may be a job for some other tool like mcollective but I have not
ventured into the land yet.
This may work but I haven't done any testing so please test this on a
non production server before rolling it out.
As an update, after running this a few times after this initial post, I'm
seeing the machine reboot after new classes have been added which is not
desired. I might have to rethink the reboot approach.
Thanks again,
Mike
On Tuesday, June 26, 2012 6:12:05 PM UTC-7, Mike Reed wrote:
>
> Hello al
Hello all,
In building out an initial workstation configuration (Ubuntu 10.04 lucid)
via Puppet, I have the need to do two things in order. The first is to do
a dist-upgrade on the workstation and reboot, followed by an install of a
Nvida driver. Upon doing a dist-upgrade, I have to reboot th
On Mon, Jun 25, 2012 at 10:27:40AM -0700, Mark Roggenkamp wrote:
> Hi all,
>
> I'd like to specify a base_directory and a list of directories (as
> variables that may be pulled via hiera later) that will be created under
> that base directory.
>
> base_dir = "/home/base"
> bars = ["a", "b", "c"
It does for me, but I am running as root. Maybe that is the difference.
Or maybe your user provider doesn't manage_passwords?
On Monday, June 25, 2012 9:30:39 PM UTC-4, Rob B. wrote:
>
> Hey John,
>
> It doesnt give the password section.
>
--
You received this message because you are sub
On Jun 26, 2012, at 1:20 PM, Dan White wrote:
>
>
> “Sometimes I think the surest sign that intelligent life exists elsewhere in
> the universe is that none of it has tried to contact us.”
> Bill Waterson (Calvin & Hobbes)
>
> - Craig White wrote:
>>
>> On Jun 26, 2012, at 11:43 AM, Dan
On Thursday, 21 June 2012 14:04:05 UTC-4, Stefan Schulte wrote:
> In my opinion these changes should fix all the issues above. One issue
> will
> still exists though: You can install multiple versions of the same package
> (slots):
>
> # portageq match / autoconf
> sys-devel/autocon
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
- Craig White wrote:
>
> On Jun 26, 2012, at 11:43 AM, Dan White wrote:
>
> > OK. What did I booger up this time ?
> >
On Jun 26, 2012, at 11:43 AM, Dan White wrote:
> OK. What did I booger up this time ?
>
> agent.myexample.org and puppetmaster.myexample.org are the same server.
>
>
> # puppetd --no-daemonize --onetime --debug --noop
On Tuesday, June 26, 2012 7:14:20 AM UTC-5, Stephen Gran wrote:
> It sounds like you're doing data warehousing and searching, which sounds
> like a job for something like a database on the back of an injection
> script that runs when a mail arrives. I suspect puppet is not the best
> tool fo
Thanks for the answer, but I am past the installation and trying to understand
why it refuses to connect -- see my recent posting "Next Problem: Puppet 2.7 +
Passenger won't connect"
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has
On Tuesday, June 26, 2012 6:07:41 AM UTC-5, Yanis Guenane wrote:
>
> Hey guys,
>
> I was wondering if it was possible to access type params within another
> type.
>
> Here is an example of what I would like to do.
>
> Puppet::Type.newtype(:a) do
>>
> newparam(:name) do
>> isnamevar
>>
Puppet will work with 1.8.5. It is passenger that requires 1.8.7, specifically
rack.
Fortunately, Puppet labs has the older rack version you can use here:
http://yum.puppetlabs.com/el/5Server/dependencies/x86_64/
On Jun 26, 2012, at 10:47 AM, Dan White wrote:
> I am stuck on RHEL 5 for the mo
Help me produce the best ENC service/api possible by giving me your user
stories, feature requests, and anything that would make a *new* ENC
awesome. Don't worry about justifying your feature or user story, I want
all ideas, even crazy ones.
*What am I building?*
Right now my focus is on buildi
OK. What did I booger up this time ?
agent.myexample.org and puppetmaster.myexample.org are the same server.
# puppetd --no-daemonize --onetime --debug --noop
debug: Puppet::Type::User::ProviderUser_role_add: file rol
Grab the SRPMs from StealthMonkey and you can build and install these without
any changes. Point, shoot, go. No edits necessary.
On Jun 26, 2012, at 9:44 AM, Dan White wrote:
> Thanks for the pointer, Eric, but I was able to build my own ruby 1.8.7 from
> the rbel.frameos.org source RPM
>
> The
I don't recommend this for a large number of reasons, including the need to
source in a large number of japanese and tcl/tk libraries, and a huge level of
scratch-patchiness in the srpm. The frameos spec file uses a very small number
of patches that are clear and easy to read, and work perfectly
You can quite easily compile 1.8.7 for rhel5, then use the SRPMs from
Stealthmonkeys and get a working system. I've done it several times and for
several different sites.
Google "puppet ruby 1.8.7 el5 dashboard" and you'll find my post about how to
do it. One change: when you grab the spec fil
On Mon, Jun 25, 2012 at 05:46:39PM -0400, Worker Bee wrote:
> Hi Everyone;
>
> Why does running "puppet resource" require root/sudo access? Is it
> supposed to be this way or do I have a permissions issue?
> I installed using the gzip files...
>
> Thanks!
>
puppet resource doesnt necessarily r
Dan,
Understood re running into problems and playing nice. Haus' comment
stands, 1.8.5 works.
-Eric
On Tue, Jun 26, 2012 at 10:44 AM, Dan White wrote:
> Thanks for the pointer, Eric, but I was able to build my own ruby 1.8.7
> from the rbel.frameos.org source RPM
>
> The problem is that it wo
Thanks for the pointer, Eric, but I was able to build my own ruby 1.8.7 from
the rbel.frameos.org source RPM
The problem is that it won't play nice with the other pieces I want to use.
Maybe I could build passenger from source as well, but I'd rather work from
binary RPM's as much as possible.
Many thanks.
That information is just what I needed.
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
- Matthaus Litteken wrote:
> Yes, 1.8.5 will work with puppet 2.7.x. He
Also as a note, there are (unofficial, but maintained by the CentOS
maintainer, Karanbir Singh) packages for RHEL 5 at:
http://centos.karan.org/el5/ruby187/
I've used these in production with much success.
-Eric
On Tue, Jun 26, 2012 at 10:06 AM, Matthaus Litteken wrote:
> Yes, 1.8.5 will wor
Yes, 1.8.5 will work with puppet 2.7.x. Here is a quick link to a
supported ruby versions chart
(http://docs.puppetlabs.com/guides/platforms.html#ruby-versions).
1.8.7 is better for various reasons, but 1.8.5 will work.
HTH.
On Tue, Jun 26, 2012 at 8:47 AM, Dan White wrote:
> I am stuck on RHEL
On Friday, June 15, 2012 2:19:21 PM UTC-5, llo...@oreillyauto.com wrote:
>
> Comments in line again
>
> On Friday, June 15, 2012 2:13:08 PM UTC-5, Ryan Coleman wrote:
>>
>> I won't get a chance to replicate your situation and test further
>> until this weekend. Apologies.
>>
>> On Fri, Jun 15,
I am starting to experiment with the firewall module and as part of a test
attempted to move a rule between two chains (INPUT and a user-defined one). The
firewall module noticed that the rule had changed but then attempted to use
"iptables -R" to move the rule. Because it was moving from one ch
I am stuck on RHEL 5 for the moment, and I am trying to set up a Puppet 2.7.x
Master.
>From this post (
>http://www.mail-archive.com/puppet-users@googlegroups.com/msg27199.html ),
I got the impression that I needed ruby 1.8.7. I tried to install passenger
using the stealthymonkeys.com repo and
This sort of support would have saved me about 2-3 days of time here
recently.
It certainly has my support, and I have upvoted the pull the request.
On Tuesday, June 26, 2012 8:55:50 AM UTC-5, Kelsey Hightower wrote:
>
> On Tuesday, June 26, 2012 9:41:00 AM UTC-4, jmslagle wrote:
>>
>>
>> On 06
On Tue, Jun 26, 2012 at 2:35 AM, Romain Gales wrote:
> Hi,
>
> Is it possible to change the puppetmaster port on a windows agent?
>
> Thanks for your help.
Sure, just change (or add) the masterport=8140 setting in the [main]
section of %ProgramData%/PuppetLabs/puppet/puppet.conf
-Jeff
--
You r
On Tuesday, June 26, 2012 9:41:00 AM UTC-4, jmslagle wrote:
>
>
> On 06/25/2012 09:25 AM, Kelsey Hightower wrote:
> >
> > John you make a really good point. Rubygems support would be totally
> > optional. One of my hopes is that once people are able to use rubygems
> > for things like parser fu
Jason,
Packaging gems as OS packages is pretty easy to do. You can use gem2rpm on
RHEL systems or fpm (https://github.com/jordansissel/fpm) in the more
general case.
-Eric
On Tue, Jun 26, 2012 at 7:41 AM, Jason Slagle wrote:
>
> On 06/25/2012 09:25 AM, Kelsey Hightower wrote:
>
>>
>> John you
On Monday, June 25, 2012 7:54:54 AM UTC-5, Azfar Hashmi wrote:
>
> Anyone please
>
>
I don't see anything inherently wrong with the class, and the behavior you
describe is not normal for Puppet, so the issue likely arises from a
combination of the node's current configuration with the configura
On 06/25/2012 09:25 AM, Kelsey Hightower wrote:
John you make a really good point. Rubygems support would be totally
optional. One of my hopes is that once people are able to use rubygems
for things like parser functions and report processors we start seeing
more OS packages built from those
On Tuesday, June 26, 2012 5:14:32 AM UTC-5, Stephen Gran wrote:
>
> I disagree that instantiating a class twice with identical (especially
> default) parameters should result in an error. A class is a singleton,
> unlike a define, so should not be indexed solely on it's name. It
> should be
- Original Message -
> From: "tobias"
> To: puppet-users@googlegroups.com
> Sent: Tuesday, June 26, 2012 1:52:48 PM
> Subject: [Puppet Users] access "indexed" facter facts
>
> Hi everyone,
>
> I have a fact which looks like that: drbdconnectionstate0. You see
> the "0" at the end... No
On Monday, June 25, 2012 4:46:39 PM UTC-5, Worker Bee wrote:
>
> Why does running "puppet resource" require root/sudo access? Is it
> supposed to be this way or do I have a permissions issue?
> I installed using the gzip files...
>
I guess in principle it's for the same reason that the agen
Hi everyone,
I have a fact which looks like that: drbdconnectionstate0. You see the "0"
at the end... Now I'd like to access this fact in a "dynamic" way, the "0"
should be variable. I'm thinking of something like that: if
${drbdconnectionstate0}${drbddevice} == 'Unconfigured'.
But as you may g
Hey guys,
I was wondering if it was possible to access type params within another
type.
Here is an example of what I would like to do.
Puppet::Type.newtype(:a) do
>
newparam(:name) do
> isnamevar
> end
>
newparam(:path) do
> end
> end
>
Puppet::Type.newtype(:b) do
>
Hi,
It sounds like you're doing data warehousing and searching, which sounds
like a job for something like a database on the back of an injection
script that runs when a mail arrives. I suspect puppet is not the best
tool for processing at all.
Cheers,
On Tue, 2012-06-26 at 05:01 -0700, Paul Me
Felix,
Thanks for the reply. That's a good point about the potential security
hole. Ironically, it would be good news if my ISP doesn't permit it.
Here's my task in a nutshell: I've been processing the entirety of an email
folder using a program called HyperMail, which converts individual mes
Hi,
On Tue, 2012-06-26 at 11:47 +0200, Felix Frank wrote:
> Hi,
>
> On 06/26/2012 10:56 AM, Stephen Gran wrote:
> > There is one difference that is most likely a bug. try this manifest:
> >
> > ./test.pp
> > class { 'wobble': }
> > class { 'wibble': }
>
> I disagree on this being a bug.
>
>
Hi,
On 06/26/2012 10:56 AM, Stephen Gran wrote:
> There is one difference that is most likely a bug. try this manifest:
>
> ./test.pp
> class { 'wobble': }
> class { 'wibble': }
I disagree on this being a bug.
This syntax is for parameterized classes. Such classes cannot be
declared more than
Hi,
Is it possible to change the puppetmaster port on a windows agent?
Thanks for your help.
Romain
--
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/-/kaLG
I'm going to add to this thread because this function (keys - Returns the
keys of a hash as an array ) and other similar utility functions are now
just a download away in the puppet stdlib
http://forge.puppetlabs.com/puppetlabs/stdlib (this page currently lists a
few of the functions)
--
Yo
Thx for the quick answer.
On Tue, Jun 26, 2012 at 10:56 AM, Stephen Gran
wrote:
> Hi,
>
> They should do the same thing - include a class with default values if
> it is parameterized.
>
> There is one difference that is most likely a bug. try this manifest:
>
> ./test.pp
> class { 'wobble': }
Hi,
They should do the same thing - include a class with default values if
it is parameterized.
There is one difference that is most likely a bug. try this manifest:
./test.pp
class { 'wobble': }
class { 'wibble': }
./modules/wobble/manifests/init.pp
class wobble {
class { 'wibble': }
}
./m
Hi everyone,
I am asking a quick question is there any concept difference between:
--
include myclass
--
and
--
class { 'myclass'}
--
I confess that the border between those 2 concepts are very similar for
me...
Regards,
Jeremy MAURO
--
You received this message because you are subscribed to
Hi,
On 06/26/2012 02:01 AM, Chris Price wrote:
>
> Slightly longer term, we are thinking of simply removing support for
> "run-mode"-specific configuration sections in the puppet.conf file. We
> would only allow three sections: "main" (possibly renamed to "global" or
> similar), "master", and "c
Hi,
On 06/26/2012 12:30 AM, Paul Mena wrote:
> I think the answer is yes, but is it possible for Puppet to subscribe to
> an email folder on a remote server? My plan is to perform an action
> whenever the mailbox receives a new email message.
I suppose you can cobble something up using an
exec
Hi,
On 06/26/2012 01:39 AM, Worker Bee wrote:
> Hello Everyone;
>
> I am just learning puppet and playing around.
>
> I was testing the 'subscribe' metaparameter and making changes to the
> live file on the node, specifically, making modifications the
> /etc/ssh/sshd_config. What I found out w
53 matches
Mail list logo