Re: [Puppet Users] LogStash Book released

2013-10-08 Thread Worker Bee
I have the logstash book, it is excellent! Thank you!
Do you have any in-depth Kibana documentation ?

Thanks!



On Mon, Feb 4, 2013 at 10:56 AM, James Turnbull ja...@lovedthanlost.netwrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all

 I've just released 'The LogStash Book' (http://www.logstashbook.com/).
 It's a new book designed for SysAdmins, Operations staff, Developers and
 DevOps who are interested in deploying a log management solution using
 the open source tool LogStash (http://www.logstash.net/).

 It's available for sale on the site a PDF or ePUB:

 http://www.logstashbook.com/

 Or from Amazon.com as a Kindle ebook:


 http://www.amazon.com/gp/product/B00B9JQTCO/ref=as_li_ss_tl?ie=UTF8camp=1789creative=390957creativeASIN=B00B9JQTCOlinkCode=as2tag=puppet0e-20

 Given the overlap between Puppet folks and LogStash users I thought it
 might interest people.

 Regards

 James

 - -- Author of:
 * The LogStash Book (http://logstashbook.com)
 * Pro Puppet (http://tinyurl.com/ppuppet)
 * Pro Linux System Administration (http://tinyurl.com/linuxadmin)
 * Pro Nagios 2.0 (http://tinyurl.com/pronagios)
 * Hardening Linux (http://tinyurl.com/hardeninglinux)

 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
 Comment: GPGTools - http://gpgtools.org
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBAgAGBQJRD9oQAAoJECFa/lDkFHAye0sH/RTxDbsWHWIhENwZNnpYjdJo
 G+wazhFEZ4Bs+siImxbBCJwlLU9y9EbkEBnooA4aWRiMIK58uGi0ptTGRbzPdW5d
 Tvk6ufqkxlV5DcuRm1iDBJQf6LTkLwd1igwcHC5tXydloW7MpZgiZUU69jL7Ldye
 UzStaGIYiSN8HR8hhRB9aaKoIrlR16hpYRkKIBDKfHvFvPa/zK/coZrklQLwl+et
 nuwaY7TYAyvtPPKnJeHPNjQqhLXxq0rYZnu1aEhwwWlViL5GQKWLEzvxbrb2geWp
 aYBDX+n3l9hqpWHrbY3SN1csOA/RoPY1YEoKaE0OYNjUOsZ58u+W7ZBNjNXtLV4=
 =8fTs
 -END PGP SIGNATURE-

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Re: hiera-gpg, CentOS6 and puppet 3.2.4

2013-09-04 Thread Worker Bee
Ahh, thanks!  I will take a look at the gpg setup again.

I really appreciarte your help!   Maddening!  :)





On Wed, Sep 4, 2013 at 6:02 AM, Luke Bigum luke.bi...@lmax.com wrote:

  On Tuesday, September 3, 2013 10:57:39 PM UTC+1, Worker Bee wrote:

  Has anyone been able to get this working?


 I use those very same versions and it works so don't despair, it took me
 three separate attempts to get it working over the course of a few months -
 my tripfall was GPG keys though ;-)


 # Class: testdecry
 #

 # [Remember: No empty lines between comments and class definition]
 class testdecry {
 $env = 'live'
 $pass = hiera(rootpwd)
 notify{The value is: ${pass}:}
 }

 __**__
  Running via puppet fails
 [root@me]# puppet agent --test
 Info: Retrieving plugin
 Error: Could not retrieve catalog from remote server: Error 400 on
 SERVER: can't convert nil into String at 
 /etc/puppet/modules/testdecry/**manifests/init.pp:17
 on node me.net
 Warning: Not using cache on failed catalog
 Error: Could not retrieve catalog; skipping run


 That doesn't look like a Hiera specific error, unless somehow you are
 trying to query the key 'nil', it looks more like a generic Puppet parser
 error... Can you paste your full testdecry manifest, your example above
 doesn't have 17 lines so hard to tell what the problem might be.

 This might also help:

 puppet master --compile me.net --debug

 Save the output of this command and find your error (there'll be a lot of
 debug information as it will debug every Hiera call).

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Hiera and hiera-gpg

2013-09-03 Thread Worker Bee
I am pretty sure I still have something wrong with my set up but, I just
cannot seem to see what it is...

Notice if I attempt to decrypt vi the command line and do not indicate
env=live,  it fails..
[root@me puppet]# hiera -c /etc/puppet/hiera.yaml rootpwd
calling_module=motd
nil
[root@me puppet]# hiera -c /etc/puppet/hiera.yaml rootpwd
calling_module=motd env=live
rootpass



[root@me puppet]# more hiera.yaml
---
:backends: - yaml
   - gpg

:logger: console

:hierarchy: - %{env}/%{location}/%{calling_module}
- %{env}/%{calling_module}
- common


:yaml:
   :datadir: /etc/puppet/hieradata

:gpg:
   :datadir: /etc/puppet/hieradata

_
my encrypted files are in /etc/puppet/hieradata/live



Thanks in advance for any help!
Bee


On Tue, Sep 3, 2013 at 11:38 AM, Worker Bee beeworke...@gmail.com wrote:

 Hi Guys;

 I really appreciate your help and apologize for the continued questions...
 however, apaprently, I am missing something here.  I cannot get this
 working.

 I have set hiera-gpg up as per the docs I can find but, I still cannot
 seem to get my manifests correct.  If someone would kindly provide a smaple
 manifest, I would be grateful!

 Also, per Craig Dunn's blog, he is placing hieradata files in
 /etc/puppet/hieradata/live.  Is the live subdir required?  Is there some
 sort of environment limitation that requires the files live in this subdir?

 Thank you very much!
 Bee

 On Fri, Aug 30, 2013 at 1:31 PM, Rich Burroughs r...@richburroughs.comwrote:

  Your manifests look the same. You do a hiera lookup just as you would
 if you weren't using the GPG integration. It's just another data store for
 hiera.

 You do need to set that up, as other people have mentioned. But it's no
 different in the manifests.


 On Fri, Aug 30, 2013 at 6:30 AM, Worker Bee beeworke...@gmail.comwrote:

 I am looking for some manifest examples, if anyone has any to share!


 On Fri, Aug 30, 2013 at 7:16 AM, Richard Clark rich...@fohnet.co.ukwrote:

  On Thu, Aug 29, 2013 at 05:47:41PM -0400, Worker Bee wrote:
  I am having a bit of difficulty implementing hiera-gpg; particularly
 with
  accomplishing the deencryption in my manifests.  Can anyone either
 provide
  a simple example or point me to a good resource?  I have searched
 alot and
  am still struggling.
 
  Any help would be very appreciated!
 
  Thanks!
  Bee

 You just need to have the hiera-gpg gem installed, make sure that gpg is
 listed in the backends array in hiera.yaml, then the puppet user needs
 to have the private key configured within it's $HOME/.gnupg -where $HOME
 is usually /var/lib/puppet.

 By default pgp keys are encrypted with a passphrase, which would need to
 be supplied and held in a running keyring for that user, so was
 previously working around this by using a non-passphrase protected
 subkey.

 I've now however moved away from hiera-gpg due to performance overhead
 on large catalogs and moved to a git post-commit hook that decrypts any
 .gpg files to .yaml within a dedicated hierarchy for decrypted files,
 using that same insecure private subkey.


 Cheers,
 --
 Richard Clark
 rich...@fohnet.co.uk


   --
 You received this message because you are subscribed to the Google
 Groups Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Hiera and hiera-gpg

2013-09-03 Thread Worker Bee
Hi Guys;

I really appreciate your help and apologize for the continued questions...
however, apaprently, I am missing something here.  I cannot get this
working.

I have set hiera-gpg up as per the docs I can find but, I still cannot seem
to get my manifests correct.  If someone would kindly provide a smaple
manifest, I would be grateful!

Also, per Craig Dunn's blog, he is placing hieradata files in
/etc/puppet/hieradata/live.  Is the live subdir required?  Is there some
sort of environment limitation that requires the files live in this subdir?

Thank you very much!
Bee

On Fri, Aug 30, 2013 at 1:31 PM, Rich Burroughs r...@richburroughs.comwrote:

  Your manifests look the same. You do a hiera lookup just as you would if
 you weren't using the GPG integration. It's just another data store for
 hiera.

 You do need to set that up, as other people have mentioned. But it's no
 different in the manifests.


 On Fri, Aug 30, 2013 at 6:30 AM, Worker Bee beeworke...@gmail.com wrote:

 I am looking for some manifest examples, if anyone has any to share!


 On Fri, Aug 30, 2013 at 7:16 AM, Richard Clark rich...@fohnet.co.ukwrote:

  On Thu, Aug 29, 2013 at 05:47:41PM -0400, Worker Bee wrote:
  I am having a bit of difficulty implementing hiera-gpg; particularly
 with
  accomplishing the deencryption in my manifests.  Can anyone either
 provide
  a simple example or point me to a good resource?  I have searched alot
 and
  am still struggling.
 
  Any help would be very appreciated!
 
  Thanks!
  Bee

 You just need to have the hiera-gpg gem installed, make sure that gpg is
 listed in the backends array in hiera.yaml, then the puppet user needs
 to have the private key configured within it's $HOME/.gnupg -where $HOME
 is usually /var/lib/puppet.

 By default pgp keys are encrypted with a passphrase, which would need to
 be supplied and held in a running keyring for that user, so was
 previously working around this by using a non-passphrase protected
 subkey.

 I've now however moved away from hiera-gpg due to performance overhead
 on large catalogs and moved to a git post-commit hook that decrypts any
 .gpg files to .yaml within a dedicated hierarchy for decrypted files,
 using that same insecure private subkey.


 Cheers,
 --
 Richard Clark
 rich...@fohnet.co.uk


   --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Hiera and hiera-gpg

2013-09-03 Thread Worker Bee
Hi Luke;

So, what you said does make sense and, I did make the changes you explained
to my manifest and it worked!  :)

I am confused though and I am so sorry to be so ignorant  but, what
does  %{location} refer to?

Thank you VERY, VERY much!

bee


On Tue, Sep 3, 2013 at 12:18 PM, Luke Bigum luke.bi...@lmax.com wrote:

 I just started a big reply to your last email and it looks like you've
 figured most of it out. At least your not still thinking manifests your
 problem is in hiera.yaml ;-)


 On Tuesday, September 3, 2013 5:04:19 PM UTC+1, Worker Bee wrote:

 I am pretty sure I still have something wrong with my set up but, I just
 cannot seem to see what it is...

 Notice if I attempt to decrypt vi the command line and do not indicate
 env=live,  it fails..
 [root@me puppet]# hiera -c /etc/puppet/hiera.yaml rootpwd
 calling_module=motd
 nil
 [root@me puppet]# hiera -c /etc/puppet/hiera.yaml rootpwd
 calling_module=motd env=live
 rootpass


 The reason that works is written in your hiera.yaml config below. You've
 told Hiera that your Hierarchy contains the variable %{env}. Now while that
 works fine on the command line, when the Hiera function is called during
 catalog compilation in a manifest I'm betting that the 'env' variable does
 not exist, which is why your key is not found. What is %{env}? Did you copy
 it straight from Craig's blog or do you actually use it in your Hierarchy?

 From the way you've got your Hierarchy specified now, if I ran a find
 across your hieradata directory, this is what I'd expect to find:

 /etc/puppet/hieradata/some_env/some_location/some_calling_module.yaml
 /etc/puppet/hieradata/some_env/some_location/some_calling_module.gpg
 /etc/puppet/hieradata/some_env/some_calling_module.yaml
 /etc/puppet/hieradata/some_env/some_calling_module.gpg
 /etc/puppet/hieradata/common.yaml
 /etc/puppet/hieradata/common.gpg

 The hierarchy you've got must match the path of the Hiera data files in
 that directory.

 When run from the command line, the %{env}, %{location} and
 %{calling_module} variables are passed on the command line. When the hiera
 function call is made during a Puppet catalog compilation then those
 variables must be defined for that node ($env, $location, but
 $calling_module is implicit), either as Facter Facts or as normal variables
 in a Puppet manifest.

 ... That's not explained very well but I can't think of a better way to
 phrase it yet. Does that help so far?


 __**__**
 
 [root@me puppet]# more hiera.yaml
 ---
 :backends: - yaml
- gpg

 :logger: console

 :hierarchy: - %{env}/%{location}/%{calling_**module}
 - %{env}/%{calling_module}
 - common


 :yaml:
:datadir: /etc/puppet/hieradata

 :gpg:
:datadir: /etc/puppet/hieradata

 __**___
 my encrypted files are in /etc/puppet/hieradata/live



 Thanks in advance for any help!
 Bee


 On Tue, Sep 3, 2013 at 11:38 AM, Worker Bee beewo...@gmail.com wrote:

 Hi Guys;

 I really appreciate your help and apologize for the continued
 questions... however, apaprently, I am missing something here.  I cannot
 get this working.

 I have set hiera-gpg up as per the docs I can find but, I still cannot
 seem to get my manifests correct.  If someone would kindly provide a smaple
 manifest, I would be grateful!

 Also, per Craig Dunn's blog, he is placing hieradata files in
 /etc/puppet/hieradata/live.  Is the live subdir required?  Is there some
 sort of environment limitation that requires the files live in this subdir?

 Thank you very much!
 Bee

 On Fri, Aug 30, 2013 at 1:31 PM, Rich Burroughs ri...@richburroughs.com
  wrote:

  Your manifests look the same. You do a hiera lookup just as you would
 if you weren't using the GPG integration. It's just another data store for
 hiera.

 You do need to set that up, as other people have mentioned. But it's no
 different in the manifests.


 On Fri, Aug 30, 2013 at 6:30 AM, Worker Bee beewo...@gmail.com wrote:

 I am looking for some manifest examples, if anyone has any to share!


 On Fri, Aug 30, 2013 at 7:16 AM, Richard Clark ric...@fohnet.co.ukwrote:

  On Thu, Aug 29, 2013 at 05:47:41PM -0400, Worker Bee wrote:
  I am having a bit of difficulty implementing hiera-gpg;
 particularly with
  accomplishing the deencryption in my manifests.  Can anyone either
 provide
  a simple example or point me to a good resource?  I have searched
 alot and
  am still struggling.
 
  Any help would be very appreciated!
 
  Thanks!
  Bee

 You just need to have the hiera-gpg gem installed, make sure that gpg
 is
 listed in the backends array in hiera.yaml, then the puppet user needs
 to have the private key configured within it's $HOME/.gnupg -where
 $HOME
 is usually /var/lib/puppet.

 By default pgp keys are encrypted with a passphrase, which would need
 to
 be supplied and held in a running keyring for that user, so

Re: [Puppet Users] Hiera and hiera-gpg

2013-09-03 Thread Worker Bee
Ughh; and I spoke too soon for some reason, it is not decrypting when
running via puppet run/manifest  (I had mistakenly left the unencrypted in
the directory and it was failing back to reading the yaml_

Thanks!


On Tue, Sep 3, 2013 at 4:03 PM, Worker Bee beeworke...@gmail.com wrote:

 Hi Luke;

 So, what you said does make sense and, I did make the changes you
 explained to my manifest and it worked!  :)

 I am confused though and I am so sorry to be so ignorant  but, what
 does  %{location} refer to?

 Thank you VERY, VERY much!

 bee


 On Tue, Sep 3, 2013 at 12:18 PM, Luke Bigum luke.bi...@lmax.com wrote:

 I just started a big reply to your last email and it looks like you've
 figured most of it out. At least your not still thinking manifests your
 problem is in hiera.yaml ;-)


 On Tuesday, September 3, 2013 5:04:19 PM UTC+1, Worker Bee wrote:

 I am pretty sure I still have something wrong with my set up but, I just
 cannot seem to see what it is...

 Notice if I attempt to decrypt vi the command line and do not indicate
 env=live,  it fails..
 [root@me puppet]# hiera -c /etc/puppet/hiera.yaml rootpwd
 calling_module=motd
 nil
 [root@me puppet]# hiera -c /etc/puppet/hiera.yaml rootpwd
 calling_module=motd env=live
 rootpass


 The reason that works is written in your hiera.yaml config below. You've
 told Hiera that your Hierarchy contains the variable %{env}. Now while that
 works fine on the command line, when the Hiera function is called during
 catalog compilation in a manifest I'm betting that the 'env' variable does
 not exist, which is why your key is not found. What is %{env}? Did you copy
 it straight from Craig's blog or do you actually use it in your Hierarchy?

 From the way you've got your Hierarchy specified now, if I ran a find
 across your hieradata directory, this is what I'd expect to find:

 /etc/puppet/hieradata/some_env/some_location/some_calling_module.yaml
 /etc/puppet/hieradata/some_env/some_location/some_calling_module.gpg
 /etc/puppet/hieradata/some_env/some_calling_module.yaml
 /etc/puppet/hieradata/some_env/some_calling_module.gpg
 /etc/puppet/hieradata/common.yaml
 /etc/puppet/hieradata/common.gpg

 The hierarchy you've got must match the path of the Hiera data files in
 that directory.

 When run from the command line, the %{env}, %{location} and
 %{calling_module} variables are passed on the command line. When the hiera
 function call is made during a Puppet catalog compilation then those
 variables must be defined for that node ($env, $location, but
 $calling_module is implicit), either as Facter Facts or as normal variables
 in a Puppet manifest.

 ... That's not explained very well but I can't think of a better way to
 phrase it yet. Does that help so far?


 __**__**
 
 [root@me puppet]# more hiera.yaml
 ---
 :backends: - yaml
- gpg

 :logger: console

 :hierarchy: - %{env}/%{location}/%{calling_**module}
 - %{env}/%{calling_module}
 - common


 :yaml:
:datadir: /etc/puppet/hieradata

 :gpg:
:datadir: /etc/puppet/hieradata

 __**___
 my encrypted files are in /etc/puppet/hieradata/live



 Thanks in advance for any help!
 Bee


 On Tue, Sep 3, 2013 at 11:38 AM, Worker Bee beewo...@gmail.com wrote:

 Hi Guys;

 I really appreciate your help and apologize for the continued
 questions... however, apaprently, I am missing something here.  I cannot
 get this working.

 I have set hiera-gpg up as per the docs I can find but, I still cannot
 seem to get my manifests correct.  If someone would kindly provide a smaple
 manifest, I would be grateful!

 Also, per Craig Dunn's blog, he is placing hieradata files in
 /etc/puppet/hieradata/live.  Is the live subdir required?  Is there some
 sort of environment limitation that requires the files live in this subdir?

 Thank you very much!
 Bee

 On Fri, Aug 30, 2013 at 1:31 PM, Rich Burroughs 
 ri...@richburroughs.com wrote:

  Your manifests look the same. You do a hiera lookup just as you
 would if you weren't using the GPG integration. It's just another data
 store for hiera.

 You do need to set that up, as other people have mentioned. But it's
 no different in the manifests.


 On Fri, Aug 30, 2013 at 6:30 AM, Worker Bee beewo...@gmail.comwrote:

 I am looking for some manifest examples, if anyone has any to share!


 On Fri, Aug 30, 2013 at 7:16 AM, Richard Clark 
 ric...@fohnet.co.ukwrote:

  On Thu, Aug 29, 2013 at 05:47:41PM -0400, Worker Bee wrote:
  I am having a bit of difficulty implementing hiera-gpg;
 particularly with
  accomplishing the deencryption in my manifests.  Can anyone either
 provide
  a simple example or point me to a good resource?  I have searched
 alot and
  am still struggling.
 
  Any help would be very appreciated!
 
  Thanks!
  Bee

 You just need to have the hiera-gpg gem installed, make sure that
 gpg is
 listed

[Puppet Users] hiera-gpg, CentOS6 and puppet 3.2.4

2013-09-03 Thread Worker Bee
Has anyone been able to get this working?

For some reason, I am unable to get values decrypted via a puppet run,
despite being able to decrpyt via command line

I am starting to wonder if there is a bug or something I am missing??

I SO appreciate ANY help!



__
/etc/puppet/hiera.yaml


---
:backends: - gpg
 - yaml
:logger: console

:hierarchy: - %{env}/%{calling_module}
- common


:yaml:
   :datadir: /etc/puppet/hieradata

:gpg:
   :datadir: /etc/puppet/hieradata





Here is my init.pp file

# Class: testdecry
#

# [Remember: No empty lines between comments and class definition]
class testdecry {
$env = 'live'
$pass = hiera(rootpwd)
notify{The value is: ${pass}:}
}




My encrypted file is in:

/etc/puppet/hieradata/live
[root@me]# ls
testdecry.gpg


___
Command line works:
[root@me ]# hiera -c /etc/puppet/hiera.yaml rootpwd
calling_module=testdecry env=live
rootpass


Running via puppet fails
[root@me]# puppet agent --test
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
can't convert nil into String at
/etc/puppet/modules/testdecry/manifests/init.pp:17 on node me.net
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run


I am totally at a loss here
Thanks!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Hiera and hiera-gpg

2013-08-30 Thread Worker Bee
I am looking for some manifest examples, if anyone has any to share!

On Fri, Aug 30, 2013 at 7:16 AM, Richard Clark rich...@fohnet.co.uk wrote:

  On Thu, Aug 29, 2013 at 05:47:41PM -0400, Worker Bee wrote:
  I am having a bit of difficulty implementing hiera-gpg; particularly with
  accomplishing the deencryption in my manifests.  Can anyone either
 provide
  a simple example or point me to a good resource?  I have searched alot
 and
  am still struggling.
 
  Any help would be very appreciated!
 
  Thanks!
  Bee

 You just need to have the hiera-gpg gem installed, make sure that gpg is
 listed in the backends array in hiera.yaml, then the puppet user needs
 to have the private key configured within it's $HOME/.gnupg -where $HOME
 is usually /var/lib/puppet.

 By default pgp keys are encrypted with a passphrase, which would need to
 be supplied and held in a running keyring for that user, so was
 previously working around this by using a non-passphrase protected
 subkey.

 I've now however moved away from hiera-gpg due to performance overhead
 on large catalogs and moved to a git post-commit hook that decrypts any
 .gpg files to .yaml within a dedicated hierarchy for decrypted files,
 using that same insecure private subkey.


 Cheers,
 --
 Richard Clark
 rich...@fohnet.co.uk


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Hiera and hiera-gpg

2013-08-29 Thread Worker Bee
I am having a bit of difficulty implementing hiera-gpg; particularly with
accomplishing the deencryption in my manifests.  Can anyone either provide
a simple example or point me to a good resource?  I have searched alot and
am still struggling.

Any help would be very appreciated!

Thanks!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] More node definition complexity

2013-08-01 Thread Worker Bee
Hi Everyone;

First, thanks for your help!

I am trying to create a way to categorize hosts based on both/either/or the
name of the host as well as the location of the host.

Right now, I have .pp files that categorize the hosts based on the
hostname.  I have written a custom fact to determine the datacenter
location but, I cannot figure out how to create .pp files that will allow
me to apply catalogs either based on hostname or datacenter name.

Is there any way to do this outside of hiera or ENC?

Thank you very much!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Node Classifications

2013-07-31 Thread Worker Bee
Hi Everyone,

I am struggling a bit with the order of precedence of node
classifications.  When using .pp files to classify nodes, what happens if a
node corresponds to two different manifests.  For example, if I have .pp
files that select nodes based on hostnames and I have another .pp file that
selects hosts based in data center location, will both manifests be applied
accordingly?

Also, is the default manifest applied to ALL hosts, complimentary of any
manifests  that explicitly apply to the host?  Or, is the default applied
ONLY if no other manifests  apply to that host?

Thank you very much!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Puppet modules calling yum or repo's

2013-07-22 Thread Worker Bee
Hi Everyone;

I am sorry if this sounds like a dumb question but, I am trying to
troubleshoot an issue and want to make sure it is not my ignorance that is
the issue.

When using files from svn or yum repos in manifests, does the puppetmaster
check out the files and then push them to the host?  So, does only the
puupetmaster required access to the repo or does each target need access?

Thank you
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Puppet modules calling yum or repo's

2013-07-22 Thread Worker Bee
Ok,

So, I am correct, each agent will need to be able to access the repo

Thanks for clarifying!

Bee


On Mon, Jul 22, 2013 at 4:01 PM, Brendan O'Bra bren...@obrafamily.orgwrote:

 The files are pulled from the agents - i.e. yum install foo or svn up
 are run on the agent (and not the master).


 On Mon, Jul 22, 2013 at 12:54 PM, Worker Bee beeworke...@gmail.comwrote:

 Hi Everyone;

 I am sorry if this sounds like a dumb question but, I am trying to
 troubleshoot an issue and want to make sure it is not my ignorance that is
 the issue.

 When using files from svn or yum repos in manifests, does the
 puppetmaster check out the files and then push them to the host?  So, does
 only the puupetmaster required access to the repo or does each target need
 access?

 Thank you
 Bee

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 GVoice: 707.410.0371
 LinkedIn: http://www.linkedin.com/in/brendanobra

  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] End of Life Plan for Puppet 2.7.x

2013-07-11 Thread Worker Bee
I just want to verify that I am correct Puppet Agent 3.x is NOT
compatible with 2.7 Puppet Masters?

I am currently on 2.6 agents and need to upgrade these ASAP but, I do think
we can go to 3.0 agents until we upgrade the masters?

Thanks
Bee


On Thu, Jul 11, 2013 at 12:28 PM, Michael Stahnke stah...@puppetlabs.comwrote:

 The time has come for us to say good-bye to the Puppet 2.7 series.
 This means the security fixes, bug fixes, and features provided for
 Puppet 2.7 since its release in June 2011 will cease on October 1,
 2013.

 We strongly encourage users who have not already upgraded to move
 forward to the Puppet 3 series, originally released on Sept 28, 2012.
 This version is actively developed and maintained, with Puppet 3.2.2
 released June 18 and 3.2.3 currently in a release candidate phase. To
 support your upgrade, please make use of the following resources:

 Puppet Labs Upgrade Guide:
 http://docs.puppetlabs.com/guides/upgrading.html
 Web: http://ask.puppetlabs.com
 IRC:  #puppet
 Mailing list: puppet-users@googlegroups.com


 Thanks,
 Michael Stahnke
 Engineering

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Automating Change Ticket Creation following module deployment

2013-07-10 Thread Worker Bee
Hi Everyone;

This is a way-out there question but, I wanted to see if anyone has any
advise to offer.


We have an API to our Change Management System.  Presently, I have a perl
script that creates a record in the change mgmt system but, the script is
somewhat manual (ie the use has to execute the script, passing information
in variables).

I am trying to come up with ways to automate the creation of a change
ticket following a puppet module being applied.

I know this is a very creative group of users and I was wondering if anyone
might be able/willing to toss some ideas my way?

Thank you
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Dynamically assign Static IP Addresses

2013-06-25 Thread Worker Bee
Hi Everyone;

I was wondering if anyone has created ot knows of a module that can be used
to assign static IP addresses to hosts post build.  The addresses will be
static but, need to be assigned based on MAC address.

Essentially, we have a file with a list of hostnames/mac addresses.  I need
to use puppet to assign the correct IP addrsses to the correct host.
Stored Configs is not an option.

I will be grateful for any advice/feedback!

Thanks!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Dynamically assign Static IP Addresses

2013-06-25 Thread Worker Bee
Yes, but we will not be able to use DHCP in this case.  This is why I was
aksing if anyone had any suggesting for leveraging Puppet to do this


On Tue, Jun 25, 2013 at 2:30 PM, Dan White y...@comcast.net wrote:

 You are describing DHCP reservations.
 That would be something to do with a DHCP server, not necessarily with
 Puppet

 “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)

 --
 *From: *Worker Bee beeworke...@gmail.com
 *To: *puppet-users@googlegroups.com
 *Sent: *Tuesday, June 25, 2013 2:06:05 PM
 *Subject: *[Puppet Users] Dynamically assign Static IP Addresses


 Hi Everyone;

 I was wondering if anyone has created ot knows of a module that can be
 used to assign static IP addresses to hosts post build.  The addresses will
 be static but, need to be assigned based on MAC address.

 Essentially, we have a file with a list of hostnames/mac addresses.  I
 need to use puppet to assign the correct IP addrsses to the correct host.
 Stored Configs is not an option.

 I will be grateful for any advice/feedback!

 Thanks!
 Bee

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Dynamically assign Static IP Addresses

2013-06-25 Thread Worker Bee
I can think of several ways puppet can do this, I was just wondering if the
group might have any ideas/suggestions as to best approaches.  Obviously,
we are unable to use DHCP in this particular case, or we would.


On Tue, Jun 25, 2013 at 2:30 PM, Dan White y...@comcast.net wrote:

 You are describing DHCP reservations.
 That would be something to do with a DHCP server, not necessarily with
 Puppet

 “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)

 --
 *From: *Worker Bee beeworke...@gmail.com
 *To: *puppet-users@googlegroups.com
 *Sent: *Tuesday, June 25, 2013 2:06:05 PM
 *Subject: *[Puppet Users] Dynamically assign Static IP Addresses


 Hi Everyone;

 I was wondering if anyone has created ot knows of a module that can be
 used to assign static IP addresses to hosts post build.  The addresses will
 be static but, need to be assigned based on MAC address.

 Essentially, we have a file with a list of hostnames/mac addresses.  I
 need to use puppet to assign the correct IP addrsses to the correct host.
 Stored Configs is not an option.

 I will be grateful for any advice/feedback!

 Thanks!
 Bee

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Dynamically assign Static IP Addresses

2013-06-25 Thread Worker Bee
Thanks, Ken.  It will be a secondary interface and it will 'hopefully' be a
one-time fix.

I appreciate the feedback and will take a look at this!

Jerald; you are absolutely right, this should be a provisioning task but,
we I have an OPS team who needs to make a one-tme correction on exisiting
gear.  DHCP is not an option due to limitations in the environment.

Thanks again!

Bee


On Tue, Jun 25, 2013 at 3:27 PM, Ken Barber k...@puppetlabs.com wrote:

 This module from @finch can do networking configuration:
 https://forge.puppetlabs.com/adrien/network ... the mac address of a
 host/interface can be gleaned from facts.

 Is this change going to occur on your primary interface though (the
 one you are talking to your puppetmaster on), or is it for some kind
 of secondary interface?

 On Tue, Jun 25, 2013 at 8:05 PM, Worker Bee beeworke...@gmail.com wrote:
  I can think of several ways puppet can do this, I was just wondering if
 the
  group might have any ideas/suggestions as to best approaches.
  Obviously, we
  are unable to use DHCP in this particular case, or we would.
 
 
  On Tue, Jun 25, 2013 at 2:30 PM, Dan White y...@comcast.net wrote:
 
  You are describing DHCP reservations.
  That would be something to do with a DHCP server, not necessarily with
  Puppet
 
  “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)
 
  
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Tuesday, June 25, 2013 2:06:05 PM
  Subject: [Puppet Users] Dynamically assign Static IP Addresses
 
 
  Hi Everyone;
 
  I was wondering if anyone has created ot knows of a module that can be
  used to assign static IP addresses to hosts post build.  The addresses
 will
  be static but, need to be assigned based on MAC address.
 
  Essentially, we have a file with a list of hostnames/mac addresses.  I
  need to use puppet to assign the correct IP addrsses to the correct
 host.
  Stored Configs is not an option.
 
  I will be grateful for any advice/feedback!
 
  Thanks!
  Bee
 
  --
  You received this message because you are subscribed to the Google
 Groups
  Puppet Users group.
  To unsubscribe from this group and stop receiving emails from it, send
 an
  email to puppet-users+unsubscr...@googlegroups.com.
  To post to this group, send email to puppet-users@googlegroups.com.
  Visit this group at http://groups.google.com/group/puppet-users.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
  --
  You received this message because you are subscribed to the Google
 Groups
  Puppet Users group.
  To unsubscribe from this group and stop receiving emails from it, send
 an
  email to puppet-users+unsubscr...@googlegroups.com.
  To post to this group, send email to puppet-users@googlegroups.com.
  Visit this group at http://groups.google.com/group/puppet-users.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
 
  --
  You received this message because you are subscribed to the Google Groups
  Puppet Users group.
  To unsubscribe from this group and stop receiving emails from it, send an
  email to puppet-users+unsubscr...@googlegroups.com.
  To post to this group, send email to puppet-users@googlegroups.com.
  Visit this group at http://groups.google.com/group/puppet-users.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] PuppetDB

2013-05-28 Thread Worker Bee
Thank you so much for the reply!  I posted a thread asking just that
question.   I was having difficulty finding documentation about pros/cons
of using the embedded HSQLDB vs Postgres.

Thanks again!
Bee


On Tue, May 28, 2013 at 4:20 AM, Martijn mart...@heemels.com wrote:

 Just to clarify that statement: Postgres is actually optional, but
 recommended for production use. The embedded db works fine for testing but
 doesn't scale well.

 Regards, Martijn

 Op vrijdag 24 mei 2013 23:36:13 UTC+2 schreef Ashley Penney het volgende:

 You definitely still need postgres!  If you grab http://forge.puppetlabs.
 **com/puppetlabs/puppetdbhttp://forge.puppetlabs.com/puppetlabs/puppetdb
  **instead of installing it manually, it will help you get postgres and
 all the other dependencies you need installed.

  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] PuppetDB 1.3/ HSQLDB vs Postgres

2013-05-28 Thread Worker Bee
Thank you VERY much!

I will check this out ASAP!

Bee


On Tue, May 28, 2013 at 8:27 AM, Matthew Burgess 
matthew.2.burg...@gmail.com wrote:

 http://docs.puppetlabs.com/puppetdb/latest/scaling_recommendations.htmlhas a 
 few points regarding the pros/cons of each of the DB backends for
 puppetDB.

 Regards,

 Matt.


 On Sat, May 25, 2013 at 6:09 PM, Worker Bee beeworke...@gmail.com wrote:

 Hi everyone;

 I was just wondering if anyone has any opinion/information on the pros
 and cons of using the built-in HSQLDB vs Postgres.

 Thanks!
 Bee

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] PuppetDB 1.3/ HSQLDB vs Postgres

2013-05-25 Thread Worker Bee
Hi everyone;

I was just wondering if anyone has any opinion/information on the pros and
cons of using the built-in HSQLDB vs Postgres.

Thanks!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] PuppetDB

2013-05-24 Thread Worker Bee
Hi Everyone;

I am sorry to be a pest but, I am very confused here.  I just installed the
latest PuppetDB from the repo packages.  However, it does not appear that
postgres is installed. I am really lost here... is postgres no longer
required?

Thanks! Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] PuppetDB

2013-05-24 Thread Worker Bee
Thanks!

Sorry for the blackout there I just found it!  That was too easy! :)
Worked perfectly!

Thank you!
Bee


On Fri, May 24, 2013 at 5:36 PM, Ashley Penney apen...@gmail.com wrote:

 You definitely still need postgres!  If you grab
 http://forge.puppetlabs.com/puppetlabs/puppetdb instead of installing it
 manually, it will help you get postgres and all the other dependencies you
 need installed.


 On Fri, May 24, 2013 at 5:33 PM, Worker Bee beeworke...@gmail.com wrote:

 Hi Everyone;

 I am sorry to be a pest but, I am very confused here.  I just installed
 the latest PuppetDB from the repo packages.  However, it does not appear
 that postgres is installed. I am really lost here... is postgres no longer
 required?

 Thanks! Bee

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] PuppetDB Architecture Questions

2013-05-24 Thread Worker Bee
Hi Everyone;

I am having a bit of challenge understanding the PuppetDB 1.3
Architecture.  When I  installed using the packages in the puppet repo, it
was difficult for me to determine where the postgres database was installed
but, I found that it was installed in /var/lib/puppetdb.

I am a serious newbie to PuppetDb so, please excuse my questions of they
are dumb but, any assistance you are willing to provide will be greatly
appreciated.

1.) Why is pgsql not running on my server even though puppetdb is running?
How is the database being served?
2.)Is it possible to interact with the database via pqsql?

Thanks so much for your time!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] PuppetDb Query Help/Problems

2013-05-24 Thread Worker Bee
Hi All;

I am using the PuppetDD 1.3 docs.  I am attempting to run the following
query:

curl -H 'Accept: application/json' -X GET
http://localhost:8080/v2/resources--data-urlencode query@db_look

Contents of db_look:
[=, certname, puppet-satellite]

However, I get no results with this...  I also do not get an errors

I do see this in the log file (as indicated by the docs)

2013-05-24 19:17:26,464 INFO  [command-proc-46] [puppetdb.command]
[140d6911-3d86-483c-9c00-3e637fc13ea8] [replace catalog] puppet-satellite

But, I am also getting the error
2013-05-24 19:17:34,325 WARN  [qtp17805761-41]
[server.AbstractHttpConnection] /v2/resources
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('#'
(code 35)): expected a valid value (number, String, array, object, 'true',
'false' or 'null')


Any advice would be greatly appreciated!

Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: PuppetDb Query Help/Problems

2013-05-24 Thread Worker Bee
Actually, I am getting no results..

[ ]

I assume this means that facts are not being stored but, I cannot figure
out why/how to troubleshoot...


Thanks!


On Fri, May 24, 2013 at 7:23 PM, Worker Bee beeworke...@gmail.com wrote:

 Hi All;

 I am using the PuppetDD 1.3 docs.  I am attempting to run the following
 query:

 curl -H 'Accept: application/json' -X GET
 http://localhost:8080/v2/resources --data-urlencode query@db_look

 Contents of db_look:
 [=, certname, puppet-satellite]

 However, I get no results with this...  I also do not get an errors

 I do see this in the log file (as indicated by the docs)

 2013-05-24 19:17:26,464 INFO  [command-proc-46] [puppetdb.command]
 [140d6911-3d86-483c-9c00-3e637fc13ea8] [replace catalog] puppet-satellite

 But, I am also getting the error
 2013-05-24 19:17:34,325 WARN  [qtp17805761-41]
 [server.AbstractHttpConnection] /v2/resources
 com.fasterxml.jackson.core.JsonParseException: Unexpected character ('#'
 (code 35)): expected a valid value (number, String, array, object, 'true',
 'false' or 'null')


 Any advice would be greatly appreciated!

 Bee


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Puppet agent and env variables

2013-05-08 Thread Worker Bee
Hi Everyone;

It appears that in Puppet 3, environment variables are not passed to the
agent.  Specifically, $HOME is not defined so, if a script attempts to use
~ , this fails becasue $HOME is no longer defined to the agent.  This seems
to have changed since 2.7.

Does anyone have any feedback/advice?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Mcollective/Puppet Connector

2013-03-05 Thread Worker Bee
When attempting to execute the mcollective puppet plugin:

# mco puppet runonce -v

aixl   : execution expired
aixj   : execution expired


I get an error, 'execution expired' on some hosts.  However, these hosts
respond via mco ping and, I have verified the date/time on the servers.
The puppet agent is also working fine with the puppetmaster.  Can anyone
shed any light on this?

Thanks!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Mcollective/Puppet Connector

2013-03-05 Thread Worker Bee
Ahh...

We do not run the puppet agents as daemons, we just call the agent manually
when needed.

Is there a way I can increase this timeout?

Thanks!

On Tue, Mar 5, 2013 at 4:28 PM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Tuesday, March 5, 2013 9:26:06 PM
  Subject: [Puppet Users] Mcollective/Puppet Connector
 
  When attempting to execute the mcollective puppet plugin:
 
  # mco puppet runonce -v
 
  aixl   : execution expired
  aixj   : execution expired

 for whatever reason it took more than 5 seconds to just get puppet
 started - it daemonizes and dissociates from mcollectived on run
 so this really should not take 5 seconds unless your machines are very
 very slow etc?

 did you change any of the mco puppet agent configuration?

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Mcollective/Puppet Connector

2013-03-05 Thread Worker Bee
Ok, thanks.

I did not change anything in the config files other than to add the
required settings for the connector in server.cfg

#Puppet Plugin
plugin.puppet.command = /opt/puppet/bin/puppet agent --test
plugin.puppet.splay = false
plugin.puppet.daemonize = true
plugin.puppet.splaylimit = 30
plugin.puppet.config = /etc/puppet/puppet.conf


connector = stomp
plugin.stomp.host = puppet05
plugin.stomp.port = 61613
plugin.stomp.user = mcollective
plugin.stomp.password = secret


I do not even have this file :/etc/mcollective/plugin.d/puppet.cfg   

I do not think my servers are particularly slow, but then again, I have
other servers that are answering just fine...

Thanks SO MUCH!

On Tue, Mar 5, 2013 at 4:35 PM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Tuesday, March 5, 2013 9:31:10 PM
  Subject: Re: [Puppet Users] Mcollective/Puppet Connector
 
  Ahh...
 
  We do not run the puppet agents as daemons, we just call the agent
 manually
  when needed.

 that's what the mco agent does too - so back to the questions, are your
 machines particularly slow/busy? did you change the config in server.cfg
 or /etc/mcollective/plugin.d/puppet.cfg?

  Is there a way I can increase this timeout?

 you'd need to adjust the DDL files everywhere, best to find out what the
 cause is

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Mcollective/Puppet Connector

2013-03-05 Thread Worker Bee
Am I looking at the wrong Configuration Guide?
http://docs.puppetlabs.com/mcollective/reference/basic/configuration.html

I do not see anything about the puppet.cfg file.

Also, my puppetmaster and my ActiveMQ are on seperate boxes...



On Tue, Mar 5, 2013 at 4:35 PM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Tuesday, March 5, 2013 9:31:10 PM
  Subject: Re: [Puppet Users] Mcollective/Puppet Connector
 
  Ahh...
 
  We do not run the puppet agents as daemons, we just call the agent
 manually
  when needed.

 that's what the mco agent does too - so back to the questions, are your
 machines particularly slow/busy? did you change the config in server.cfg
 or /etc/mcollective/plugin.d/puppet.cfg?

  Is there a way I can increase this timeout?

 you'd need to adjust the DDL files everywhere, best to find out what the
 cause is

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Mcollective/Puppet Connector

2013-03-05 Thread Worker Bee
Ok, thanks!

I also found this...
#plugin.puppet.timeout = 20

Will this increase the period of time it waits for execution against the
puppetmaster?


On Tue, Mar 5, 2013 at 4:51 PM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Tuesday, March 5, 2013 9:40:58 PM
  Subject: Re: [Puppet Users] Mcollective/Puppet Connector
 
  Ok, thanks.
 
  I did not change anything in the config files other than to add the
  required settings for the connector in server.cfg
 
  #Puppet Plugin
  plugin.puppet.command = /opt/puppet/bin/puppet agent --test
  plugin.puppet.splay = false
  plugin.puppet.daemonize = true
  plugin.puppet.splaylimit = 30
  plugin.puppet.config = /etc/puppet/puppet.conf

 these are not required parameters for the connector :)

 You're specifically changing the way puppet is being run to use
 --test thus causing it to not daemonize and dissociate from the
 running mcollectived.

 Take away your plugin.puppet.command setting

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Mcollective/Puppet Connector

2013-03-05 Thread Worker Bee
Ok, Thanks!!!

:)



On Tue, Mar 5, 2013 at 5:05 PM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Tuesday, March 5, 2013 10:02:37 PM
  Subject: Re: [Puppet Users] Mcollective/Puppet Connector
 
  Ok, thanks!
 
  I also found this...
  #plugin.puppet.timeout = 20
 
  Will this increase the period of time it waits for execution against the
  puppetmaster?

 no, you have to not set it to use --test, for any reasons, just dont do it.

 
 
  On Tue, Mar 5, 2013 at 4:51 PM, R.I.Pienaar r...@devco.net wrote:
 
  
  
   - Original Message -
From: Worker Bee beeworke...@gmail.com
To: puppet-users@googlegroups.com
Sent: Tuesday, March 5, 2013 9:40:58 PM
Subject: Re: [Puppet Users] Mcollective/Puppet Connector
   
Ok, thanks.
   
I did not change anything in the config files other than to add the
required settings for the connector in server.cfg
   
#Puppet Plugin
plugin.puppet.command = /opt/puppet/bin/puppet agent --test
plugin.puppet.splay = false
plugin.puppet.daemonize = true
plugin.puppet.splaylimit = 30
plugin.puppet.config = /etc/puppet/puppet.conf
  
   these are not required parameters for the connector :)
  
   You're specifically changing the way puppet is being run to use
   --test thus causing it to not daemonize and dissociate from the
   running mcollectived.
  
   Take away your plugin.puppet.command setting
  
   --
   You received this message because you are subscribed to the Google
 Groups
   Puppet Users group.
   To unsubscribe from this group and stop receiving emails from it, send
 an
   email to puppet-users+unsubscr...@googlegroups.com.
   To post to this group, send email to puppet-users@googlegroups.com.
   Visit this group at http://groups.google.com/group/puppet-users?hl=en.
   For more options, visit https://groups.google.com/groups/opt_out.
  
  
  
 
  --
  You received this message because you are subscribed to the Google Groups
  Puppet Users group.
  To unsubscribe from this group and stop receiving emails from it, send an
  email to puppet-users+unsubscr...@googlegroups.com.
  To post to this group, send email to puppet-users@googlegroups.com.
  Visit this group at http://groups.google.com/group/puppet-users?hl=en.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Puppet from the scratch

2013-02-15 Thread Worker Bee
Have you verified that the time on the servers is consistent?



On Fri, Feb 15, 2013 at 5:01 AM, F.Calero hipo...@gmail.com wrote:

 Hi all,

 I'm trying to start with it from the scratch and i'm getting struck at
 this point:

 puppetclient01:~ # cat /etc/SuSE-release
 SUSE Linux Enterprise Server 11 (x86_64)
 VERSION = 11
 PATCHLEVEL = 2

 puppetclient01:~ # cat /etc/hosts
 127.0.0.1 puppetclient01.user.arinso puppetclient01
 192.168.203.128 puppet puppetmaster.user.arinso

 puppetclient01:~ # puppet agent --test
 info: Creating a new SSL key for puppetclient01.domain.name
 warning: peer certificate won't be verified in this SSL session
 warning: peer certificate won't be verified in this SSL session
 info: Creating a new SSL certificate request for
 puppetclient01.domain.name
 info: Certificate Request fingerprint (md5):
 88:B5:17:BF:DD:39:90:ED:0D:1A:9D:3C:A7:51:8C:D3
 warning: peer certificate won't be verified in this SSL session
 warning: peer certificate won't be verified in this SSL session
 warning: peer certificate won't be verified in this SSL session
 Exiting; no certificate found and waitforcert is disabled

 Once i sign the new node certificate on the puppetmaster.

 puppetclient01:~ # puppet agent --test
 warning: peer certificate won't be verified in this SSL session
 info: Caching certificate for puppetclient01.domain.name
 err: Could not retrieve catalog from remote server: SSL_connect returned=1
 errno=0 state=SSLv3 read server certificate B: certificate verify failed
 warning: Not using cache on failed catalog
 err: Could not retrieve catalog; skipping run


 I have tried to delete all certificates on the server and client, it
 didn’t solve any.

 Thanks.

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Mcollective on FreeBSD Error

2013-02-14 Thread Worker Bee
Hello Guys;

Any clue what might be causing this?  I am using MCollective on FreeBSD.


MCollective::Agent::Puppet: MCollective::DDLValidationError
I, [2013-02-14T20:06:07.516501 #9435]  INFO -- : mcollectived:31 The
Marionette Collective 2.1.1 started logging at info level
E, [2013-02-14T20:06:07.546737 #9438] ERROR -- : agent.rb:58:in `load_ddl'
Failed to load DDL for the 'puppet' agent, DDLs are required:
NoMethodError: undefined method `requires' for
#MCollective::DDL:0x801d36860
E, [2013-02-14T20:06:07.546946 #9438] ERROR -- : agents.rb:71:in
`loadagent' Loading agent puppet failed: Could not create instance of
plugin MCollective::Agent::Puppet: MCollective::DDLValidationError


Thanks!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Mcollective/Puppet Plug-In

2013-02-08 Thread Worker Bee
Hi Everyone;

I am stumped.  I have installed Mcollective and the puppet plugin on both
RHEL and AIX.  Everything is working fine on RHEL.  However, I keep getting
the following error on my AIX boxes.   I have verified the configuration,
etc

On AIX, I do install everything into /opt/puppet.  So, I am wondeting if
there is some pathing issue that I cannot find. perhaps.  At any rate, any
help/advice would be greatly appreciated!

Both the puupetmaster and the Mcollective Client are running on RHEL
servers.


[root@puppet5 ~]# mco puppet runonce --server aixbox -v

The puppet application failed to run, use -v for full error details: Cannot
validate input: Unknown validator: 'puppet_server_address'.

Cannot validate input: Unknown validator: 'puppet_server_address'.
(MCollective::DDLValidationError)
from /usr/lib/ruby/site_ruby/1.8/mcollective/ddl/base.rb:144:in
`validate_input_argument'  
from /usr/lib/ruby/site_ruby/1.8/mcollective/ddl/agentddl.rb:167:in
`validate_rpc_request'
from /usr/lib/ruby/site_ruby/1.8/mcollective/ddl/agentddl.rb:159:in
`each'
from /usr/lib/ruby/site_ruby/1.8/mcollective/ddl/agentddl.rb:159:in
`validate_rpc_request'
from /usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:219:in
`method_missing'
from /usr/libexec/mcollective/mcollective/application/puppet.rb:280:in
`runonce_command'
from /usr/libexec/mcollective/mcollective/application/puppet.rb:317:in
`send'
from /usr/libexec/mcollective/mcollective/application/puppet.rb:317:in
`main'
from /usr/lib/ruby/site_ruby/1.8/mcollective/application.rb:285:in `run'
from /usr/lib/ruby/site_ruby/1.8/mcollective/applications.rb:23:in `run'
from /usr/sbin/mco:20


Thanks!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Mcollective/Puppet Plug-In

2013-02-08 Thread Worker Bee
You are correct, I do not.

I followed these instructions explicitly...
http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/InstallingPlugins

Do I need to copy all of the directories and files in the zip distro to
$mco_libdir?

Thanks! Bee


On Fri, Feb 8, 2013 at 1:37 PM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Friday, February 8, 2013 6:27:25 PM
  Subject: [Puppet Users] Mcollective/Puppet Plug-In
 
  Hi Everyone;
 
  I am stumped.  I have installed Mcollective and the puppet plugin on both
  RHEL and AIX.  Everything is working fine on RHEL.  However, I keep
 getting
  the following error on my AIX boxes.   I have verified the configuration,
  etc
 
  On AIX, I do install everything into /opt/puppet.  So, I am wondeting if
  there is some pathing issue that I cannot find. perhaps.  At any rate,
 any
  help/advice would be greatly appreciated!
 
  Both the puupetmaster and the Mcollective Client are running on RHEL
  servers.
 
 
  [root@puppet5 ~]# mco puppet runonce --server aixbox -v
 
  The puppet application failed to run, use -v for full error details:
 Cannot
  validate input: Unknown validator: 'puppet_server_address'.
 
  Cannot validate input: Unknown validator: 'puppet_server_address'.
  (MCollective::DDLValidationError)
  from /usr/lib/ruby/site_ruby/1.8/mcollective/ddl/base.rb:144:in
  `validate_input_argument'  
  from /usr/lib/ruby/site_ruby/1.8/mcollective/ddl/agentddl.rb:167:in
  `validate_rpc_request'
  from /usr/lib/ruby/site_ruby/1.8/mcollective/ddl/agentddl.rb:159:in
  `each'
  from /usr/lib/ruby/site_ruby/1.8/mcollective/ddl/agentddl.rb:159:in
  `validate_rpc_request'
  from /usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:219:in
  `method_missing'
  from
 /usr/libexec/mcollective/mcollective/application/puppet.rb:280:in
  `runonce_command'
  from
 /usr/libexec/mcollective/mcollective/application/puppet.rb:317:in
  `send'
  from
 /usr/libexec/mcollective/mcollective/application/puppet.rb:317:in
  `main'
  from /usr/lib/ruby/site_ruby/1.8/mcollective/application.rb:285:in
 `run'
  from /usr/lib/ruby/site_ruby/1.8/mcollective/applications.rb:23:in
 `run'
  from /usr/sbin/mco:20


 seems that $mco_libdir/mcollective/validator/puppet_server_address.* isn't
 installed

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Mcollective/Puppet Plug-In

2013-02-08 Thread Worker Bee
Thanks!

On Fri, Feb 8, 2013 at 2:12 PM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Friday, February 8, 2013 8:06:07 PM
  Subject: Re: [Puppet Users] Mcollective/Puppet Plug-In
 
  You are correct, I do not.
 
  I followed these instructions explicitly...
 
 http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/InstallingPlugins
 
  Do I need to copy all of the directories and files in the zip distro to
  $mco_libdir?

 yeah - expect a refresh of those docs soonish sorry about that.

 copy all of them except spec yes

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Still getting an error....Re: [Puppet Users] Mcollective/Puppet Plug-In

2013-02-08 Thread Worker Bee
Now, I am getting this 

Thanks for the help!



puppet5 : Cannot validate input: Unknown
validator: 'puppet_server_address'.
Cannot validate input: Unknown validator:
'puppet_server_address'.puppetdev04 : Puppet
command 'puppet agent --test --onetime --daemonize --color=false --no-splay
--server puppetdev05' had exit code 1, expected 0
{:summary=  Puppet command 'puppet agent --test --onetime
--daemonize --color=false --no-splay --server puppetdev05' had exit code 1,
expected 0}




On Fri, Feb 8, 2013 at 2:12 PM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
  From: Worker Bee beeworke...@gmail.com
  To: puppet-users@googlegroups.com
  Sent: Friday, February 8, 2013 8:06:07 PM
  Subject: Re: [Puppet Users] Mcollective/Puppet Plug-In
 
  You are correct, I do not.
 
  I followed these instructions explicitly...
 
 http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/InstallingPlugins
 
  Do I need to copy all of the directories and files in the zip distro to
  $mco_libdir?

 yeah - expect a refresh of those docs soonish sorry about that.

 copy all of them except spec yes

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Mcollective

2013-02-01 Thread Worker Bee
Hi Everyone;

I am just starting with MCollective and I am struggling to find information
about how to properly configure it.

I have it installed but, I cannot seem to get mco facts working..  mco
facts does not return the request information.

Any help would be greatly appreciated!



[root@mydev5 ~]# mco facts hostname mydev5
Report for fact: hostname


Finished processing 1 / 1 hosts in 54.62 ms


Thanks!
Bee

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Re: Mcollective

2013-02-01 Thread Worker Bee
Thanks, Nick!

Worked perfectly!



On Fri, Feb 1, 2013 at 4:32 PM, Nick Fagerlund 
nick.fagerl...@puppetlabs.com wrote:

 You've gotta:

- Set a fact source
- Configure that fact source
- Make sure that fact source has access to good data

 By default, mcollective is using the 'yaml' fact source, which is looking
 for a file that may not exist and which may not have good data in it.

 Check the instructions here, they cover how to get that set up (assuming
 you're using Puppet):
 http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML


 On Friday, February 1, 2013 12:44:49 PM UTC-8, Worker Bee wrote:

 Hi Everyone;

 I am just starting with MCollective and I am struggling to find
 information about how to properly configure it.

 I have it installed but, I cannot seem to get mco facts working..  mco
 facts does not return the request information.

 Any help would be greatly appreciated!



 [root@mydev5 ~]# mco facts hostname mydev5
 Report for fact: hostname


 Finished processing 1 / 1 hosts in 54.62 ms


 Thanks!
 Bee

  --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to puppet-users+unsubscr...@googlegroups.com.
 To post to this group, send email to puppet-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/puppet-users?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Puppet Package for FreeBSD

2013-01-18 Thread Worker Bee
Did you try using the Puppet ports available?This is what I used and
they work fine.  However, I am on 8.2 and 8.3.
If you want to create packages to distribute to servers that may not have
internet connectivity to do portsnaps, you can install the port on a box
and then create packages using that..

For example, grab the port and install on an build server...
Then. cd to the ports dir (probably /usr/local/ports/sysutils/puppet)

# make package-recursive

This will make the package and all of it's dependencies.  The packages will
be in /usr/ports/packages/ALL.

I then placed all of the packages on a web server for distribution.
If you set the env variable, PACKAGESITE to the full url of the web server
where you place the packages, you can install from there...

#pkg_add -v -r package name)

Anyway, this is what i did and it worked.

Bee






On Thu, Jan 17, 2013 at 5:37 PM, Tri Tu mtr...@gmail.com wrote:

 Hello all,

 I'm looking for a puppet package for FreeBSD either 6.3 or 7.3.  I
 couldn't find out on the web but if someone has done it before, please let
 me know where to look for the packages or instructions of how to port
 Puppet source into FreeBSD.

 Thanks.

  --
 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/-/l111bmjzZLgJ.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Hiera, AIX, please help :)

2012-12-19 Thread Worker Bee
Hi Everyone;

First, is my understanding correct that all boxes with agents 3.0 will
need to have hiera installed?  I have gotten conflicting answers and I have
found different answers in the documentation as well.  Can anyone clear
this up for me?

And, if it is needed.. has anyone gotten it working on AIX?

Thanks!
Bee

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Getting Started with Hiera

2012-11-15 Thread Worker Bee
Hi Everyone;

Can anyone direct me towards documentation on getting started with Hiera?
SPecifically, I ma looking for an easy way to verify post-install
functionality.

I did visit the following page which is is blank...
http://docs.puppetlabs.com/hiera/1/puppet.html

Any help would be greatly appreciated!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] puppet 3.0.1 Server and passenger

2012-11-06 Thread Worker Bee
Hi Everyone;

I am stumped.
I am simply trying to upgrade from puppet 3.0.0 to puppet 3.0.1 master
(rhel6)

I have followed the precise steps I used when I installed 3.0.0 to migrate
to Passenger, but for some reason, I know cannot get it running.

There are no useful errors in the logs that I can find either.

Please Help!

p.s. I have already made the required changes to the config.ru file

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Re: puppet 3.0.1 Server and passenger

2012-11-06 Thread Worker Bee
Here is the error that I get displayed to the screen...

Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN 
http://www.w3.org/TR/html4/strict.dtd;
html
head
meta http-equiv=Content-Type content=text/html; charset=UTF-8
meta name=generator content=Phusion Passenger
titleRuby (Rack) application could not be started/title
style type=text/css
body {
font-family: Verdana, 'Bitstream Vera Sans', Arial, Sans-Serif;
font-size: 10pt;
background: white;
color: #22;
margin: 0;
padding-top: 3em;
padding-bottom: 3em;
padding-left: 4.5em;
padding-right: 4.5em;
}


On Tue, Nov 6, 2012 at 1:50 PM, Worker Bee beeworke...@gmail.com wrote:

 Hi Everyone;

 I am stumped.
 I am simply trying to upgrade from puppet 3.0.0 to puppet 3.0.1 master
 (rhel6)

 I have followed the precise steps I used when I installed 3.0.0 to migrate
 to Passenger, but for some reason, I know cannot get it running.

 There are no useful errors in the logs that I can find either.

 Please Help!

 p.s. I have already made the required changes to the config.ru file


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Re: puppet 3.0.1 Server and passenger

2012-11-06 Thread Worker Bee
Found the answer...

https://groups.google.com/forum/#!msg/puppet-users/7T26yDW-Xtk/xro1t8Kr10gJ

On Tue, Nov 6, 2012 at 1:50 PM, Worker Bee beeworke...@gmail.com wrote:

 Hi Everyone;

 I am stumped.
 I am simply trying to upgrade from puppet 3.0.0 to puppet 3.0.1 master
 (rhel6)

 I have followed the precise steps I used when I installed 3.0.0 to migrate
 to Passenger, but for some reason, I know cannot get it running.

 There are no useful errors in the logs that I can find either.

 Please Help!

 p.s. I have already made the required changes to the config.ru file


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: PuppetDB Install error: ::postgresql::validate_db_connection at /etc/puppet/modules/puppetdb/manifests/server/validate_db.pp:62

2012-10-31 Thread Worker Bee
thanks, I was just getting ready to reply.
I did actually find this information and get it working!

Thank and feel free to ping me if you have any problems!




On Tue, Oct 30, 2012 at 5:42 PM, Nr18 j...@woodwing.com wrote:

 Found it!!

 You need to include the dependencies of the module in you module path:

 cprice404/inifile - http://forge.puppetlabs.com/cprice404/inifile
 puppetlabs/postgresql - http://forge.puppetlabs.com/puppetlabs/postgresql

 Regards,

 Nr18


 On Tuesday, 30 October 2012 22:18:01 UTC+1, Nr18 wrote:

 I have the same issue did you find a solution or explanation for this
 issue?

 On Friday, 12 October 2012 16:04:01 UTC+2, Worker Bee wrote:

 Hi Everyone;

 I am getting the following error when I try to install PuppetDB.

 Maybe I have stale instructions??

 Thanks!
 Bee

 Error: Could not retrieve catalog from remote server: Error 400 on
 SERVER: Invalid tag ::postgresql::validate_db_**connection at
 /etc/puppet/modules/puppetdb/**manifests/server/validate_db.**pp:62

  --
 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/-/Wf8DXzYUoh8J.

 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] /sbin/runscript

2012-10-31 Thread Worker Bee
Hi Everyone;

I am getting an error that /sbin/runscript is needed when trying to install
puppet-3.1.0 via an rpm'ed gem...  does anyone have any idea why I need
this?

thanks

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] /sbin/runscript

2012-10-31 Thread Worker Bee
Yes, there is.  And, I would be happy to tell you :)

When I attempt to install other things like librarian-puppet, it is choking
because it is looking for the puppet gem...

So, I am trying to figure out what the correct/best approach is.


On Wed, Oct 31, 2012 at 2:34 PM, Jeff McCune j...@puppetlabs.com wrote:

 On Wed, Oct 31, 2012 at 11:30 AM, Worker Bee beeworke...@gmail.comwrote:

 Hi Everyone;

 I am getting an error that /sbin/runscript is needed when trying to
 install puppet-3.1.0 via an rpm'ed gem...  does anyone have any idea why I
 need this?


 Puppet 3.1.0 hasn't been released yet.  It sounds like you may have a bad
 package.  Where did it come from?

 Is there a reason you're not using the RPM's from the official Puppet Labs
 repository [1]?

 [1] http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html

 -Jeff

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] /sbin/runscript

2012-10-31 Thread Worker Bee
Specifically, I get the following error...

/usr/lib/ruby/site_ruby/1.8/rubygems.rb:779:in `report_activate_error':
Could not find RubyGem puppet (= 0) (Gem::LoadError)

In our environment, we will have several discrete puppetmasters.  I need to
determine the proper method for standard installation.  It seems lime the
rpm install method will have issues if users decide to add on additional
gems in the future.

Any advice/insight you have would be greatly appreciated!


On Wed, Oct 31, 2012 at 2:39 PM, Worker Bee beeworke...@gmail.com wrote:

 Yes, there is.  And, I would be happy to tell you :)

 When I attempt to install other things like librarian-puppet, it is
 choking because it is looking for the puppet gem...

 So, I am trying to figure out what the correct/best approach is.



 On Wed, Oct 31, 2012 at 2:34 PM, Jeff McCune j...@puppetlabs.com wrote:

 On Wed, Oct 31, 2012 at 11:30 AM, Worker Bee beeworke...@gmail.comwrote:

 Hi Everyone;

 I am getting an error that /sbin/runscript is needed when trying to
 install puppet-3.1.0 via an rpm'ed gem...  does anyone have any idea why I
 need this?


 Puppet 3.1.0 hasn't been released yet.  It sounds like you may have a bad
 package.  Where did it come from?

 Is there a reason you're not using the RPM's from the official Puppet
 Labs repository [1]?

 [1]
 http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html

 -Jeff

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.




-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: PuppetDB Install error: ::postgresql::validate_db_connection at /etc/puppet/modules/puppetdb/manifests/server/validate_db.pp:62

2012-10-31 Thread Worker Bee
In my case, I need to be able to install as an rpm because we use yum (for
now) to ensure consistent distribution across all of our environments.

Just for testing, I also did an install via 'puppet module' and that worked
pretty well...


On Wed, Oct 31, 2012 at 2:51 PM, Chris Price ch...@puppetlabs.com wrote:

 Great, glad you were able to work it out.  Out of curiosity, how did you
 install the puppetdb module?  I presume you did not use the `puppet module`
 tool, which installs those dependencies for you.  Would it be valuable for
 us to put some more explicit information about the dependencies somewhere
 so that others don't encounter the same issue?  Any suggestions on where we
 should put that info?

 Thanks for the feedback!  Please let us know if you have any additional
 trouble!


 On Wednesday, October 31, 2012 9:44:31 AM UTC-7, Worker Bee wrote:

 thanks, I was just getting ready to reply.
 I did actually find this information and get it working!

 Thank and feel free to ping me if you have any problems!




 On Tue, Oct 30, 2012 at 5:42 PM, Nr18 j...@woodwing.com wrote:

 Found it!!

 You need to include the dependencies of the module in you module path:

 cprice404/inifile - 
 http://forge.puppetlabs.**com/cprice404/inifilehttp://forge.puppetlabs.com/cprice404/inifile
 puppetlabs/postgresql - http://forge.puppetlabs.**
 com/puppetlabs/postgresqlhttp://forge.puppetlabs.com/puppetlabs/postgresql

 Regards,

 Nr18


 On Tuesday, 30 October 2012 22:18:01 UTC+1, Nr18 wrote:

 I have the same issue did you find a solution or explanation for this
 issue?

 On Friday, 12 October 2012 16:04:01 UTC+2, Worker Bee wrote:

 Hi Everyone;

 I am getting the following error when I try to install PuppetDB.

 Maybe I have stale instructions??

 Thanks!
 Bee

 Error: Could not retrieve catalog from remote server: Error 400 on
 SERVER: Invalid tag ::postgresql::validate_db_**con**nection at
 /etc/puppet/modules/puppetdb/**m**anifests/server/validate_db.**pp**:62


  --
 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/-/**Wf8DXzYUoh8Jhttps://groups.google.com/d/msg/puppet-users/-/Wf8DXzYUoh8J
 .

 To post to this group, send email to puppet...@googlegroups.com.
 To unsubscribe from this group, send email to puppet-users...@**
 googlegroups.com.

 For more options, visit this group at http://groups.google.com/**
 group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en
 .


  --
 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/-/vjlJF8Azs-sJ.

 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] librarian-puppet

2012-10-31 Thread Worker Bee
Unless I install puppet vis gems, I get the following error when attempting
to use librarian-puppet.

 librarian-puppet
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:779:in `report_activate_error':
Could not find RubyGem puppet (= 0) (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
from /usr/bin/librarian-puppet:18


Has anyone created a workaround for this?

Thanks!
bee

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] FreeBSD 3.0 Port

2012-10-23 Thread Worker Bee
Hi Everyone;

So, the FreeBSD Port is now available.  However, I am a bit confused about
hiera.  The Makefile does not list rubygem-puppet-hiera as a requirement
for the agent.  This IS required in the redhat spec files for the agent.
So, can someone clear up for me, is this needed on boxes that will have
only the agent installed?

Thanks!
Bee

On Wed, Oct 17, 2012 at 11:54 AM, James Turnbull ja...@puppetlabs.comwrote:

 Worker Bee wrote:
  Hi Everyone;
 
  Has anyone created a puppet agent 3.0 BSD port?
 
  I would be very grateful to get my hands on it!
 

 One of my colleagues informs me the FreeBSD 3.0 port should be ready
 early next week.

 http://www.freebsd.org/cgi/ports.cgi?query=puppetstype=all

 Regards

 James


 --
 James Turnbull
 Puppet Labs
 1-503-734-8571
 To schedule a meeting with me: http://doodle.com/jamtur01

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] FreeBSD 3.0 Port

2012-10-23 Thread Worker Bee
Can you direct me to a VERY beginner's guide for hiera?  I have never used
it and I need to be able to test the functionality before I deploy to my
end users.  Is there any way to quickly verify the functionality?

Thanks a MILLION!
Bee

On Tue, Oct 23, 2012 at 2:58 PM, Michael Stahnke stah...@puppetlabs.comwrote:

 On Tue, Oct 23, 2012 at 11:14 AM, Worker Bee beeworke...@gmail.com
 wrote:
  Hi Everyone;
 
  So, the FreeBSD Port is now available.  However, I am a bit confused
 about
  hiera.  The Makefile does not list rubygem-puppet-hiera as a requirement
 for
  the agent.  This IS required in the redhat spec files for the agent.  So,
  can someone clear up for me, is this needed on boxes that will have only
 the
  agent installed?

 It is needed everywhere. When using Puppet apply puppet attempts a
 lookup via hiera for parameterized classes.
 
  Thanks!
  Bee
 
 
  On Wed, Oct 17, 2012 at 11:54 AM, James Turnbull ja...@puppetlabs.com
  wrote:
 
  Worker Bee wrote:
   Hi Everyone;
  
   Has anyone created a puppet agent 3.0 BSD port?
  
   I would be very grateful to get my hands on it!
  
 
  One of my colleagues informs me the FreeBSD 3.0 port should be ready
  early next week.
 
  http://www.freebsd.org/cgi/ports.cgi?query=puppetstype=all
 
  Regards
 
  James
 
 
  --
  James Turnbull
  Puppet Labs
  1-503-734-8571
  To schedule a meeting with me: http://doodle.com/jamtur01
 
  --
  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...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/puppet-users?hl=en.
 
 
  --
  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...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/puppet-users?hl=en.

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] FreeBSD 3.0 Port

2012-10-17 Thread Worker Bee
Hi Everyone;

Has anyone created a puppet agent 3.0 BSD port?

I would be very grateful to get my hands on it!

thanks!
Bee

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Troubleshooting Module issues

2012-10-17 Thread Worker Bee
Hi Everyone;

I just stood up a new (open source) 3.0 Puppet Master.
For some reason, my modules are not getting applied and I cannot figure out
why.

What logs should I be looking at?  Any troubleshooting suggestions?

Thanks so much!
Bee

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Puppet DB Schema/Tables

2012-10-17 Thread Worker Bee
I am struggling here a bit can someone please clarify?

When installing puppetdb from source, how do I create the tables/schema?  I
have created puppetdb as instructed in the install docs but, how/when does
the schema and tables get created.

Thanks!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Troubleshooting Module issues

2012-10-17 Thread Worker Bee
Thanks for the link!

Bee

On Wed, Oct 17, 2012 at 2:07 PM, Garrett Honeycutt
garr...@puppetlabs.comwrote:

 On 10/17/12 7:26 PM, Worker Bee wrote:
  Hi Everyone;
 
  I just stood up a new (open source) 3.0 Puppet Master.
  For some reason, my modules are not getting applied and I cannot figure
  out why.
 
  What logs should I be looking at?  Any troubleshooting suggestions?
 
  Thanks so much!
  Bee

 Bee,

 Look for the modulepath in your puppet.conf and ensure that your modules
 are in there. Then you should be able to do `puppet apply -v
 /module/path/module/tests/init.pp`. That init.pp is likely a one liner
 that does 'include module'.

 http://docs.puppetlabs.com/puppet/3/reference/modules_fundamentals.html

 Regards,
 -g

 --
 Garrett Honeycutt

 206.414.8658
 http://puppetlabs.com

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] PuppetDB Connection Failures

2012-10-17 Thread Worker Bee
Hi Everyone;

I am now getting a puppetdb connection error when I attempt to run
#puppet agent --test

Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Failed to submit 'replace facts' command for puppetdev to PuppetDB at
puppetdev:8081: Connection refused - connect(2)


puppet.conf
[master]
storeconfigs = true
storeconfigs_backend = puppetdb


puppetdb.conf
[main]
server = puppetdev04
port = 8081
JAVA_ARGS=-Xmx192m

I am running 3.0 open source with passenger
Using postgres

I have the puppetdb daemin running

Any advice, as always, would be greatly appreciated!


Bee

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Is there a way to use an include statement in puppet.conf

2012-10-15 Thread Worker Bee
Hi Everyone;

I was just wondering if it is possible to use 'inlcude' in the puupet.conf
file?

For example, can I have a file that contains the settings for the maters
(ex. master.pp) and then include in the puppet.conf?

ex:
include 'master.pp'

Thanks!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] PuppetDB Install error: ::postgresql::validate_db_connection at /etc/puppet/modules/puppetdb/manifests/server/validate_db.pp:62

2012-10-12 Thread Worker Bee
Hi Everyone;

I am getting the following error when I try to install PuppetDB.

Maybe I have stale instructions??

Thanks!
Bee

Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Invalid tag ::postgresql::validate_db_connection at
/etc/puppet/modules/puppetdb/manifests/server/validate_db.pp:62

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] PuppetDB/Hiera post-install verification??

2012-10-11 Thread Worker Bee
Hi Everyone;

Can anyone suggest any post installationtests to verify the functionality
of both puppetdb (using postgres) and hiera?
I am a somewhat nbew user and I am not really sure what a good, quick
method is to verify the functionality pst install.

If anyone could suggest steps/test cases, that would be greatly
apprecaited!  I also think this would be useful to include as a section in
the installation docs.

Thanks!
Bee

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] PuppetDB Installation Issue

2012-10-11 Thread Worker Bee
I am attempting to install puppetdb using the downloaded module.
I have puppet 3.0 with passenger installed.

I am getting the following error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid
resource type firewall at
/etc/puppet/modules/puppetdb/manifests/server/firewall.pp:23

Would appreciate any feedback anyone might have!

Thanks

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] 3.0 and Passenger

2012-10-09 Thread Worker Bee
Can anyone direct me to documentation for configuring 3.0 to use
apache/passenger?  I cannot seem to fin this for puppet open source.

Thanks!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] 3.0 and Passenger

2012-10-09 Thread Worker Bee
Ok, thanks!

On Tue, Oct 9, 2012 at 2:01 PM, Jeff McCune j...@puppetlabs.com wrote:

 On Tue, Oct 9, 2012 at 9:31 AM, Worker Bee beeworke...@gmail.com wrote:
  Can anyone direct me to documentation for configuring 3.0 to use
  apache/passenger?  I cannot seem to fin this for puppet open source.

 The documentation is largely the same as previous versions [1], the
 difference being a new config.ru [2] file to configure and rack up the
 puppet master.

 Hope this helps,

 [1] http://docs.puppetlabs.com/guides/passenger.html
 [2]
 https://github.com/puppetlabs/puppet/blob/master/ext/rack/files/config.ru

 -Jeff

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Puppet 3.0, Passenger not starting

2012-10-09 Thread Worker Bee
Hello Everyone;

I am somewhat of a newbie to puppet...
I have installed puppet 3.0 and configured according to the insteuctions
for 2.6
I updated the config.ru as instructed for 3.0.

However, when I start httpd manually, passenger starts.  When I start
puppetmaster, it does not start httpd and is still using WebBrick...
I am stumped and not really even sure where to begin troubleshooting.
Any assistance would be greatly appreciated!!

Thanks in advance!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: Puppet 3.0, Passenger not starting

2012-10-09 Thread Worker Bee
Thanks, guys!  Totally forgot about that!  Much appreciated!

Have a great evening!






On Tue, Oct 9, 2012 at 3:14 PM, Ellison Marks gty...@gmail.com wrote:

 Running the puppetmaster from it's init script runs the default server,
 and you don't want it running if you're using passenger. As long as you've
 set up passenger correctly and httpd is running, you have a puppetmaster
 running. Try triggering a client.


 On Tuesday, October 9, 2012 12:04:54 PM UTC-7, Worker Bee wrote:

 Hello Everyone;

 I am somewhat of a newbie to puppet...
 I have installed puppet 3.0 and configured according to the insteuctions
 for 2.6
 I updated the config.ru as instructed for 3.0.

 However, when I start httpd manually, passenger starts.  When I start
 puppetmaster, it does not start httpd and is still using WebBrick...
 I am stumped and not really even sure where to begin troubleshooting.
 Any assistance would be greatly appreciated!!

 Thanks in advance!



  --
 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/-/_PoHqhGKWF8J.

 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] PuppetDB Installation

2012-10-05 Thread Worker Bee
I am attempting to install PuppetDB from source.
I am a bit confused however, is lein required?

thanks!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] PuppetDB Installation

2012-10-05 Thread Worker Bee
Is it possible to get the srpm for puppetdeb-1.0.0 ?

Thanks!

On Fri, Oct 5, 2012 at 3:34 PM, Deepak Giridharagopal dee...@puppetlabs.com
 wrote:

 On Fri, Oct 05, 2012 at 01:21:46PM -0600, Deepak Giridharagopal 
 dee...@puppetlabs.com wrote:

 On Fri, Oct 05, 2012 at 02:14:41PM -0400, Worker Bee 
 beeworke...@gmail.com wrote:

 I am attempting to install PuppetDB from source.
 I am a bit confused however, is lein required?


 Correct, you'll need that to build the actual PuppetDB daemon
 itself. For the 1.0.0 release and earlier, you'll need the stable
 version (1.7.x) of lein, which you can get from the upstream here:

 https://github.com/**technomancy/leiningenhttps://github.com/technomancy/leiningen
 https://raw.github.com/**technomancy/leiningen/stable/**bin/leinhttps://raw.github.com/technomancy/leiningen/stable/bin/lein

 ...assuming it's not available via system package or the like.


 I was just informed that we actually have lein packages in the
 puppetlabs repos, in fact. For example:

 http://yum.puppetlabs.com/el/**5/dependencies/x86_64/**
 leiningen-1.7.1-1.el5.noarch.**rpmhttp://yum.puppetlabs.com/el/5/dependencies/x86_64/leiningen-1.7.1-1.el5.noarch.rpm

 http://apt.puppetlabs.com/**pool/precise/dependencies/l/**
 leiningen/leiningen_1.7.1-**1puppetlabs2_all.debhttp://apt.puppetlabs.com/pool/precise/dependencies/l/leiningen/leiningen_1.7.1-1puppetlabs2_all.deb


 deepak

 --
 Deepak Giridharagopal / Puppet Labs

 --
 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+unsubscribe@**
 googlegroups.com puppet-users%2bunsubscr...@googlegroups.com.
 For more options, visit this group at http://groups.google.com/**
 group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en
 .



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] PuppetDB Installation

2012-10-05 Thread Worker Bee
My bad... just found it!

Please disreagrd

On Fri, Oct 5, 2012 at 5:45 PM, Worker Bee beeworke...@gmail.com wrote:

 Is it possible to get the srpm for puppetdeb-1.0.0 ?

 Thanks!


 On Fri, Oct 5, 2012 at 3:34 PM, Deepak Giridharagopal 
 dee...@puppetlabs.com wrote:

 On Fri, Oct 05, 2012 at 01:21:46PM -0600, Deepak Giridharagopal 
 dee...@puppetlabs.com wrote:

 On Fri, Oct 05, 2012 at 02:14:41PM -0400, Worker Bee 
 beeworke...@gmail.com wrote:

 I am attempting to install PuppetDB from source.
 I am a bit confused however, is lein required?


 Correct, you'll need that to build the actual PuppetDB daemon
 itself. For the 1.0.0 release and earlier, you'll need the stable
 version (1.7.x) of lein, which you can get from the upstream here:

 https://github.com/**technomancy/leiningenhttps://github.com/technomancy/leiningen
 https://raw.github.com/**technomancy/leiningen/stable/**bin/leinhttps://raw.github.com/technomancy/leiningen/stable/bin/lein

 ...assuming it's not available via system package or the like.


 I was just informed that we actually have lein packages in the
 puppetlabs repos, in fact. For example:

 http://yum.puppetlabs.com/el/**5/dependencies/x86_64/**
 leiningen-1.7.1-1.el5.noarch.**rpmhttp://yum.puppetlabs.com/el/5/dependencies/x86_64/leiningen-1.7.1-1.el5.noarch.rpm

 http://apt.puppetlabs.com/**pool/precise/dependencies/l/**
 leiningen/leiningen_1.7.1-**1puppetlabs2_all.debhttp://apt.puppetlabs.com/pool/precise/dependencies/l/leiningen/leiningen_1.7.1-1puppetlabs2_all.deb


 deepak

 --
 Deepak Giridharagopal / Puppet Labs

 --
 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+unsubscribe@**
 googlegroups.com puppet-users%2bunsubscr...@googlegroups.com.
 For more options, visit this group at http://groups.google.com/**
 group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en
 .




-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Puppet and AIX

2012-08-28 Thread Worker Bee
Hi Everyone;

I am working on installing puppet agents on AIX servers.  I downloaded the
rpm's from the puppet site:
http://projects.puppetlabs.com/projects/1/wiki/PuppetAix

However, I am confused about why db-3.1.11 is required.  Isn't this a
database package?  Does anyone know why this is needed?

Thanks a bunch!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Puppet 2.7.18 puppetstoredconfigclean.rb

2012-07-13 Thread Worker Bee
I downloaded the tar.gz for 2.7.18.
I noticed that ext/ puppetstoredconfigclean.rb is missing.

Can anyone tell me where to get this script?  Is it okay to use the script
from 2.7.10?

Thanks!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet 2.7.18 puppetstoredconfigclean.rb

2012-07-13 Thread Worker Bee
Thank you!!


On Fri, Jul 13, 2012 at 1:02 PM, Stefan Schulte 
stefan.schu...@taunusstein.net wrote:

 On Fri, Jul 13, 2012 at 12:41:46PM -0400, Worker Bee wrote:
  I downloaded the tar.gz for 2.7.18.
  I noticed that ext/ puppetstoredconfigclean.rb is missing.
 
  Can anyone tell me where to get this script?  Is it okay to use the
 script
  from 2.7.10?
 
  Thanks!
 

 The script was removed because »puppet node clean« does the same thing,
 see http://projects.puppetlabs.com/issues/12405

 -Stefan

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] is site.pp a must to have‏

2012-07-03 Thread Worker Bee
I ran into this as well.  I found that the puppetmaster will start without
a site.pp but, it does not build the catalog and actually apply anything.
So, I think that a site.pp file IS required.  It can be simple like:

import 'nodes.pp'
$puppetserver = 'somehost'




On Mon, Jul 2, 2012 at 7:00 PM, Hai ehai...@gmail.com wrote:

  Hi,

 is site.pp a file must to have? I have set up a puppet server, but my
 following manifest just cannot apply to my client, the server itself.


 # cat haitest.pp
 file { '/etc/motd' : source = puppet:///files/motd ,}


 Thanks.

 Hai  T.

 --
 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/-/PHMGaA52wR4J.
 To post to this group, send email to puppet-users@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Stored Configs Question

2012-07-03 Thread Worker Bee
Hi Everyone;

I have installed and configured stored configs using mysql. But, I am a bit
confused about how it works.  I was my understanding that only resources
prefaced with @@ would be collected and stored.  However, if is run
'select * from resources;', I get everything included in all modules.

Could someone help clarify this for me?

Thank you

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Modules Question

2012-07-03 Thread Worker Bee
When writing modules, is it required that then entry point be named init.pp?

I have written a module and if I try to call the module via nodes.pp from a
file named other than init.pp, I get an error that the module cannot be
found.  If I rename the file to init.pp, it works fine.

So, can someone clarify, is the naming of the file a requirement?

ssh.pp

class ssh::hostkeys{
@@sshkey { ${fqdn}_dsa:
host_aliases  = [ $fqdn, $hostname, $ipaddress ],
type  = dsa,
key   = $sshdsakey,
}
@@sshkey { ${fqdn}_rsa:
host_aliases  = [ $fqdn, $hostname, $ipaddress ],
type  = rsa,
key   = $sshrsakey,
}
Sshkey | |
}


_

init.pp


class ssh::hostkeys{
@@sshkey { ${fqdn}_dsa:
host_aliases  = [ $fqdn, $hostname, $ipaddress ],
type  = dsa,
key   = $sshdsakey,
}
@@sshkey { ${fqdn}_rsa:
host_aliases  = [ $fqdn, $hostname, $ipaddress ],
type  = rsa,
key   = $sshrsakey,
}
Sshkey | |
}
_

nodes.pp

node 'default' {

  include test
  include motd
  #include sudoers
  include user::virtual
  include user::developers
  include ssh::hostkeys
  include ssh::knownhosts
  }

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Modules Question

2012-07-03 Thread Worker Bee
Craig;
Thank you for your repl(ies)!

However, this leaves me puzzled that I may not fully understand the way
stored configs/modules work.

I have another module that does not have an init.pp and it works??


class user::virtual
{
@user {fabauto:
ensure = present,
comment = FabricAutomation_account}

@user {graham: ensure = present}
@user {steven: ensure = present}
@user {grace: ensure = present}
}

__

node 'default' {
  include test
  include motd
  #include sudoers
  include user::virtual
  include user::developers
  include ssh::hostkeys
  include ssh::knownhosts
  }


Thanks so much for the help!


On Tue, Jul 3, 2012 at 12:34 PM, Craig Dunn cr...@puppetlabs.com wrote:

 On 03/07/2012 17:28, Worker Bee wrote:

 When writing modules, is it required that then entry point be named
 init.pp?

 I have written a module and if I try to call the module via nodes.pp from
 a file named other than init.pp, I get an error that the module cannot be
 found.  If I rename the file to init.pp, it works fine.

 So, can someone clarify, is the naming of the file a requirement?

 ssh.pp

 class ssh::hostkeys{

 Yes, the autoloader will look in init.pp for the class named modulename
 and will look for modulename::subclassname in subclassname.pp... eg:

 # manifests/init.pp
  class ssh {

 # manifests/hostkeys.pp
   class ssh::hostkeys {

 Craig

 --
 Craig Dunn
 Professional Services
 Puppet Labs Inc.
 http://www.puppetlabs.com

 --
 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+unsubscribe@**
 googlegroups.com puppet-users%2bunsubscr...@googlegroups.com.
 For more options, visit this group at http://groups.google.com/**
 group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en
 .



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Modules Question

2012-07-03 Thread Worker Bee
yes! that clarified things!  I get it now and realize it was a silly
question... light bulb is now on!

Thank you and have a great weekend!



On Tue, Jul 3, 2012 at 12:50 PM, Craig Dunn cr...@puppetlabs.com wrote:


  However, this leaves me puzzled that I may not fully understand the way
 stored configs/modules work.

 I have another module that does not have an init.pp and it works??


 class user::virtual
 {


 init.pp is not mandatory for a module per se, but it is the place the
 autoloader will look for a class named user - in this example, you don't
 have a user class, just a user::virtual class, so..

 include user::virtual

 ... will direct the autoloader to look in modulepath/user/manifests/**
 virtual.pp

 If you were to want to add a class named user, you would put this in a
 file called init.pp.

 Does that make more sense?

 Craig

 --
 Craig Dunn
 Professional Services
 Puppet Labs Inc.
 http://www.puppetlabs.com

 --
 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+unsubscribe@**
 googlegroups.com puppet-users%2bunsubscr...@googlegroups.com.
 For more options, visit this group at http://groups.google.com/**
 group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en
 .



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Puppet commands require root access

2012-06-25 Thread Worker Bee
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!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Puppet Subscribe Metaparameter

2012-06-25 Thread Worker Bee
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 was that puppet does not detect
changes to the live file, but, if I stage a new copy of the file (with
modifications), add it as a source to the resource, then subscribe does
restart the service.  I just wanted to make sure that my understanding is
correct...

Also, if my goal is to ensure that the contents of the file are NOT being
changed on the target host, how do you reccommend that I accomplish this?

Thank you!

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Problem with Virtual Resource

2012-06-06 Thread Worker Bee
2.7.9..





On Wed, Jun 6, 2012 at 7:37 PM, Jeff McCune j...@puppetlabs.com wrote:

 On Wed, Jun 6, 2012 at 4:26 PM, Worker Bee beeworke...@gmail.com wrote:
  Hello Everyone;
 
  I am stuck...
 
  I am testing creating virtual resources and having no luck at all.  I am
 not
  getting any errors when I execute puppet agent --test but, the user
 account
  is never getting created.  I would be so grateful if anyone would be kind
  enough to offer some advice.

 What version of Puppet?

 -Jeff

 --
 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...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.



-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.