Hi All,
I am new in Puppet.I am using github for manifest store.I created following
these three manifest for installing our web based application in ubuntu
systems.I am not using any variables in these.
1. how to implement variables for dbname, document root folder path etc...
in nods.pp file.
2.
I think the way I posted the contents of the modules may have been
misleading, as I do actually have each class in it's own file so
kvm::host class has it's own host.pp file. So far I've actually
noticed this problem only on my modules that make use of the
autoloading, so each class in it's own *.
All,
I used to download the Puppet and Facter RHEL5 rpm packages from
http://people.fedoraproject.org/~tmz/repo/puppet/epel/
but the latest version on that site is puppet 2.6.9 and facter 1.5.9.
Does anyone know if this site is the still maintained ? or if there
are other locations where the rpm
On Jul 14, 1:15 am, flex wrote:
> I wrote a custom fuction to read a root read-only file, it raised an
> Permission Denied error.
> During debug, i found this fuction seems to run as user puppet, it is this
> a feature or a bug?
This is a feature. Puppet functions run in the master process,
On Jul 13, 7:03 pm, Gabriel Filion wrote:
> On 11-07-13 12:06 PM, Andrew Thompson wrote:
>
> > When I puppet with the noop flag resources are being exported to the
> > db. Is this expected or a bug?
>
> Hmm what version of puppet are you using?
>
> I've just encountered exactly this with puppet
rvlinden wrote:
> I used to download the Puppet and Facter RHEL5 rpm packages from
> http://people.fedoraproject.org/~tmz/repo/puppet/epel/
>
> but the latest version on that site is puppet 2.6.9 and facter
> 1.5.9.
>
> Does anyone know if this site is the still maintained ? or if there
> are other
Thanks for the suggestions, they are going to be merged.
That's a define I did various years ago that actually has been useful in
various cases (I do agree that it's better to use packages, but sometimes
this is the quickest and saner approach).
Al
On Wednesday, July 13, 2011 8:53:33 AM UTC+2,
On Jul 13, 11:39 am, Darrell Fuhriman wrote:
> I've always thought there should be an implicit X::disabled class that gets
> included for every host where X isn't included.
>
> Then if I create said class, it gets automatically executed on all hosts that
> don't include X.
It is not practica
Hi Trey,
same problem for me.. I've notice the problem on modules using
autoloading...
I think I will stick to version 2.6.9...
Gus
On Thu, Jul 14, 2011 at 8:57 AM, treydock wrote:
> I think the way I posted the contents of the modules may have been
> misleading, as I do actually have each cl
On Wed, Jul 13, 2011 at 2:26 PM, Gus wrote:
> Hi!
>
> I've also noticed this (weird) behaviour. I am planning an (huge)
> upgrade (from 0.25.x to 2.7.1) in all my puppet's boxes...
>
> I've installed puppet's 2.7.1 gem and got a lot of "Could not find
> class" problem... and everything worked jus
On 14 July 2011 15:00, Todd Zullinger wrote:
> rvlinden wrote:
> > I used to download the Puppet and Facter RHEL5 rpm packages from
> > http://people.fedoraproject.org/~tmz/repo/puppet/epel/
> >
> > but the latest version on that site is puppet 2.6.9 and facter
> > 1.5.9.
> >
> > Does anyone know
I have a Chicken and Egg scenario here and trying to come up with a
way to solve it.
I have a mount definition that manages mount points. The problem
arises when the mount point changes after it is in use. Case in
point, we have mount points for the mysql data and logs directories.
If we change
It was decided earlier this week that the 2.6 series will have it's
last release at 2.6.10 (we're currently at 2.6.9). However, we are
not doing a 2.6.10 RC/release this month. That will wait until
August.
If you have patches waiting on some final tweaks or any other work
that you feel like just
Hi Mike,
I wanted to comment on bug http://projects.puppetlabs.com/issues/7680
which is a regression introduced in 2.6.8. I recently ran into this
issue and had to downgrade to 2.6.7 from 2.6.8. When I discovered the
issue I tried upgrading to 2.6.9 and it was still an issue.
The problem is sim
John,
You bring up a good point and I wanted to ask this question anyways.
To the best of my knowledge, functions run on the master and facts run
on the node. If that is the case, it perplexes me that functions get
sync'd to the node in the /var/lib/puppet/lib... directory. That is
unless functi
Also you should specify the environments that the master supports:
[master]
# Environments that are defined for this PuppetMaster
environments=development,main
HTH,
John
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this
Hi guys,
Thanks a lot for the suggestions .
Regards
K.Karthikeyan
On Thu, Jul 14, 2011 at 7:33 PM, Al @ Lab42 wrote:
> Thanks for the suggestions, they are going to be merged.
> That's a define I did various years ago that actually has been useful in
> various cases (I do agree that it's bett
Seems straight forward enough but I keep getting errors. On a client...
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed
when searching for node ubuntu5.ttinet: LDAP Search failed
on the puppet master...
puppet.conf [master]
# ENC (external node classificiations)
>
> Puppet does not keep track of the state before applying a resource.
> Even if Puppet *did* track prior state, there would still be an issue
> of choosing which of possibly many prior states to revert to.
I'm not asking puppet to know what to do, which I agree is ridiculous. I'm
saying that i
On Thu, 14 Jul 2011 09:53:36 -0700, PBWebGuy wrote:
>
> Hi Mike,
>
> I wanted to comment on bug http://projects.puppetlabs.com/issues/7680
> which is a regression introduced in 2.6.8. I recently ran into this
> issue and had to downgrade to 2.6.7 from 2.6.8. When I discovered the
> issue I trie
Too stupid a question? (puppet kick seems to be identical to puppetrun command
as discussed in Pro Puppet book)
I spent enough time looking through puppet documentation and googling and
couldn't solve it so I asked...
On Jul 12, 2011, at 4:21 PM, Craig White wrote:
> Can't seem to make it work
On Tuesday, July 12, 2011 at 4:21 PM, Craig White wrote:
> Can't seem to make it work
>
> puppet 2.6.8 (client/server)
>
> # puppet kick -f ubuntu4.ttinet
> Triggering ubuntu4.ttinet
> Host ubuntu4.ttinet failed: Error 400 on SERVER: 'save ' is not an allowed
> value for method directive
> ubu
On Jul 14, 2011, at 10:50 AM, Nick Lewis wrote:
> On Tuesday, July 12, 2011 at 4:21 PM, Craig White wrote:
>
>> Can't seem to make it work
>>
>> puppet 2.6.8 (client/server)
>>
>> # puppet kick -f ubuntu4.ttinet
>> Triggering ubuntu4.ttinet
>> Host ubuntu4.ttinet failed: Error 400 on SERVER: '
On Jul 14, 2011, at 1:16 PM, Craig White wrote:
> Seems straight forward enough but I keep getting errors. On a client...
>
> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Failed when searching for node ubuntu5.ttinet: LDAP Search failed
Have you looked at the logs
Hi Nigel,
here we go...
* all my classes are "included" (I was still using 0.25.x...)
* In my $confdir/manifests/classes/roles I have a very generic class for all
puppet hosts declared as follow:
class role_puppet_common {
$role = "puppet_common"
include common
include puppet::common
include pu
On Jul 14, 2011, at 11:16 AM, Rob McBroom wrote:
> On Jul 14, 2011, at 1:16 PM, Craig White wrote:
>
>> Seems straight forward enough but I keep getting errors. On a client...
>>
>> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
>> Failed when searching for node ubunt
On Jul 14, 2011, at 2:41 PM, Craig White wrote:
> doesn't appear to actually do anything other than bind - I don't see the
> results of any search operation when I run slapd trace level (-d 1)
It’s reporting error 53 when you bind, which is “unwilling to perform”. I think
the only time I’ve see
On Jul 14, 2011, at 12:32 PM, Rob McBroom wrote:
> On Jul 14, 2011, at 2:41 PM, Craig White wrote:
>
>> doesn't appear to actually do anything other than bind - I don't see the
>> results of any search operation when I run slapd trace level (-d 1)
>
> It’s reporting error 53 when you bind, whi
Use fpm http://github.com/jordansissel/fpm
On Jul 14, 2011 10:08 AM, "KarthiKeyan. Kesavan" wrote:
> Hi guys,
>
> Thanks a lot for the suggestions .
>
> Regards
>
> K.Karthikeyan
>
> On Thu, Jul 14, 2011 at 7:33 PM, Al @ Lab42 wrote:
>
>> Thanks for the suggestions, they are going to be merged.
Anyone using this? I'm trying to setup a separate inventory server for
multiple puppet masters to report back. For testing purposes I have in
my auth.conf:
path /facts
auth any
method find, search
allow *
Then on the "slave" puppet masters I have in the puppet.conf [master] section:
facts_termin
On Jul 14, 12:16 pm, Darrell Fuhriman wrote:
> > Puppet does not keep track of the state before applying a resource.
> > Even if Puppet *did* track prior state, there would still be an issue
> > of choosing which of possibly many prior states to revert to.
>
> I'm not asking puppet to know what
Ignoring my inability to authenticate for the time being, if I define classes
in LDAP, it seems that doesn't work:
# ubuntu5.ttinet, Hosts, ttinet.local
dn: cn=ubuntu5.ttinet,ou=Hosts,dc=ttinet,dc=local
objectClass: device
objectClass: top
objectClass: puppetClient
objectClass: ipHost
ipHostNumbe
>
> That still isn't sensible. It simply is not safe to assume that the
> absence of class X in a node's catalog is a signal that X::disabled
> should be included in that catalog. For instance, suppose I have a
> pair X, X::disabled of classes specific to OS X. I don't want *either
> one* on my
Hello
Im following this guide
http://aaronwalrath.wordpress.com/2010/09/03/installing-and-configuring-puppet-on-centos-linux/
(running centos 5.6). But when i try puppetmasterd --verbose --no-
daemonize on the supposed server machine it only prints (like cat) /
etc/puppet/puppet.conf. in the termi
I have builds of facter 1.6 and puppet 2.7.2 for EL 5 and 6 available
http://stahnma.fedorapeople.org/puppetlabs/
I'm working on Fedora 14/15 builds currently also.
These also are not currently signed, and there is no stahnma-repo rpm
or anything like that. I'm basically just trying scratch a
Hi guys
I have database dump available on pastebin/exzxzxz
I want the puppet server to download the dump from pastebin and store
it at a fixed location(suppose /home/dump) and then open mysql on the
client side(mysql is installed on the client) and run the import
command so that the downloaded du
Hi Guyz,
After lot of changes, I finally found out the solution for the
problem, it was the /etc/sysconfig/puppet and /etc/logrotate.d/puppet
file.
Once I removed this file everything works perfectly. Apparently this
file I guess overrides the commandline flags I give to puppetd when
starting it
Also, I did not have to modify any of the other files like /etc/hosts
or /etc/sysconfig/network.
Thanks,
Sriramu
On Jul 14, 5:47 pm, Sriramu Singaram wrote:
> Hi Guyz,
>
> After lot of changes, I finally found out the solution for the
> problem, it was the /etc/sysconfig/puppet and /etc/logrotat
This a feature release candidate of Puppet Dashboard.
This release is available for download at:
http://downloads.puppetlabs.com/dashboard/
We have included Debian and RPM packages as well as a tarball.
See the Verifying Puppet Download section at:
http://projects.puppetlabs.com/projects/puppet
hi,
What's the best way to refer variables which pass as defined resource
parameter
from template erbs?
I've been made many modules which has resource definitions containing
file templating.
After I upgrade my puppet version to 2.7.0rc (debian experimental),
I'm getting many
warnings "Dynamic loo
You never heard of nmap, eh? If you want to start talking about security and
auditing, that's a whole other can of worms.
It's a bad idea to assume that Defined State and Actual State will match.
Anyway, I think you're forgetting that node state in Puppet is explicit by
nature. What you're asking
I personally couldn't get it to work (no facts in Dashboard), but only spent
a short amount of time on it.
On Thu, Jul 14, 2011 at 1:50 PM, Glenn Bailey wrote:
> Anyone using this? I'm trying to setup a separate inventory server for
> multiple puppet masters to report back. For testing purposes I
Guys somebody please help
On Jul 14, 5:32 pm, newguy wrote:
> Hi guys
> I have database dump available on pastebin/exzxzxz
>
> I want the puppet server to download the dump from pastebin and store
> it at a fixed location(suppose /home/dump) and then open mysql on the
> client side(mysql is
The quick way is to apply a pair of exec resources on the client machine:
- One that downloads the sql file and the other one (that requires the first
one) that applies it.
Something like:
exec {
"Retrieve $url":
cwd => "$work_dir",
command => "wget $url",
Personally I don't think using puppet for this would not be the best
solution. However here is what I would do. Write a shell script to do what
you need, and than use puppet's EXEC statement to launch this command as
needed.
You could also use custom Fact for this.
For instance have you cus
45 matches
Mail list logo