[Puppet Users] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
Would appreciate any advice, there is not a lot of info on hiera and I'm
currently stuck not able to perform a puppet run on the client.
-- Forwarded message --
From: Gregory Caldwell gregory.caldw...@us.icap.com
Date: Oct 3, 2011 3:56 PM
Subject: FW: Hiera Issue
To: Greg Caldwell greg.caldwe...@gmail.com

 ** **

** **

*From:* Gregory Caldwell
*Sent:* Monday, October 03, 2011 3:55 PM
*To:* puppet-users@googlegroups.com
*Cc:* Gregory Caldwell
*Subject:* Hiera Issue

** **

I keep getting this issue with hiera, and cannot perform a puppet run..

** **

*err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Unknown function hiera_include at /etc/puppet/manifests/site.pp:16 on node
pup*

** **

hiera run seems to return the correct values but will not allow a puppet run


** **

hiera -a global_classes $args --config /etc/puppet/hiera.yaml –debug

DEBUG: Mon Oct 03 15:48:35 -0400 2011: Hiera YAML backend starting

DEBUG: Mon Oct 03 15:48:35 -0400 2011: Looking up global_classes in YAML
backend

[user::accounts::include ]

** **

Has anyone seen this issue on puppet 2.6.9? 

** **

Portion of site.pp file

** **

node default {

   $region= extlookup( value)

   $hostgroup = extlookup( value )

   $site  = extlookup( value  )

   hiera_include( global_classes )

** **

and yaml is:

** **

---

global_classes: - user::accounts::include

**

This communication and all or some of the information contained therein may
be confidential and is subject to our Terms and Conditions. If you have
received this communication in error, please destroy all electronic and
paper copies and notify the sender immediately. Unless specifically
indicated, this communication is not a confirmation, an offer to sell or
solicitation of any offer to buy any financial product, or an official
statement of ICAP or its affiliates. Non-Transactable Pricing Terms and
Conditions apply to any non-transactable pricing provided. All terms and
conditions referenced herein available at www.icapterms.com. Please notify
us by reply message if this link does not work.

**

-- 
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] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
How do I resolve or troubleshoot this issue? I am running puppet 2.6:9 on
red hat 5:6 with the following packages:

rubygem-hiera-0:2:0-1
rubygem-hiera-puppet-0.2.0-1
On Oct 4, 2011 8:36 AM, R.I.Pienaar r...@devco.net wrote:


 - Original Message -


 Would appreciate any advice, there is not a lot of info on hiera and
 I'm currently stuck not able to perform a puppet run on the client.

 That means the puppet parser function isnt installed correctly

 -- Forwarded message --
 From: Gregory Caldwell  gregory.caldw...@us.icap.com 
 Date: Oct 3, 2011 3:56 PM
 Subject: FW: Hiera Issue
 To: Greg Caldwell  greg.caldwe...@gmail.com 











 From: Gregory Caldwell
 Sent: Monday, October 03, 2011 3:55 PM
 To: puppet-users@googlegroups.com
 Cc: Gregory Caldwell
 Subject: Hiera Issue



 I keep getting this issue with hiera, and cannot perform a puppet
 run..



 err: Could not retrieve catalog from remote server: Error 400 on
 SERVER: Unknown function hiera_include at
 /etc/puppet/manifests/site.pp:16 on node pup



 hiera run seems to return the correct values but will not allow a
 puppet run



 hiera -a global_classes $args --config /etc/puppet/hiera.yaml –debug

 DEBUG: Mon Oct 03 15:48:35 -0400 2011: Hiera YAML backend starting

 DEBUG: Mon Oct 03 15:48:35 -0400 2011: Looking up global_classes in
 YAML backend

 [user::accounts::include ]



 Has anyone seen this issue on puppet 2.6.9?



 Portion of site.pp file



 node default {

 $region = extlookup( value )

 $hostgroup = extlookup( value )

 $site = extlookup( value )

 hiera_include( global_classes )



 and yaml is:



 ---

 global_classes: - user::accounts::include

 **

 This communication and all or some of the information contained
 therein may be confidential and is subject to our Terms and
 Conditions. If you have received this communication in error, please
 destroy all electronic and paper copies and notify the sender
 immediately. Unless specifically indicated, this communication is
 not a confirmation, an offer to sell or solicitation of any offer to
 buy any financial product, or an official statement of ICAP or its
 affiliates. Non-Transactable Pricing Terms and Conditions apply to
 any non-transactable pricing provided. All terms and conditions
 referenced herein available at www.icapterms.com . Please notify us
 by reply message if this link does not work.

 **







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


 --
 R.I.Pienaar

 --
 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] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
Ok thanks, ill take a look, much appreciated.
On Oct 4, 2011 9:24 AM, R.I.Pienaar r...@devco.net wrote:


 - Original Message -


 How do I resolve or troubleshoot this issue? I am running puppet
 2.6:9 on red hat 5:6 with the following packages:

 rubygem-hiera-0:2:0-1
 rubygem-hiera-puppet-0.2.0-1

 I dont believe the hiera_include() function has been released as a
 gem yet, you'll need to grab the latest from github.

 Don't really have time atm to do a new release that includes it all

 --
 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] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
We are operational again, thanks.

On Tue, Oct 4, 2011 at 9:24 AM, R.I.Pienaar r...@devco.net wrote:



 - Original Message -
 
 
  How do I resolve or troubleshoot this issue? I am running puppet
  2.6:9 on red hat 5:6 with the following packages:
 
  rubygem-hiera-0:2:0-1
  rubygem-hiera-puppet-0.2.0-1

 I dont believe the hiera_include() function has been released as a
 gem yet, you'll need to grab the latest from github.

 Don't really have time atm to do a new release that includes it all

 --
 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] Fwd: FW: Hiera Issue

2011-10-04 Thread Greg Caldwell
On Tue, Oct 4, 2011 at 9:28 AM, Greg Caldwell greg.caldwe...@gmail.comwrote:

 Ok thanks, ill take a look, much appreciated.
 On Oct 4, 2011 9:24 AM, R.I.Pienaar r...@devco.net wrote:
 
 
  - Original Message -
 
 
  How do I resolve or troubleshoot this issue? I am running puppet
  2.6:9 on red hat 5:6 with the following packages:
 
  rubygem-hiera-0:2:0-1
  rubygem-hiera-puppet-0.2.0-1
 
  I dont believe the hiera_include() function has been released as a
  gem yet, you'll need to grab the latest from github.
 
  Don't really have time atm to do a new release that includes it all
 
  --
  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] Building yaml files

2011-09-30 Thread Greg Caldwell
That's nice and simple, thanks.
On Sep 30, 2011 2:58 PM, Gary Larizza g...@puppetlabs.com wrote:
 `facter --yaml` will build a yaml file for you, if that's what you're
 looking for?


 On Fri, Sep 30, 2011 at 11:49 AM, Greg Caldwell greg.caldwe...@gmail.com
wrote:

 Has anyone used facter to gather and build host specific yaml files
before,
 was wondering how others were gathering and building this info for their
 host. Any suggestions are 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.




 --

 Gary Larizza
 Professional Services Engineer
 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+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.