-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> It just seemed to me that there must be some way to derive what is
> installed on the client within a manifest but I couldn't find any
> suggestions on Google or PuppetLabs site so I asked.
Manifests are compiled to a catalog on the master. The cata
On Fri, Jul 29, 2011 at 2:38 AM, Josh wrote:
> Just wondering if anyone had any similar issues OR idea's on
> troubleshooting the following problem.
>
> I have a client/node registered to the puppet master and it is working
> without any issues. On the server I can see it compile the catalog in
>
On Jul 28, 1:57 pm, Jemmorey wrote:
> Awesome. I did not realize I needed a comma after the bracket, since
> you would think that the comma from the facter definition would
> suffice.
I'm glad it's working for you now. In hopes of helping you avoid
similar misconceptions in the future, I obs
On Jul 28, 7:55 am, Shiradz wrote:
> Good Day,
>
> What prevents puppetd from implementing the correct svn version?
>
> When i run puppetd on client machine i get:
>
> info: Applying configuration version 'svnver=-1:9000M t=123456'
>
> Why the minus and the M, correctly deployed versions dont hav
Hi,
I need to use the output of a script to set the value of a variable. I
understand the only way to do this is to use a custom Facter fact.
However, this script will only run when (naturally) it's been installed,
which is something Puppet takes care of. Conf files, which I would very much
li
On Fri, Jul 29, 2011 at 05:55:33AM -0700, Oliver Beattie wrote:
> Hi,
>
> I need to use the output of a script to set the value of a variable. I
> understand the only way to do this is to use a custom Facter fact.
>
> However, this script will only run when (naturally) it's been installed, which
If you put your custom fact in a module and enable plugin sync it should be
deployed and run before your manifest IIRC.
On Jul 29, 2011 5:55 AM, "Oliver Beattie" wrote:
> Hi,
>
> I need to use the output of a script to set the value of a variable. I
> understand the only way to do this is to use a
On Fri, Jul 29, 2011 at 8:55 AM, Oliver Beattie wrote:
> Hi,
> I need to use the output of a script to set the value of a variable. I
> understand the only way to do this is to use a custom Facter fact.
> However, this script will only run when (naturally) it's been installed,
> which is something
I need it to run at a specified point during the manifest though. The value
of the fact depends on a package being installed. And my config files depend
on the value of the fact.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this dis
Hi all,
My facts work during testing, but not on deployment. Any help would be
greatly appreciated.
Fact in modules/ldap/lib/puppet/facter/nss_ldap.rb:
fact_name = 'nss_ldap'
Facter.add(fact_name) do
setcode do
auth_settings = %x{/usr/share/authconfig/authconfig.py --test}
auth
On Jul 28, 2011, at 10:03 PM, Scott Smith wrote:
> It looks like you're wanting to do it via erb, but if you can perform
> whatever logic in the manifest, you can use tagged:
>
> (scott@cornstarch:tmp)% cat foo.pp
> class foo { }
>
> class bar {
> if (tagged("foo")) {
> notice("You're in
on clients - agent.conf
pluginsync = true
Craig
On Jul 29, 2011, at 8:06 AM, Guy Matz wrote:
> Hi all,
>
> My facts work during testing, but not on deployment. Any help would be
> greatly appreciated.
>
>
> Fact in modules/ldap/lib/puppet/facter/nss_ldap.rb:
>
> fact_name = 'nss_ldap'
>
yeah, I got that set . . . yeah, I should have mentioned that the facts do
get downloaded on the client to $vardir/lib/puppet/facter . . . but still
the facts are not available!
thanks a lot!
guy
On Fri, Jul 29, 2011 at 11:29 AM, Craig White wrote:
> on clients - agent.conf
>
> pluginsync = tr
On Jul 29, 2011, at 6:25 AM, Oliver Beattie wrote:
> I need it to run at a specified point during the manifest though. The value
> of the fact depends on a package being installed. And my config files depend
> on the value of the fact.
Rather than just conceptualize it - assume it works a
On Fri, Jul 29, 2011 at 11:38 AM, Guy Matz wrote:
> yeah, I got that set . . . yeah, I should have mentioned that the facts do
> get downloaded on the client to $vardir/lib/puppet/facter . . . but still
> the facts are not available!
If you run facter -p on the client side does it load the cust
No!!! facter -p does *not* show my facts . . . what does that mean!?
thank *you*!
On Fri, Jul 29, 2011 at 11:42 AM, Nan Liu wrote:
> On Fri, Jul 29, 2011 at 11:38 AM, Guy Matz wrote:
> > yeah, I got that set . . . yeah, I should have mentioned that the facts
> do
> > get downloaded on the c
hmm . . . my custom facts are in /var/opt/lib/pe-puppet/lib/puppet/facter,
but if I put them in /var/opt/lib/pe-puppet/lib/facter they *do* show up in
facter -p . . . does that mean I am "packaging" my facts incorrectly on the
server? Or is my client misconfigured?
puppet.conf on my client is:
Nan, thanks for the hint! If I put the facts in module/lib/facter they work
on the client . . . I used puppet-module to create the module and followed
the directions for creating a custom fact, but I guess they need to go in
module/lib/facter, not module/lib/puppet/facter . . .
thanks a lot ever
On Jul 29, 2011, at 8:54 AM, Guy Matz wrote:
> hmm . . . my custom facts are in /var/opt/lib/pe-puppet/lib/puppet/facter,
> but if I put them in /var/opt/lib/pe-puppet/lib/facter they *do* show up in
> facter -p . . . does that mean I am "packaging" my facts incorrectly on the
> server? Or
On Jul 29, 2011 9:25 AM, "Oliver Beattie" wrote:
>
> I need it to run at a specified point during the manifest though. The
value of the fact depends on a package being installed. And my config files
depend on the value of the fact
Will stages (pre, main, etc) help in this case?
--
You received
If anyone out there follows Serverfault, this is a duplicate of
http://goo.gl/CTS2u. I'm hoping there are some subject matter experts here
:).
I am trying to place some sanity checks (currently as git pre-commit hooks)
in our configuration repository to avoid committing invalid Puppet
configu
Have you looked at using these?
projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control
--
Greg
On Fri, Jul 29, 2011 at 6:33 AM, Lars Kellogg-Stedman wrote:
> If anyone out there follows Serverfault, this is a duplicate of
> http://goo.gl/CTS2u. I'm hoping there are some subject matter
Those hooks are the gross syntax checks to which he initially referred.
On Fri, Jul 29, 2011 at 9:49 AM, Greg Hellings wrote:
> Have you looked at using these?
> projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control
>
> --
> Greg
>
>
> On Fri, Jul 29, 2011 at 6:33 AM, Lars Kellogg-Stedm
Chris May wrote:
> Did anyone ever post a bug, or find a solution for this? I've just
> upgraded some of our Solaris boxes (using OpenCSW) to 2.6.9 and I'm
> seeing the same behaviour.
If there is a bug filed, I'd love to know what it is. Searching
redmine for "reports" doesn't find anything that
Puppet 2.7.2rc3 is available. RC2 was accidentally packaged from the
wrong branch; thus causing some odd regressions and behavior. I
apologize for that. This rc corrects that mistake.
New since RC2
===
* Fix an issue where some commits in 2.7.x made their way into
2.7.2rc2 due to a branch conf
This a feature release candidate (number 4) 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/proj
HI guys
I have a Ubuntu EC2 puppetmaster, 3 types of clients connect to this
master; client A, B ,C .
I want to add the ip address of client B in a module M of client A.
Lets assume that I don't know their ip addresses before hand.
Is that possible through puppet??? and if yes how?
Thanks
--
On 07/29/2011 08:57 PM, newguy wrote:
I want to add the ip address of client B in a module M of client A.
Lets assume that I don't know their ip addresses before hand.
Well, what do you know before hand?
Do you know the name of client B? Why can't you use that, directly?
If you know th
Use exported resources
On Fri, Jul 29, 2011 at 6:23 PM, vagn scott wrote:
> On 07/29/2011 08:57 PM, newguy wrote:
>
>> I want to add the ip address of client B in a module M of client A.
>> Lets assume that I don't know their ip addresses before hand.
>>
>>
>
>
>
> Well, what do you know before
Have you considered bootstrapping a test suite like cucumber-puppet?
https://github.com/nistude/cucumber-puppet
-Eric
> Topic: Validating a puppet configuration
> Lars Kellogg-Stedman Jul 29 06:33AM -0700 ^
>
> If anyone out there follows Serverfault, this is a duplicate of
> http://goo.gl/
30 matches
Mail list logo