Re: [Puppet Users] puppet client environment is being ignored from foreman settings

2012-08-16 Thread Yaniv Fine
g by adding functionality to the ENC > script that validates the environment defined in Foreman against the one in > the host's puppet.conf. Someone who has done this might be able to help you > on the foreman-users list. > > -Sam > > On Thu, Aug 16, 2012 at 11:05 AM,

[Puppet Users] puppet client environment is being ignored from foreman settings

2012-08-16 Thread Yaniv Fine
Hi experts . i am runnig foreman 1 puppetmaster 2.7.18 i have setup a test client machine . on foreman i have configured the new client to be part of the development environment . on the client i have setup that it will run the following from site.pp to debug information . notify { "environment"

[Puppet Users] puppet fileserver and $environment in foreman

2012-08-14 Thread Yaniv Fine
Hello puppet experts i have followed the following docoment to setup separate environment for development testing and production http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ can i use environment variable inside a module and thus calling separate modules for separate env

[Puppet Users] puppet fileserver and $environment in foreman

2012-08-14 Thread Yaniv Fine
Hello puppet experts i have followed the following docoment to setup separate environment for development testing and production http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ can i use environment variable inside a module and thus calling separate modules for separate env

Re: [Puppet Users] Custom Facts

2012-08-08 Thread Yaniv Fine
to run the rb file on all of my servers On Aug 9, 2012 12:56 AM, "jcbollinger" wrote: > > > On Wednesday, August 8, 2012 10:06:27 AM UTC-5, Yaniv Fine wrote: >> >> what is i put the rb file in another dir bellow the module dir . >> any way i can control what no

Re: [Puppet Users] Custom Facts

2012-08-08 Thread Yaniv Fine
what is i put the rb file in another dir bellow the module dir . any way i can control what node will load it ? On Wed, Aug 8, 2012 at 5:16 PM, jcbollinger wrote: > > > On Tuesday, August 7, 2012 8:45:45 AM UTC-5, Yaniv Fine wrote: >> >> well its wroking for me now . >>

Re: [Puppet Users] Custom Facts

2012-08-07 Thread Yaniv Fine
Tue, Aug 7, 2012 at 4:27 PM, llowder wrote: > On Tuesday, August 7, 2012 4:59:01 AM UTC-5, Yaniv Fine wrote: >> >> Thank you for your answer . >> any reson why Facter::Util::Resolution. >> exec not working . >> i don't see either when running factor on the

Re: [Puppet Users] Custom Facts

2012-08-07 Thread Yaniv Fine
bably some newlines that file that may not be immediately > apparent. The above function takes care of that, plus path searching as > well. > > On Aug 7, 2012, at 3:19 AM, Yaniv Fine wrote: > > Hi Dan . > thank you for your help and pointers . > > > i need your advi

Re: [Puppet Users] Custom Facts

2012-08-07 Thread Yaniv Fine
universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > - Yaniv Fine wrote: > > Can this be file in other path ? > > On Aug 6, 2012 4:20 PM, "Dan White" wrote: > > > > > I think you are trying to re-invent a whe

Re: [Puppet Users] Custom Facts

2012-08-06 Thread Yaniv Fine
t supports caching so you only > need to run your expensive scripts every now and then. > > “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) > > - Yaniv

[Puppet Users] Custom Facts

2012-08-06 Thread Yaniv Fine
Hi experts . i would like to write a custom fact the will add a fact to a machine yaml file i am a file /etc/file.conf inside this file a have many lines like value1 = test1 value2 = test2 i want to create a custom rb file that will grep test2 from value2 value from /etc/file.conf , tak

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
012 12:22 PM, Yaniv Fine wrote: > > ... > > still getting it even after fixing . > > > > Could not find class sharedvar::generic in namespaces newmodule::men > > > > i am doing copy paste . > > damm > > Is the module name "sharevar" or "s

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
... still getting it even after fixing . Could not find class sharedvar::generic in namespaces newmodule::men i am doing copy paste . damm On Wed, Jul 18, 2012 at 12:52 PM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 07/18/2012 11:26 AM, Yaniv Fine wrote: > &g

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
i am getting Error 400 on SERVER: Could not find class sharevar::generic in namespaces newmodule::men On Wed, Jul 18, 2012 at 12:16 PM, Yaniv Fine wrote: > i'll try that . > > > On Wed, Jul 18, 2012 at 12:12 PM, R.I.Pienaar wrote: > >> >> >> ----- Origina

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
i'll try that . On Wed, Jul 18, 2012 at 12:12 PM, R.I.Pienaar wrote: > > > - Original Message ----- > > From: "Yaniv Fine" > > To: puppet-users@googlegroups.com > > Sent: Wednesday, July 18, 2012 10:03:01 AM > > Subject: Re: [Puppet Use

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
rank < felix.fr...@alumni.tu-berlin.de> wrote: > > > On 07/18/2012 11:03 AM, Yaniv Fine wrote: > > Frank . > > let me put it all together :) > > > > i have a module name "sharevar" > > i have another module "newmodule" > > insi

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
=> template path erb file and i have the newmodule/templates/new.erb file that i want to use value from ("sharevar"/manifest/genreic.pp) the $vartest value hope this helps thank you for your effort . On Wed, Jul 18, 2012 at 11:46 AM, Felix Frank < felix.fr...@alumni.tu-berli

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
in "newmodule" pp file On Wed, Jul 18, 2012 at 11:39 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 07/18/2012 10:31 AM, Yaniv Fine wrote: > > i am missing something here . > > those classes are from the same module . > > i am calling s

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
u :) On Wed, Jul 18, 2012 at 10:47 AM, Erik Dalén wrote: > Make sure you include sharedvar class in your sharedvar::generic class > before the template is called. > > On 18 July 2012 09:10, Yaniv Fine wrote: > > i have tested this again today when i arrived to the office , wit

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-18 Thread Yaniv Fine
e, Jul 17, 2012 at 7:09 PM, Yaniv Fine wrote: > Sorry . > My mistake . I have used the share_module:varname > On Jul 17, 2012 7:06 PM, "Felix Frank" > wrote: > >> Hi, >> >> On 07/17/2012 05:16 PM, Yaniv Fine wrote: >> > thank you for the answe

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-17 Thread Yaniv Fine
Sorry . My mistake . I have used the share_module:varname On Jul 17, 2012 7:06 PM, "Felix Frank" wrote: > Hi, > > On 07/17/2012 05:16 PM, Yaniv Fine wrote: > > thank you for the answer . > > i tried to use the " > > > > |scope.lookupvar(share

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-17 Thread Yaniv Fine
I have used the <% and <%= but didn't use the share_module On Jul 17, 2012 6:34 PM, "llow...@oreillyauto.com" wrote: > > > On Tuesday, July 17, 2012 10:16:56 AM UTC-5, Yaniv Fine wrote: >> >> thank you for the answer . >> i tried to use the &quo

Re: [Puppet Users] Re: Out-of-Scope Variables

2012-07-17 Thread Yaniv Fine
> > Comments in line. > > On Tuesday, July 17, 2012 8:24:46 AM UTC-5, Yaniv Fine wrote: >> >> >> Hi Team . >> >> i am trying to use "Out-of-Scope Variables" >> trying to setup kind of like an "answer" file that would be global f

[Puppet Users] Out-of-Scope Variables

2012-07-17 Thread Yaniv Fine
ould the answer file to be centralized place i can manage the vars . any pointers is much appreciated . Thank You Yaniv Fine -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://gro

[Puppet Users] puppet host tagging

2012-07-17 Thread Yaniv Fine
Hi all . i am running puppet version 2.6.16 and foreman Version 0.4.2 . my question is as follows . i would like to know if there is a way to tag server with a group tagging . for example . let say i am running apache with a unique configuration and network architecture and want to tag in with "t